Author: khmarbaise Date: Tue Sep 16 20:34:05 2014 New Revision: 1625383 URL: http://svn.apache.org/r1625383 Log: [MDEP-463] - Fixed RAT issues. Added apache-rat-plugin configuration to exclude three files which contain direct output of m-d-p:tree which is used to be compared the result of IT's.
Modified: maven/plugins/trunk/maven-dependency-plugin/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/changes/changes.xml maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies2/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-27/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-50/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-61/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-66/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-67/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-dep-mgt/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/src/main/java/Main.java maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/src/main/java/Main.java maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/filterunpack/verify.groovy maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/src/main/java/org/sugis/maven/Java8Slf4jDep.java maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/verify.groovy maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/verify.groovy maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/setup.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/setup.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/setup.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/verify.groovy maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/verify.groovy maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/pom.xml maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/test.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-custom-ear/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/verify.groovy maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/invoker.properties maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/verify.bsh maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/ValueSource.java Modified: maven/plugins/trunk/maven-dependency-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/pom.xml Tue Sep 16 20:34:05 2014 @@ -281,6 +281,21 @@ under the License. </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <!-- + These files contain results for integration tests which can't contain license header + otherwise the IT's will fail. + --> + <exclude>src/it/projects/tree/expected.txt</exclude> + <exclude>src/it/projects/tree-includes/expected.txt</exclude> + <exclude>src/it/projects/tree-verbose/expected.txt</exclude> + </excludes> + </configuration> + </plugin> </plugins> </pluginManagement> <plugins> Modified: maven/plugins/trunk/maven-dependency-plugin/src/changes/changes.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/changes/changes.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/changes/changes.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/changes/changes.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <document> <properties> <title>Dependency Maven Plugin</title> @@ -13,4 +33,4 @@ <action dev="brianfox" type="add" issue="MOJO-198"> Add strip version functionality to copyMojo</action> </release> </body> -</document> \ No newline at end of file +</document> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Copy Dependencies IT</name> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies2/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies2/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies2/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/copy-dependencies2/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Copy Dependencies IT</name> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-27/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-27/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-27/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-27/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Copy Dependencies IT</name> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-50/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-50/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-50/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-50/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Copy Dependencies IT</name> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-61/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-61/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-61/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-61/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Copy Dependencies IT</name> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-66/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-66/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-66/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-66/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Copy Dependencies IT</name> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-67/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-67/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-67/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it-harness-poms/mdep-67/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,3 +1,23 @@ +<?xml version='1.0'?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <name>Copy Dependencies IT</name> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-dep-mgt/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-dep-mgt/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-dep-mgt/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-dep-mgt/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:analyze-dep-mgt Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1,4 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = clean ${project.groupId}:${project.artifactId}:${project.version}:analyze-report # don't know why it fails with Maven 2 on some weird java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory # no time to investigate, Maven 2 is not supported any more -invoker.maven.version = 3.0+ \ No newline at end of file +invoker.maven.version = 3.0+ Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/src/main/java/Main.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/src/main/java/Main.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/src/main/java/Main.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/src/main/java/Main.java Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.metadata.Metadata; import org.apache.maven.model.Model; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze-report/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; File htmlFile = new File( basedir, "target/dependency-analysis.html" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = clean ${project.groupId}:${project.artifactId}:${project.version}:analyze Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/src/main/java/Main.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/src/main/java/Main.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/src/main/java/Main.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/src/main/java/Main.java Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.metadata.Metadata; import org.apache.maven.model.Model; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/analyze/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; File classFile = new File( basedir, "target/classes/Main.class" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:build-classpath Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/test.properties Tue Sep 16 20:34:05 2014 @@ -1,4 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + mdep.outputFile = target/classpath.txt mdep.fileSeparator = / mdep.pathSeparator = : -mdep.prefix = PREFIX \ No newline at end of file +mdep.prefix = PREFIX Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/build-classpath/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; import java.util.*; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = clean package Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-and-unpack-with-alternate-local-repo/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ -invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:copy +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:copy Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/test.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ -artifact=org.apache.maven:maven-model:2.0.6 \ No newline at end of file +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +artifact=org.apache.maven:maven-model:2.0.6 Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-cli/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,19 +1,38 @@ -import java.io.*; - -File libDir = new File( basedir, "target/dependency" ); - -String[] expectedFiles = { - "maven-model-2.0.6.jar", -}; - -for ( String expectedFile : expectedFiles ) -{ - File file = new File( libDir, expectedFile ); - System.out.println( "Checking for existence of " + file ); - if ( !file.isFile() ) - { - throw new Exception( "Missing file " + file ); - } -} - -return true; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.io.*; + +File libDir = new File( basedir, "target/dependency" ); + +String[] expectedFiles = { + "maven-model-2.0.6.jar", +}; + +for ( String expectedFile : expectedFiles ) +{ + File file = new File( libDir, expectedFile ); + System.out.println( "Checking for existence of " + file ); + if ( !file.isFile() ) + { + throw new Exception( "Missing file " + file ); + } +} + +return true; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = clean process-sources Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; void checkExpected( File dir, String[] expectedFiles ) Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = clean package Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy-from-reactor/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; File libDir = new File( basedir, "child-b/target/dependency" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = clean process-sources Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/copy/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; File libDir = new File( basedir, "target/dependency" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = initialize Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/dependency-properties/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; File projectProperties = new File( basedir, "target/project.properties" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/filterunpack/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/filterunpack/verify.groovy?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/filterunpack/verify.groovy (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/filterunpack/verify.groovy Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + expected = ['/META-INF/MANIFEST.MF'] for (item in expected) Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:go-offline Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/go-offline/test.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + outputFile = target/tree.txt Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.java.version = 1.8+ -invoker.goals=clean verify \ No newline at end of file +invoker.goals=clean verify Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,5 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + + <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> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/src/main/java/org/sugis/maven/Java8Slf4jDep.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/src/main/java/org/sugis/maven/Java8Slf4jDep.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/src/main/java/org/sugis/maven/Java8Slf4jDep.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-439-analyze-java8/src/main/java/org/sugis/maven/Java8Slf4jDep.java Tue Sep 16 20:34:05 2014 @@ -1,5 +1,25 @@ package org.sugis.maven; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + + import java.time.Clock; import java.time.Instant; import java.util.function.Supplier; @@ -12,4 +32,4 @@ public interface Java8Slf4jDep Supplier<Instant> time = Clock.systemUTC()::instant; LoggerFactory.getLogger(Java8Slf4jDep.class).info(time.get().toString()); } -} \ No newline at end of file +} Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-ancestors Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/verify.groovy?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/verify.groovy (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-with-ancestor/verify.groovy Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + File file = new File( basedir, "build.log" ); assert file.exists(); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:display-ancestors Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/verify.groovy?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/verify.groovy (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/mdep-450-project-without-ancestor/verify.groovy Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + File file = new File( basedir, "build.log" ); assert file.exists(); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository # [MNG-5366] Only works works with Maven 3.0.x except for 3.0.4 invoker.maven.version = 3.0.0+, !3.0.4 Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/setup.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/setup.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/setup.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/setup.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; File localRepoDir = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/test.properties Tue Sep 16 20:34:05 2014 @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + actTransitively = true reResolve = true Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-bad-pom/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; System.out.println( "Checking for presence of purged dependency directories" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve ${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/test.properties Tue Sep 16 20:34:05 2014 @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + reResolve = false actTransitively = false Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-non-transitive/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import java.io.*; File depDir = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve ${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository # [MNG-5366] Does not work in Maven >= 3.0.4 due to the resolveAlways operation not correctly forcing a new download invoker.maven.version = !3.0.4,!3.0.5,!3.1.0,!3.1.1,!3.2.1,!3.2.2