-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for issue #648: de-shadowing the localRepository property + it test
- Loading branch information
Showing
7 changed files
with
388 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:dependency-updates-report | ||
|
||
invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:plugin-updates-report |
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,66 @@ | ||
<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>localhost</groupId> | ||
<artifactId>it-abstract-versions-report-001</artifactId> | ||
<version>1.0</version> | ||
<packaging>pom</packaging> | ||
<name>abstract-versions-report</name> | ||
<url>http://localhost/</url> | ||
|
||
<description> | ||
Testing command line invocation of dependency- and plugin-updates-report | ||
</description> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>localhost</groupId> | ||
<artifactId>dummy-api</artifactId> | ||
<version>1.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>localhost</groupId> | ||
<artifactId>dummy-impl</artifactId> | ||
<version>1.1</version> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>localhost</groupId> | ||
<artifactId>dummy-api</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-clean-plugin</artifactId> | ||
<version>2.2</version> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<version>2.3</version> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-install-plugin</artifactId> | ||
<version>2.2</version> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-site-plugin</artifactId> | ||
<version>2.0</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>localhost</groupId> | ||
<artifactId>dummy-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
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
2 changes: 2 additions & 0 deletions
2
src/it/it-property-updates-report-002-slow/invoker.properties
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,2 @@ | ||
invoker.goals=site | ||
invoker.timeoutInSeconds=30 |
117 changes: 117 additions & 0 deletions
117
src/it/it-property-updates-report-002-slow/maven-version-rules.xml
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,117 @@ | ||
<ruleset xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 http://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd"> | ||
<rules> | ||
<rule groupId="commons-collections"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">200[34].*</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="com.fasterxml.jackson"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*[.-](rc|pr)\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="com.fasterxml.jackson.core" artifactId="jackson-annotations"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">2\.9\.\d+</ignoreVersion> | ||
<ignoreVersion type="regex">.*[.-](rc|pr)\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="com.fasterxml.jackson.jaxrs"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*[.-](rc|pr)\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="com.hazelcast"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-RC\d+</ignoreVersion> | ||
<ignoreVersion type="regex">.*-EA\d*</ignoreVersion> | ||
<ignoreVersion type="regex">.*-BETA-\d*</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="javax.validation"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*\.(Alpha|Beta|CR)\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.camunda.bpm.dmn"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-alpha\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.codehaus.groovy"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-(alpha|beta|rc)-\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.hibernate"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*\.(Alpha|Beta|CR)\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.javassist"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-CR\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.jvnet.jaxb2_commons"> | ||
<ignoreVersions> | ||
<ignoreVersion>1.11.1</ignoreVersion> | ||
<ignoreVersion>1.11.1-PUBLISHED-BY-MISTAKE</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.mariadb.jdbc"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-(beta-|RC)\d*</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.postgresql"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*\.jre[67]</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.slf4j"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-alpha\d+</ignoreVersion> | ||
<ignoreVersion type="regex">.*-beta\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="log4j"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-atlassian-.*</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.mockito"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-beta(\.\d+)?</ignoreVersion> | ||
<ignoreVersion type="regex">.*-RC\.\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.thymeleaf"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*\.(ALPHA|BETA)\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.powermock"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*RC\d+</ignoreVersion> | ||
<ignoreVersion type="regex">.*-beta\.\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="com.sun.xml.bind"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-b\d+\.\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="org.glassfish.jaxb"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-b[\d.]+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
<rule groupId="junit"> | ||
<ignoreVersions> | ||
<ignoreVersion type="regex">.*-beta-\d+</ignoreVersion> | ||
<ignoreVersion type="regex">.*-rc-\d+</ignoreVersion> | ||
</ignoreVersions> | ||
</rule> | ||
</rules> | ||
</ruleset> |
Oops, something went wrong.