Author: tchemit Date: 2008-01-13 18:15:57 +0000 (Sun, 13 Jan 2008) New Revision: 166 Modified: trunk/maven-jaxx-plugin/pom.xml trunk/maven-jaxx-plugin/profiles.xml Log: d?\195?\169finition d'un pom parent pour tous nos plugins : (qui respecte les conventions de nommage des r?\195?\169pertoires de Maven 2) voir le pom lutinpom:lutinpluginproject:2.3 utilisation de ce pom, dans la d?\195?\169finition du pom enfant, on ne doit plus voir appara?\195?\174tre de propri?\195?\169t?\195?\169s en dure!!!! les propri?\195?\169t?\195?\169s requises sont dans profiles.xml Modified: trunk/maven-jaxx-plugin/pom.xml =================================================================== --- trunk/maven-jaxx-plugin/pom.xml 2008-01-12 22:25:58 UTC (rev 165) +++ trunk/maven-jaxx-plugin/pom.xml 2008-01-13 18:15:57 UTC (rev 166) @@ -5,156 +5,74 @@ <modelVersion>4.0.0</modelVersion> - <groupId>lutinplugin</groupId> + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + <parent> + <groupId>lutinpom</groupId> + <artifactId>lutinpluginproject</artifactId> + <version>2.3</version> + </parent> + + <groupId>lutinplugin</groupId> <artifactId>maven-jaxx-plugin</artifactId> - <name>Plugin maven pour compiler du code jaxx</name> + <dependencies> + <dependency> + <groupId>lutinlib</groupId> + <artifactId>jaxx</artifactId> + <version>1.0.4-SNAPSHOT</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>ant</groupId> + <artifactId>ant</artifactId> + <version>1.6.5</version> + <scope>compile</scope> + </dependency> + </dependencies> - <packaging>maven-plugin</packaging> + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> - <version>0.1-SNAPSHOT</version> + <name>Maven 2 jaxx compilator plugin</name> + <version>0.2-SNAPSHOT</version> <description> - Plugin maven 2 pour la g�n�ration de code source java � partir de - d�finition d'interface graphiques au format jaxx + Maven 2 plugin to generate java source from ui interface definitions + in jaxx format. </description> <inceptionYear>2008</inceptionYear> - <contributors> - <contributor> + <developers> + <developer> <name>Tony Chemit</name> <email>chemit@codelutin.com</email> <organization>Code Lutin</organization> <timezone>+2</timezone> <roles> - <role>D�veloppeur</role> + <role>Developer</role> </roles> - </contributor> - </contributors> + </developer> + </developers> - <!-- debut de ce qui devrait etre dans le pere --> - <build> - <plugins> - <plugin> - <!--Compile with ?--> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${maven.compile.source}</source> - <target>${maven.compile.target}</target> - <encoding>ISO-8859-1</encoding> - </configuration> - </plugin> - </plugins> + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> - </build> + <packaging>maven-plugin</packaging> - <distributionManagement> - <repository> - <id>labs</id> - <url> - scp://labs.libre-entreprise.org/home/groups/lutinbuilder/htdocs/maven2 - </url> - </repository> - <site> - <id>labs</id> - <url> - scp://labs.libre-entreprise.org/home/groups/buix/htdocs/${pom.artifactId} - </url> - </site> - </distributionManagement> - <!-- fin de ce qui devrait etre dans le pere --> - - <issueManagement> - <url>http://labs.libre-entreprise.org/tracker/?group_id=${labs.id}</url> - </issueManagement> - + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> + + <!-- the plugin is a module in a labs project (buix), so we have to override + this property (see in the parent pom for more explanation) + --> <scm> - <connection>scm:svn:svn:anonymous@labs.libre-entreprise.org/svnroot/buix/trunk/${pom.artifactId}</connection> - <developerConnection>scm:svn:svn+ssh:${username}@labs.libre-entreprise.org/svnroot/buix/trunk/${pom.artifactId}</developerConnection> - <url>https://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/?root=buix</url> + <url>${maven.scm.url}</url> </scm> - - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>2.0.4</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-model</artifactId> - <version>2.0.4</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-project</artifactId> - <version>2.0.4</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>1.0.5</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>lutinlib</groupId> - <artifactId>jaxx</artifactId> - <version>1.0.4-SNAPSHOT</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>ant</groupId> - <artifactId>ant</artifactId> - <version>1.6.5</version> - <scope>compile</scope> - </dependency> - </dependencies> - - <mailingLists> - <mailingList> - <name>buix-cvscomit</name> - <subscribe> - http://lists.labs.libre-entreprise.org/mailman/listinfo/buix-cvscommit - </subscribe> - <unsubscribe> - http://lists.labs.libre-entreprise.org/mailman/listinfo/buix-cvscommit - </unsubscribe> - <archive> - http://lists.labs.libre-entreprise.org/pipermail/buix-cvscommit/ - </archive> - </mailingList> - - <mailingList> - <name>buix-devel</name> - <subscribe> - http://lists.labs.libre-entreprise.org/mailman/listinfo/buix-devel - </subscribe> - <unsubscribe> - http://lists.labs.libre-entreprise.org/mailman/listinfo/buix-devel - </unsubscribe> - <archive> - http://lists.labs.libre-entreprise.org/pipermail/buix-devel/ - </archive> - </mailingList> - - <mailingList> - <name>buix-user</name> - <subscribe> - http://lists.labs.libre-entreprise.org/mailman/listinfo/buix-user - </subscribe> - <unsubscribe> - http://lists.labs.libre-entreprise.org/mailman/listinfo/buix-user - </unsubscribe> - <archive> - http://lists.labs.libre-entreprise.org/pipermail/buix-user/ - </archive> - </mailingList> - </mailingLists> - </project> Modified: trunk/maven-jaxx-plugin/profiles.xml =================================================================== --- trunk/maven-jaxx-plugin/profiles.xml 2008-01-12 22:25:58 UTC (rev 165) +++ trunk/maven-jaxx-plugin/profiles.xml 2008-01-13 18:15:57 UTC (rev 166) @@ -1,31 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <settings> - <profiles> - <profile> - <id>project</id> + <profiles> + <profile> + <id>project</id> + <properties> + <!-- buix projects labs' id --> + <labs.id>38</labs.id> + <!-- the plugin is inside the buix labs project --> + <labs.project>buix</labs.project> - <activation> - <activeByDefault>true</activeByDefault> - <property> - <name>user.locale</name> - <value>ISO-8859-1</value> - </property> - </activation> + <!-- maven will suffix with /${pom.artifactId} AND This is not good at all --> + <maven.scm.url>https://${labs.host}/plugins/scmsvn/viewcvs.php/?root=buix</maven.scm.url> - <properties> - <labs.id>38</labs.id> - <maven.verbose>false</maven.verbose> - - <!--Test--> - <maven.test.skip>false</maven.test.skip> + <!-- maven will suffix with /${pom.artifactId} --> + <maven.scm.developerConnection>scm:svn:svn+ssh:${username}@${labs.host}/svnroot/buix/trunk</maven.scm.developerConnection> - <!--Source base dir--> - <maven.src.dir>${basedir}/src</maven.src.dir> + <!-- maven will suffix with /${pom.artifactId} --> + <maven.scm.connection>scm:svn:svn:anonymous@${labs.host}/svnroot/buix/trunk</maven.scm.connection> - <!--Compile with ?--> - <maven.compile.source>1.5</maven.compile.source> - <maven.compile.target>1.5</maven.compile.target> </properties> - </profile> - </profiles> + </profile> + </profiles> </settings>