From: Trygve <tr...@us...> - 2004-01-14 00:32:51
|
trygvis 04/01/13 16:32:50 Modified: . maven.xml kodo project.xml jpox project.xml jaxb project.xml sdocbook project.xml Log: * Added a goal for faking any non-free runtime dependencies and created a preGoal that attains the new goal. * Added a note in every project that uses non-free artifacts to update the parent maven.xml faking goal. Revision Changes Path 1.13 +33 -0 maven-plugins/maven.xml Index: maven.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/maven.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- maven.xml 11 Nov 2003 08:16:03 -0000 1.12 +++ maven.xml 14 Jan 2004 00:32:49 -0000 1.13 @@ -3,6 +3,39 @@ xmlns:ant="jelly:ant" xmlns:maven="jelly:maven"> + <preGoal name="multiproject:site"> + <attainGoal name="create-fake-artifacts"/> + </preGoal> + + <goal name="create-fake-artifacts"> + <!-- Faking any non-free runtime dependencies --> + <ant:echo>Creating empty files for non-free runtime dependencies</ant:echo> + + <!-- for the kodo plugin --> + <ant:mkdir dir="${maven.repo.local}/kodo/jars/"/> + <ant:touch file="${maven.repo.local}/kodo/jars/kodo-jdo-2.5.2.jar"/> + <ant:touch file="${maven.repo.local}/kodo/jars/kodo-jdo-runtime-2.5.2.jar"/> + + <!-- for the sdocbook plugin --> + <ant:mkdir dir="${maven.repo.local}/jimi/jars/"/> + <ant:touch file="${maven.repo.local}/jimi/jars/jimi-1.0.jar"/> + + <!-- for the jpox plugin --> + <ant:mkdir dir="${maven.repo.local}/jpox/jars/"/> + <ant:touch file="${maven.repo.local}/jpox/jars/jpox-1.0.0-beta-2.jar"/> + + <!-- for the jaxb plugin --> + <ant:mkdir dir="${maven.repo.local}/jaxb/jars/"/> + <ant:touch file="${maven.repo.local}/jaxb/jars/jaxb-api-1.0.jar"/> + <ant:touch file="${maven.repo.local}/jaxb/jars/jaxb-xjc-1.0.jar"/> + <ant:touch file="${maven.repo.local}/jaxb/jars/jaxb-libs-1.0.jar"/> + <ant:touch file="${maven.repo.local}/jaxb/jars/jaxb-ri-1.0.jar"/> + + <!-- for the jaxb plugin --> + <ant:mkdir dir="${maven.repo.local}/jaxrpc/jars/"/> + <ant:touch file="${maven.repo.local}/jaxrpc/jars/jaxrpc-1.0.jar"/> + </goal> + <goal name="plugins:clean"> <maven:reactor 1.7 +1 -0 maven-plugins/kodo/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/kodo/project.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- project.xml 11 Nov 2003 22:06:20 -0000 1.6 +++ project.xml 14 Jan 2004 00:32:50 -0000 1.7 @@ -33,6 +33,7 @@ </developers> <dependencies> + <!-- if any of the kodo dependencies are updated remember to update ../maven-xml --> <dependency> <groupId>kodo</groupId> <artifactId>kodo-jdo</artifactId> 1.5 +1 -0 maven-plugins/jpox/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/jpox/project.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- project.xml 30 Nov 2003 14:45:22 -0000 1.4 +++ project.xml 14 Jan 2004 00:32:50 -0000 1.5 @@ -28,6 +28,7 @@ </developers> <dependencies> + <!-- if any of the jpox dependencies are updated remember to update ../maven-xml --> <dependency> <groupId>jpox</groupId> <artifactId>jpox</artifactId> 1.2 +1 -0 maven-plugins/jaxb/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/jaxb/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.xml 11 Nov 2003 23:27:51 -0000 1.1 +++ project.xml 14 Jan 2004 00:32:50 -0000 1.2 @@ -34,6 +34,7 @@ </developers> <dependencies> + <!-- if any of the jaxb/jaxrpc dependencies are updated remember to update ../maven-xml --> <dependency> <groupId>jaxb</groupId> <artifactId>jaxb-api</artifactId> 1.8 +1 -0 maven-plugins/sdocbook/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/sdocbook/project.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- project.xml 17 Oct 2003 18:27:19 -0000 1.7 +++ project.xml 14 Jan 2004 00:32:50 -0000 1.8 @@ -57,6 +57,7 @@ <version>0.20.5</version> <url>http://xml.apache.org/fop/index.html</url> </dependency> + <!-- if any of the jimi dependencies are updated remember to update ../maven-xml --> <dependency> <id>jimi</id> <version>1.0</version> |