Author: lfryc(a)redhat.com
Date: 2009-11-16 02:47:06 -0500 (Mon, 16 Nov 2009)
New Revision: 15885
Modified:
branches/community/3.3.X/test-applications/selenium-testing-lib/pom.xml
Log:
- moved generating and installing javadoc and sources to separated profile
'generate-all-jars'
Modified: branches/community/3.3.X/test-applications/selenium-testing-lib/pom.xml
===================================================================
--- branches/community/3.3.X/test-applications/selenium-testing-lib/pom.xml 2009-11-16
05:49:10 UTC (rev 15884)
+++ branches/community/3.3.X/test-applications/selenium-testing-lib/pom.xml 2009-11-16
07:47:06 UTC (rev 15885)
@@ -49,69 +49,78 @@
<target>1.5</target>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>source-jar</id>
- <phase>install</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>javadoc-jar</id>
- <phase>install</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <executions>
- <execution>
- <id>install-sources</id>
- <phase>install</phase>
- <goals>
- <goal>install-file</goal>
- </goals>
- <configuration>
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <version>${version}</version>
- <packaging>jar</packaging>
- <file>${project.build.directory}/${artifactId}-${version}-sources.jar</file>
- <classifier>sources</classifier>
- </configuration>
- </execution>
- <execution>
- <id>install-javadoc</id>
- <phase>install</phase>
- <goals>
- <goal>install-file</goal>
- </goals>
- <configuration>
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <version>${version}</version>
- <packaging>jar</packaging>
- <file>${project.build.directory}/${artifactId}-${version}-javadoc.jar</file>
- <classifier>javadoc</classifier>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>generate-all-jars</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>source-jar</id>
+ <phase>install</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javadoc-jar</id>
+ <phase>install</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-sources</id>
+ <phase>install</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <version>${version}</version>
+ <packaging>jar</packaging>
+ <file>${project.build.directory}/${artifactId}-${version}-sources.jar</file>
+ <classifier>sources</classifier>
+ </configuration>
+ </execution>
+ <execution>
+ <id>install-javadoc</id>
+ <phase>install</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <version>${version}</version>
+ <packaging>jar</packaging>
+ <file>${project.build.directory}/${artifactId}-${version}-javadoc.jar</file>
+ <classifier>javadoc</classifier>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
Show replies by date