<configuration>
<version>1.0.0</version>
<packageWithVersion>false</packageWithVersion>
- <models>
+ <models>
<model>src/main/mdo/archiva-base.xml</model>
- </models>
+ </models>
</configuration>
<executions>
<execution>
<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>
</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>