Author: tchemit Date: 2008-10-20 22:43:09 +0000 (Mon, 20 Oct 2008) New Revision: 1162 Modified: topia-test/trunk/pom.xml Log: mise ?\195?\160 jour du pom, reformatage ?\195?\160 MA sauce, mise a jour des dependances et des plugins. Modified: topia-test/trunk/pom.xml =================================================================== --- topia-test/trunk/pom.xml 2008-10-20 22:40:26 UTC (rev 1161) +++ topia-test/trunk/pom.xml 2008-10-20 22:43:09 UTC (rev 1162) @@ -2,109 +2,103 @@ <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"> - <!--The version of maven's project object model--> <modelVersion>4.0.0</modelVersion> - <!--lutinproject.xml--> + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + <parent> - <groupId>lutinlib</groupId> + <groupId>org.codelutin</groupId> <artifactId>lutinproject</artifactId> - <version>2.2</version> + <version>3.0</version> </parent> - <distributionManagement> - <site> - <id>labs</id> - <url>scp://labs.libre-entreprise.org/home/groups/topia/htdocs/topia-service</url> - </site> - </distributionManagement> - - <!--A unique name for this project--> <artifactId>topiatest</artifactId> - <name>ToPIA Testing</name> - <!--ejb, jar, war...--> - <packaging>jar</packaging> + <dependencies> - <!--Version--> - <version>2.0.25-SNAPSHOT</version> + <!--Compile--> + <dependency> + <groupId>org.codelutin</groupId> + <artifactId>topia</artifactId> + <version>${topia.version}</version> + <scope>compile</scope> + </dependency> - <!--Description--> - <description> - Test de ToPIA - </description> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.14</version> + <scope>compile</scope> + </dependency> + + <!-- Test --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.4</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + <version>1.0.61</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + + <name>ToPIA Testing</name> + <version>2.0.27-SNAPSHOT</version> + <description>Test de ToPIA</description> <inceptionYear>2007</inceptionYear> - <!--Tracking--> - <issueManagement> - <url>http://labs.libre-entreprise.org/tracker/?group_id=41</url> - </issueManagement> + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <packaging>jar</packaging> + <properties> - <!--Source base dir--> - <maven.src.dir>${basedir}/target/src-build</maven.src.dir> - <!--Test--> - <maven.test.skip>false</maven.test.skip> + <!-- id du projet du labs --> + <labs.id>21</labs.id> - <!--Compile with ?--> - <maven.compile.source>1.5</maven.compile.source> - <maven.compile.target>1.5</maven.compile.target> + <!-- nom du projet sur le labs --> + <labs.project>topia</labs.project> - <!--Main class in JAR --> - <!--maven.jar.main.class>org.codelutin.</maven.jar.main.class--> + <!-- topia version --> + <topia.version>2.0.27-SNAPSHOT</topia.version> - <!--Verbose--> - <maven.verbose>false</maven.verbose> </properties> <build> <plugins> - <!--Attaching processor plugin to the Build Lifecycle--> - <plugin> - <groupId>lutinplugin</groupId> - <artifactId>maven-processor-plugin</artifactId> - <version>0.12</version> - <executions> - <execution> - <id>Processor</id> - <phase>generate-sources</phase> - <goals> - <goal>process</goal> - </goals> - </execution> - </executions> - <configuration> - <srcDir>${basedir}/src</srcDir> - <destDir>${maven.src.dir}</destDir> - <includes> - <include>**/*.java</include> - </includes> - <filters> - org.codelutin.processor.filters.GeneratorTemplatesFilter, - org.codelutin.processor.filters.ActiveLogsCodeFilter - </filters> - <verbose>${maven.verbose}</verbose> - </configuration> - </plugin> <plugin> - <groupId>lutinplugin</groupId> + <groupId>org.codelutin</groupId> <artifactId>maven-generator-plugin</artifactId> - <version>0.51-SNAPSHOT</version> + <version>0.60</version> <executions> <execution> <id>Generator</id> <phase>generate-sources</phase> <configuration> - <srcDirZuml>src/xmi</srcDirZuml> - <srcXmiDest>target/gen/xmi/</srcXmiDest> + <srcDirZuml>src/test/xmi</srcDirZuml> + <srcXmiDest>target/generated-sources/xmi/</srcXmiDest> <fullPackagePath>org.codelutin.topia</fullPackagePath> <extractedPackages>org.codelutin.topia</extractedPackages> <!--Config generator--> - <srcGenDest>target/gen/objectmodel/</srcGenDest> + <srcGenDest>target/generated-sources/objectmodel/</srcGenDest> <includes>**/*.objectmodel</includes> <templates>org.codelutin.topia.generator.TopiaMetaGenerator</templates> - <destDirGen>target/gen/java</destDirGen> + <destDirGen>target/generated-sources/java</destDirGen> <defaultPackage>org.codelutin.topia</defaultPackage> </configuration> <goals> @@ -116,78 +110,28 @@ </executions> <dependencies> <dependency> - <groupId>lutinlib</groupId> + <groupId>org.codelutin</groupId> <artifactId>topia</artifactId> - <version>2.0.25-SNAPSHOT</version> + <version>${topia.version}</version> <scope>compile</scope> </dependency> </dependencies> </plugin> <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>CopyGenJavaVersSrcBuild</id> - <phase>process-sources</phase> - <configuration> - <tasks> - <copy todir="${basedir}/target/src-build/java" verbose="${maven.verbose}" - overwrite="false"> - <fileset dir="${basedir}/target/gen/java"/> - </copy> - </tasks> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> + <artifactId>maven-javadoc-plugin</artifactId> </plugin> </plugins> </build> - <!--Librairies--> - <dependencies> + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + <scm> + <connection>${maven.scm.connection}</connection> + <developerConnection>${maven.scm.developerConnection}</developerConnection> + <url>${maven.scm.url}</url> + </scm> - <!--Compile--> - <dependency> - <groupId>lutinlib</groupId> - <artifactId>topia</artifactId> - <version>2.0.25-SNAPSHOT</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>1.1</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <version>1.2.14</version> - <scope>compile</scope> - </dependency> - - <!-- Test --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.4</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>com.h2database</groupId> - <artifactId>h2</artifactId> - <version>1.0.61</version> - <scope>test</scope> - </dependency> - - </dependencies> - </project>