diff --git a/src/java/fr/paris/lutece/plugins/releaser/util/pom/PomUpdater.java b/src/java/fr/paris/lutece/plugins/releaser/util/pom/PomUpdater.java index eaab6d5..f65d653 100644 --- a/src/java/fr/paris/lutece/plugins/releaser/util/pom/PomUpdater.java +++ b/src/java/fr/paris/lutece/plugins/releaser/util/pom/PomUpdater.java @@ -245,7 +245,7 @@ public static void save( Model model, OutputStream outputStream ) throws JAXBExc JAXBContext jc = JAXBContext.newInstance( packageName ); Marshaller m = jc.createMarshaller( ); m.setProperty( Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE ); - m.setProperty( Marshaller.JAXB_SCHEMA_LOCATION, "http://maven.apache.org/maven-v4_0_0.xsd" ); + m.setProperty( Marshaller.JAXB_SCHEMA_LOCATION, "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" ); m.marshal( element, outputStream ); }