-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #265 Let AbstractDownloadLicensesMojo.licensesConfigFile match by…
… regular expressions
- Loading branch information
Showing
27 changed files
with
1,206 additions
and
334 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
src/it/download-licenses-configured-alt-location/invoker.properties
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/it/download-licenses-configured-alt-location/licenses.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
src/it/download-licenses-configured-alt-location/postbuild.groovy
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...download-licenses-configured-alt-location/src/main/java/org/codehaus/mojo/HelloWorld.java
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals = clean license:download-licenses | ||
invoker.goals = clean validate |
39 changes: 39 additions & 0 deletions
39
src/it/download-licenses-configured/licenses-pre-1.18.expected.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,39 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<licenseSummary> | ||
<dependencies> | ||
<dependency> | ||
<groupId>aopalliance</groupId> | ||
<artifactId>aopalliance</artifactId> | ||
<version>1.0</version> | ||
<licenses> | ||
<license> | ||
<name>Public Domain</name> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
<dependency> | ||
<groupId>asm</groupId> | ||
<artifactId>asm</artifactId> | ||
<version>3.1</version> | ||
<licenses> | ||
<license> | ||
<name>BSD 3-Clause ASM</name> | ||
<url>https://gitlab.ow2.org/asm/asm/raw/ASM_3_1_MVN/LICENSE.txt</url> | ||
<file>bsd 3-clause asm - license.txt</file> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-logging</groupId> | ||
<artifactId>commons-logging</artifactId> | ||
<version>1.0</version> | ||
<licenses> | ||
<license> | ||
<name>Apache License 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<file>apache license 2.0 - license-2.0.txt</file> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
</dependencies> | ||
</licenseSummary> |
39 changes: 39 additions & 0 deletions
39
src/it/download-licenses-configured/licenses-since-1.18.expected.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,39 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<licenseSummary> | ||
<dependencies> | ||
<dependency> | ||
<groupId>aopalliance</groupId> | ||
<artifactId>aopalliance</artifactId> | ||
<version>1.0</version> | ||
<licenses> | ||
<license> | ||
<name>Public Domain</name> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
<dependency> | ||
<groupId>asm</groupId> | ||
<artifactId>asm</artifactId> | ||
<version>3.1</version> | ||
<licenses> | ||
<license> | ||
<name>BSD 3-Clause ASM</name> | ||
<url>https://gitlab.ow2.org/asm/asm/raw/ASM_3_1_MVN/LICENSE.txt</url> | ||
<file>bsd 3-clause asm - license.txt</file> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-logging</groupId> | ||
<artifactId>commons-logging</artifactId> | ||
<version>1.0</version> | ||
<licenses> | ||
<license> | ||
<name>Apache License 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<file>apache license 2.0 - license-2.0.txt</file> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
</dependencies> | ||
</licenseSummary> |
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
29 changes: 29 additions & 0 deletions
29
src/it/download-licenses-configured/src/license/licenses-config-pre-1.18.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,29 @@ | ||
<licenseSummary> | ||
<dependencies> | ||
<dependency> | ||
<groupId>commons-logging</groupId> | ||
<artifactId>commons-logging</artifactId> | ||
<licenses> | ||
<license> | ||
<name>Apache License 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
<dependency> | ||
<groupId>aopalliance</groupId> | ||
<artifactId>aopalliance</artifactId> | ||
<licenses approved="true" /> | ||
</dependency> | ||
<dependency> | ||
<groupId>asm</groupId> | ||
<artifactId>asm</artifactId> | ||
<licenses> | ||
<license> | ||
<name>BSD 3-Clause ASM</name> | ||
<url>https://gitlab.ow2.org/asm/asm/raw/ASM_3_1_MVN/LICENSE.txt</url> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
</dependencies> | ||
</licenseSummary> |
41 changes: 41 additions & 0 deletions
41
src/it/download-licenses-configured/src/license/licenses-config-since-1.18.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,41 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<licenseSummary> | ||
<dependencies> | ||
<dependency> | ||
<groupId>\Qcommons-logging</groupId> | ||
<artifactId>\Qcommons-logging</artifactId> | ||
<matchLicenses> | ||
<!-- match empty license list --> | ||
</matchLicenses> | ||
<licenses> | ||
<license> | ||
<name>Apache License 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
<dependency> | ||
<groupId>\Qaopalliance\E</groupId> | ||
<artifactId>\Qaopalliance\E</artifactId> | ||
<matchLicenses> | ||
<license> | ||
<name>\QPublic Domain\E</name> | ||
</license> | ||
</matchLicenses> | ||
<licenses approved="true" /> | ||
</dependency> | ||
<dependency> | ||
<groupId>\Qasm\E</groupId> | ||
<artifactId>\Qasm\E</artifactId> | ||
<matchLicenses> | ||
<!-- match empty license list --> | ||
</matchLicenses> | ||
<licenses> | ||
<license> | ||
<name>BSD 3-Clause ASM</name> | ||
<url>https://gitlab.ow2.org/asm/asm/raw/ASM_3_1_MVN/LICENSE.txt</url> | ||
</license> | ||
</licenses> | ||
</dependency> | ||
</dependencies> | ||
</licenseSummary> |
Oops, something went wrong.