diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-model/pom.xml')
-rwxr-xr-x | archiva-modules/archiva-base/archiva-model/pom.xml | 77 |
1 files changed, 40 insertions, 37 deletions
diff --git a/archiva-modules/archiva-base/archiva-model/pom.xml b/archiva-modules/archiva-base/archiva-model/pom.xml index e6f34f00f..08d05a6ca 100755 --- a/archiva-modules/archiva-base/archiva-model/pom.xml +++ b/archiva-modules/archiva-base/archiva-model/pom.xml @@ -62,9 +62,9 @@ <configuration> <version>1.0.0</version> <packageWithVersion>false</packageWithVersion> - <models> + <models> <model>src/main/mdo/archiva-base.xml</model> - </models> + </models> </configuration> <executions> <execution> @@ -74,24 +74,24 @@ <goal>xsd</goal> </goals> </execution> - <execution> - <id>archiva-jpox-jdo-mapping</id> - <goals> - <goal>generate</goal> - </goals> - <configuration> - <generatorId>jpox-jdo-mapping</generatorId> - </configuration> - </execution> - <execution> - <id>archiva-jpox-metadata-class</id> - <goals> - <goal>generate</goal> - </goals> - <configuration> - <generatorId>jpox-metadata-class</generatorId> - </configuration> - </execution> + <execution> + <id>archiva-jpox-jdo-mapping</id> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <generatorId>jpox-jdo-mapping</generatorId> + </configuration> + </execution> + <execution> + <id>archiva-jpox-metadata-class</id> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <generatorId>jpox-metadata-class</generatorId> + </configuration> + </execution> </executions> </plugin> <plugin> @@ -152,23 +152,26 @@ </execution> </executions> </plugin> - <!-- stupid hack because jpox/modello is not supported anymore and it has bugs --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <phase>process-sources</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <copy file="${project.build.directory}/generated-sources/modello/org/apache/maven/archiva/model/package.jdo" todir="${project.build.outputDirectory}/org/apache/maven/archiva/model/" /> - </tasks> - </configuration> - </execution> - </executions> + <!-- stupid hack because jpox/modello is not supported anymore and it has bugs + --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>process-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <copy + file="${project.build.directory}/generated-sources/modello/org/apache/maven/archiva/model/package.jdo" + todir="${project.build.outputDirectory}/org/apache/maven/archiva/model/" /> + </tasks> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> |