-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FORGE-2219: Fix NonSnapshotDependencyFilter activation criteria
Signed-off-by: George Gastaldi <gegastaldi@gmail.com>
- Loading branch information
Showing
23 changed files
with
432 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
|
||
<profiles> | ||
<profile> | ||
<id>supertest</id> | ||
|
||
<repositories> | ||
<repository> | ||
<id>test-repository</id> | ||
<name>Test repository</name> | ||
<url>file://${basedir}/target/repository</url> | ||
<layout>default</layout> | ||
<releases> | ||
<enabled>true</enabled> | ||
<updatePolicy>never</updatePolicy> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>never</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>test-repository</id> | ||
<name>Test repository</name> | ||
<url>file://${basedir}/target/repository</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
</profile> | ||
</profiles> | ||
|
||
<activeProfiles> | ||
<activeProfile>supertest</activeProfile> | ||
</activeProfiles> | ||
|
||
</settings> |
Binary file added
BIN
+2.41 KB
.../src/test/resources/repository/test/no_dep/1.0.0.Final/no_dep-1.0.0.Final-forge-addon.jar
Binary file not shown.
Binary file added
BIN
+2.41 KB
maven/tests/src/test/resources/repository/test/no_dep/1.0.0.Final/no_dep-1.0.0.Final.jar
Binary file not shown.
37 changes: 37 additions & 0 deletions
37
maven/tests/src/test/resources/repository/test/no_dep/1.0.0.Final/no_dep-1.0.0.Final.pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>test</groupId> | ||
<artifactId>no_dep</artifactId> | ||
<version>1.0.0.Final</version> | ||
<name>Forge - Example Addon</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.jboss.forge.furnace</groupId> | ||
<artifactId>furnace-api</artifactId> | ||
<version>2.4.1.Final</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>create-forge-addon</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<inherited>false</inherited> | ||
<configuration> | ||
<classifier>forge-addon</classifier> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Binary file added
BIN
+2.41 KB
.../src/test/resources/repository/test/no_dep/1.0.1.Final/no_dep-1.0.1.Final-forge-addon.jar
Binary file not shown.
Binary file added
BIN
+2.41 KB
maven/tests/src/test/resources/repository/test/no_dep/1.0.1.Final/no_dep-1.0.1.Final.jar
Binary file not shown.
37 changes: 37 additions & 0 deletions
37
maven/tests/src/test/resources/repository/test/no_dep/1.0.1.Final/no_dep-1.0.1.Final.pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>test</groupId> | ||
<artifactId>no_dep</artifactId> | ||
<version>1.0.1.Final</version> | ||
<name>Forge - Example Addon</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.jboss.forge.furnace</groupId> | ||
<artifactId>furnace-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>create-forge-addon</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<inherited>false</inherited> | ||
<configuration> | ||
<classifier>forge-addon</classifier> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Binary file added
BIN
+2.41 KB
.../src/test/resources/repository/test/no_dep/1.1.0.Final/no_dep-1.1.0.Final-forge-addon.jar
Binary file not shown.
Binary file added
BIN
+2.41 KB
maven/tests/src/test/resources/repository/test/no_dep/1.1.0.Final/no_dep-1.1.0.Final.jar
Binary file not shown.
49 changes: 49 additions & 0 deletions
49
maven/tests/src/test/resources/repository/test/no_dep/1.1.0.Final/no_dep-1.1.0.Final.pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>test</groupId> | ||
<artifactId>no_dep</artifactId> | ||
<version>1.1.0.Final</version> | ||
<name>Forge - Example Addon</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.jboss.forge.furnace</groupId> | ||
<artifactId>furnace-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.forge.addon</groupId> | ||
<artifactId>example2</artifactId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
<classifier>forge-addon</classifier> | ||
<optional>true</optional> | ||
</dependency> | ||
<!-- Just added for testing dependency resolution --> | ||
<dependency> | ||
<groupId>commons-lang</groupId> | ||
<artifactId>commons-lang</artifactId> | ||
<version>2.6</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>create-forge-addon</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<inherited>false</inherited> | ||
<configuration> | ||
<classifier>forge-addon</classifier> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Binary file added
BIN
+2.41 KB
.../src/test/resources/repository/test/no_dep/1.1.1.Final/no_dep-1.1.1.Final-forge-addon.jar
Binary file not shown.
Binary file added
BIN
+2.41 KB
maven/tests/src/test/resources/repository/test/no_dep/1.1.1.Final/no_dep-1.1.1.Final.jar
Binary file not shown.
Oops, something went wrong.