mirror of https://github.com/apache/maven.git
Adding pluginManagement to declare plugin versions where necessary, and added repository definitions to allow download of snapshot plugins everywhere it's needed.
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@675413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f2a452eb8
commit
210e018f69
|
@ -6,6 +6,24 @@
|
|||
<description>Test @execute with a custom lifecycle, including configuration</description>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
@ -6,6 +6,24 @@
|
|||
<description>Test the use of a packaging from a plugin</description>
|
||||
<packaging>it-packaging</packaging>
|
||||
<version>1.0</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
@ -5,6 +5,24 @@
|
|||
<artifactId>maven-it-it0041</artifactId>
|
||||
<description>Test the use of a new type from a plugin</description>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
|
|
|
@ -6,6 +6,35 @@
|
|||
<description>Test non-reactor behavior when plugin declares "@requiresProject false"</description>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.its.plugins</groupId>
|
||||
<artifactId>maven-it-plugin-no-project</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<modules>
|
||||
<module>subproject</module>
|
||||
</modules>
|
||||
|
|
|
@ -7,6 +7,35 @@
|
|||
the first module, but checks that the second modules is built.</description>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.its.plugins</groupId>
|
||||
<artifactId>maven-it-plugin-touch</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<modules>
|
||||
<module>subproject</module>
|
||||
<module>subproject2</module>
|
||||
|
|
|
@ -7,6 +7,24 @@
|
|||
for the population of configuration values.</description>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>test-plugins</id>
|
||||
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.its.plugins</groupId>
|
||||
<artifactId>maven-it-plugin-configuration</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
<configuration>
|
||||
<directory>${project.build.directory}</directory>
|
||||
<dom>
|
||||
|
|
|
@ -23,6 +23,18 @@
|
|||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.its.plugins</groupId>
|
||||
<artifactId>maven-it-plugin-all</artifactId>
|
||||
<version>2.1-SNAPSHOT</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<modules>
|
||||
<module>assembly</module>
|
||||
<module>test</module>
|
||||
|
|
Loading…
Reference in New Issue