2007-09-16 02:39:24 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2007-03-22 17:10:28 -04:00
|
|
|
<parent>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-03-22 18:03:11 -04:00
|
|
|
<artifactId>archiva-base</artifactId>
|
2009-08-27 05:30:51 -04:00
|
|
|
<version>1.2.2</version>
|
2007-03-22 17:10:28 -04:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>archiva-model</artifactId>
|
2007-03-22 18:03:11 -04:00
|
|
|
<name>Archiva Base :: Model</name>
|
2007-03-22 17:10:28 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
</dependency>
|
2007-05-17 18:16:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
</dependency>
|
2007-03-22 17:10:28 -04:00
|
|
|
<dependency>
|
2008-04-07 09:04:30 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-common</artifactId>
|
|
|
|
</dependency>
|
2008-04-09 13:19:31 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-spring</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-04-07 09:04:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.jdo</groupId>
|
|
|
|
<artifactId>jdo2-api</artifactId>
|
2007-03-22 17:10:28 -04:00
|
|
|
</dependency>
|
2009-03-13 22:33:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
2009-07-16 03:45:17 -04:00
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
2009-03-13 22:33:57 -04:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2007-03-22 17:10:28 -04:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2009-02-11 00:45:52 -05:00
|
|
|
<artifactId>plexus-component-metadata</artifactId>
|
2007-03-22 17:10:28 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.modello</groupId>
|
|
|
|
<artifactId>modello-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2009-05-24 06:58:49 -04:00
|
|
|
<version>1.2.1</version>
|
2007-03-22 17:10:28 -04:00
|
|
|
<packageWithVersion>false</packageWithVersion>
|
2009-03-06 01:48:58 -05:00
|
|
|
<models>
|
2009-02-12 01:47:36 -05:00
|
|
|
<model>src/main/mdo/archiva-base.xml</model>
|
2009-03-06 01:48:58 -05:00
|
|
|
</models>
|
2007-03-22 17:10:28 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>archiva-base</id>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
<goal>xsd</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2009-03-06 01:48:58 -05:00
|
|
|
<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>
|
2007-03-22 17:10:28 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2007-09-12 05:33:41 -04:00
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
2007-03-22 17:10:28 -04:00
|
|
|
<artifactId>jpox-maven-plugin</artifactId>
|
2008-02-25 03:37:28 -05:00
|
|
|
<version>1.1.7</version>
|
2007-03-22 17:10:28 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<version>10.2.1.6</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
2007-09-12 05:33:41 -04:00
|
|
|
<!-- TODO: put this into a profile
|
|
|
|
<execution>
|
|
|
|
<id>create-ddl</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>schema-create</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputFile>${basedir}/target/classes/org/apache/maven/archiva/model/schema.ddl</outputFile>
|
|
|
|
<toolProperties>
|
|
|
|
<property>
|
|
|
|
<name>javax.jdo.option.ConnectionDriverName</name>
|
|
|
|
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>javax.jdo.option.ConnectionURL</name>
|
|
|
|
<value>jdbc:derby:target/jdo-schema-create;create=true</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>javax.jdo.option.ConnectionUserName</name>
|
|
|
|
<value>sa</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>javax.jdo.option.ConnectionPassword</name>
|
|
|
|
<value></value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>log4j.configuration</name>
|
|
|
|
<value>${basedir}/src/test/resources/log4j.xml</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>org.jpox.autoCreateTables</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</toolProperties>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
-->
|
2007-03-22 17:10:28 -04:00
|
|
|
<execution>
|
|
|
|
<id>enhance</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enhance</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2009-02-12 01:47:36 -05:00
|
|
|
</plugin>
|
2009-03-06 01:48:58 -05:00
|
|
|
<!-- 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>
|
2009-03-21 23:15:29 -04:00
|
|
|
<copy file="${project.build.directory}/generated-sources/modello/org/apache/maven/archiva/model/package.jdo" todir="${project.build.outputDirectory}/org/apache/maven/archiva/model/" />
|
2009-03-06 01:48:58 -05:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2007-03-22 17:10:28 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<instrumentation>
|
|
|
|
<!-- exclude generated -->
|
|
|
|
<excludes>
|
|
|
|
<exclude>org/apache/maven/archiva/reporting/model/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</instrumentation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2009-07-16 03:45:17 -04:00
|
|
|
</project>
|