Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-reresolve/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-snapshots-only/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/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}:purge-local-repository Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/setup.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/setup.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/setup.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/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 purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/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 snapshotsOnly = true Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-snapshots-only/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 nonPurgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/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] 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 Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/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 = true actTransitively = true Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository-version-range/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/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/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}:purge-local-repository Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/setup.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/setup.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/setup.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/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 purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/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. + reResolve = false Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/purge-local-repository/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 purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" ); Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-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 = ${project.groupId}:${project.artifactId}:${project.version}:resolve-plugins Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/verify.groovy?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/verify.groovy (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-exclude-reactor/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. + */ + new File(basedir, "target/resolved.txt").eachLine { line -> if ( line =~ /child-a/ ){ throw new RuntimeException( "Reactor plugin 'child-a' should be excluded!" ) Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/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-plugins Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/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/resolved.txt Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/verify.groovy?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/verify.groovy (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins-with-exclude/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. + */ + new File(basedir, "target/resolved.txt").eachLine { line -> if ( line =~ /maven-surefire-plugin/ ){ throw new RuntimeException( "Surefire plugin should be excluded!" ) Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/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-plugins Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve-plugins/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/resolved.txt Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/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 Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/resolve/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/resolved.txt Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ -invoker.goals = clean install +# 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 install Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,20 +1,40 @@ -<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> - - <parent> - <groupId>org.apache.maven.plugins.dependency.its</groupId> - <artifactId>maven-custom-ear</artifactId> - <version>1.0</version> - </parent> - - <artifactId>maven-custom-ear-manager</artifactId> - - <dependencies> +<?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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.plugins.dependency.its</groupId> + <artifactId>maven-custom-ear</artifactId> + <version>1.0</version> + </parent> + + <artifactId>maven-custom-ear-manager</artifactId> + + <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.2</version> - </dependency> - </dependencies> - -</project> \ No newline at end of file + </dependency> + </dependencies> + +</project> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java Tue Sep 16 20:34:05 2014 @@ -1,31 +1,51 @@ -package org.apache.maven.archiver; - -import java.io.IOException; - -import org.codehaus.plexus.archiver.AbstractArchiver; -import org.codehaus.plexus.archiver.ArchiverException; - -public class LogArchiver extends AbstractArchiver -{ - private String archiveType; - - @Override - protected void execute() - throws ArchiverException, IOException - { - getLogger().info( "LogArchiver.execute()" ); - } - - @Override - protected void close() - throws IOException - { - getLogger().info( "LogArchiver.close()" ); - } - - @Override - protected String getArchiveType() - { - return archiveType; - } -} \ No newline at end of file +package org.apache.maven.archiver; + +/* + * 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.IOException; + +import org.codehaus.plexus.archiver.AbstractArchiver; +import org.codehaus.plexus.archiver.ArchiverException; + +public class LogArchiver extends AbstractArchiver +{ + private String archiveType; + + @Override + protected void execute() + throws ArchiverException, IOException + { + getLogger().info( "LogArchiver.execute()" ); + } + + @Override + protected void close() + throws IOException + { + getLogger().info( "LogArchiver.close()" ); + } + + @Override + protected String getArchiveType() + { + return archiveType; + } +} Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java Tue Sep 16 20:34:05 2014 @@ -1,26 +1,46 @@ -package org.apache.maven.archiver; - -import java.io.File; - -import org.codehaus.plexus.archiver.AbstractUnArchiver; -import org.codehaus.plexus.archiver.ArchiverException; - -public class LogUnArchiver extends AbstractUnArchiver -{ - - @Override - protected void execute() - throws ArchiverException - { - getLogger().info( "LogUnArchiver.execute()" ); - } - - @Override - protected void execute( String path, File outputDirectory ) - throws ArchiverException - { - getLogger().info( "LogUnArchiver.execute( String path, File outputDirectory )" ); - getLogger().info( " path = " + path ); - getLogger().info( " outputDirectory = " + outputDirectory ); - } -} \ No newline at end of file +package org.apache.maven.archiver; + +/* + * 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; + +import org.codehaus.plexus.archiver.AbstractUnArchiver; +import org.codehaus.plexus.archiver.ArchiverException; + +public class LogUnArchiver extends AbstractUnArchiver +{ + + @Override + protected void execute() + throws ArchiverException + { + getLogger().info( "LogUnArchiver.execute()" ); + } + + @Override + protected void execute( String path, File outputDirectory ) + throws ArchiverException + { + getLogger().info( "LogUnArchiver.execute( String path, File outputDirectory )" ); + getLogger().info( " path = " + path ); + getLogger().info( " outputDirectory = " + outputDirectory ); + } +} Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,72 +1,92 @@ -<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> - - <parent> - <groupId>org.apache.maven.plugins.dependency.its</groupId> - <artifactId>maven-custom-ear</artifactId> - <version>1.0</version> - </parent> - - <artifactId>maven-custom-ear-plugin</artifactId> - <packaging>maven-plugin</packaging> - - <build> - <resources> - <resource> - <directory>src/main/resources</directory> - <filtering>true</filtering> - </resource> - </resources> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <version>3.1</version> - <configuration> - <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> - </configuration> - <executions> - <execution> - <id>mojo-descriptor</id> - <goals> - <goal>descriptor</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <dependencies> - <!-- - <dependency> - <groupId>org.apache.maven.plugins.dependency.its</groupId> - <artifactId>maven-custom-ear-manager</artifactId> - <version>1.0</version> - </dependency> - --> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>2.0.9</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-project</artifactId> - <version>2.0.9</version> - </dependency> +<?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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.plugins.dependency.its</groupId> + <artifactId>maven-custom-ear</artifactId> + <version>1.0</version> + </parent> + + <artifactId>maven-custom-ear-plugin</artifactId> + <packaging>maven-plugin</packaging> + + <build> + <resources> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <version>3.1</version> + <configuration> + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> + </configuration> + <executions> + <execution> + <id>mojo-descriptor</id> + <goals> + <goal>descriptor</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <!-- + <dependency> + <groupId>org.apache.maven.plugins.dependency.its</groupId> + <artifactId>maven-custom-ear-manager</artifactId> + <version>1.0</version> + </dependency> + --> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>2.0.9</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-project</artifactId> + <version>2.0.9</version> + </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> <version>2.2</version> - </dependency> - <!-- dependencies to annotations --> - <dependency> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-annotations</artifactId> - <version>3.1</version> - <scope>provided</scope> - </dependency> - </dependencies> - -</project> \ No newline at end of file + </dependency> + <!-- dependencies to annotations --> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <version>3.1</version> + <scope>provided</scope> + </dependency> + </dependencies> + +</project> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java Tue Sep 16 20:34:05 2014 @@ -1,47 +1,67 @@ -package org.apache.maven.plugins; - -import java.io.File; -import java.io.IOException; - -import org.apache.maven.plugin.AbstractMojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugins.annotations.Component; -import org.apache.maven.plugins.annotations.Mojo; -import org.apache.maven.plugins.annotations.Parameter; -import org.apache.maven.project.MavenProject; - -@Mojo( name="ear" ) -public class EarMojo extends AbstractMojo -{ - @Component - private MavenProject project; - - /** - * Directory containing the generated EAR. - */ - @Parameter( defaultValue = "${project.build.directory}", required=true ) - private File outputDirectory; - - /** - * Name of the generated EAR. - */ - @Parameter( alias = "earName", property = "ear.finalName", defaultValue = "${project.build.finalName}", required = true ) - private String finalName; - - public void execute() throws MojoExecutionException - { - File targetFile = new File( outputDirectory, finalName + ".ear" ); - - try - { - targetFile.getParentFile().mkdirs(); - targetFile.createNewFile(); - } - catch ( IOException e ) - { - throw new MojoExecutionException( e.getMessage(), e ); - } - - project.getArtifact().setFile( targetFile ); - } -} \ No newline at end of file +package org.apache.maven.plugins; + +/* + * 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; +import java.io.IOException; + +import org.apache.maven.plugin.AbstractMojo; +import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.plugins.annotations.Component; +import org.apache.maven.plugins.annotations.Mojo; +import org.apache.maven.plugins.annotations.Parameter; +import org.apache.maven.project.MavenProject; + +@Mojo( name="ear" ) +public class EarMojo extends AbstractMojo +{ + @Component + private MavenProject project; + + /** + * Directory containing the generated EAR. + */ + @Parameter( defaultValue = "${project.build.directory}", required=true ) + private File outputDirectory; + + /** + * Name of the generated EAR. + */ + @Parameter( alias = "earName", property = "ear.finalName", defaultValue = "${project.build.finalName}", required = true ) + private String finalName; + + public void execute() throws MojoExecutionException + { + File targetFile = new File( outputDirectory, finalName + ".ear" ); + + try + { + targetFile.getParentFile().mkdirs(); + targetFile.createNewFile(); + } + catch ( IOException e ) + { + throw new MojoExecutionException( e.getMessage(), e ); + } + + project.getArtifact().setFile( targetFile ); + } +} Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/pom.xml?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/pom.xml (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/setup-custom-ear-lifecycle/pom.xml Tue Sep 16 20:34:05 2014 @@ -1,26 +1,46 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.maven.plugins.dependency.its</groupId> - <artifactId>maven-custom-ear</artifactId> - <version>1.0</version> - <packaging>pom</packaging> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.5.1</version> - </plugin> - </plugins> - </pluginManagement> - </build> - - <modules> - <module>manager</module> - <module>plugin</module> - </modules> - -</project> \ No newline at end of file +<?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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.plugins.dependency.its</groupId> + <artifactId>maven-custom-ear</artifactId> + <version>1.0</version> + <packaging>pom</packaging> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.5.1</version> + </plugin> + </plugins> + </pluginManagement> + </build> + + <modules> + <module>manager</module> + <module>plugin</module> + </modules> + +</project> Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/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}:sources Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/sources/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/resolved.txt Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/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}:tree Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/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. + outputFile = target/tree.txt -includes = :wagon* \ No newline at end of file +includes = :wagon* Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-includes/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 org.codehaus.plexus.util.*; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/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 dependency:tree Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree-verbose/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 org.codehaus.plexus.util.*; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/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}:tree Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/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/tree/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/tree/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 org.codehaus.plexus.util.*; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1,2 +1,19 @@ -invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:unpack - +# 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}:unpack + Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/test.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/test.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/test.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/test.properties Tue Sep 16 20:34:05 2014 @@ -1,2 +1,19 @@ -artifact=qdox:qdox:1.5:tar.gz:src -outputDirectory=target/output spaces directory \ 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=qdox:qdox:1.5:tar.gz:src +outputDirectory=target/output spaces directory Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-cli/verify.bsh Tue Sep 16 20:34:05 2014 @@ -1,33 +1,52 @@ -import java.io.*; - - -File file = new File( basedir, "target/output spaces directory" ); -System.out.println( "Checking for existence of " + file ); -if ( !file.isDirectory() ) -{ - throw new Exception( "Missing " + file ); -} - -file = new File( file, "qdox-1.5" ); -System.out.println( "Checking for existence of " + file ); -if ( !file.isDirectory() ) -{ - throw new Exception( "Missing " + file ); -} - -file = new File( file, "build.xml" ); -System.out.println( "Checking for existence of " + file ); -if ( !file.isFile() ) -{ - throw new Exception( "Missing " + file ); -} - -//until MDEP-242 is fixed, the next test will passed -file = new File( file.getParent(), "src" ); -System.out.println( "Checking for existence of " + file ); -if ( !file.isDirectory() ) -{ - throw new Exception( "Missing " + 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 file = new File( basedir, "target/output spaces directory" ); +System.out.println( "Checking for existence of " + file ); +if ( !file.isDirectory() ) +{ + throw new Exception( "Missing " + file ); +} + +file = new File( file, "qdox-1.5" ); +System.out.println( "Checking for existence of " + file ); +if ( !file.isDirectory() ) +{ + throw new Exception( "Missing " + file ); +} + +file = new File( file, "build.xml" ); +System.out.println( "Checking for existence of " + file ); +if ( !file.isFile() ) +{ + throw new Exception( "Missing " + file ); +} + +//until MDEP-242 is fixed, the next test will passed +file = new File( file.getParent(), "src" ); +System.out.println( "Checking for existence of " + file ); +if ( !file.isDirectory() ) +{ + throw new Exception( "Missing " + file ); +} + +return true; Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-custom-ear/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-custom-ear/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-custom-ear/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-custom-ear/invoker.properties Tue Sep 16 20:34:05 2014 @@ -1 +1,18 @@ -invoker.goals = clean integration-test +# 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 integration-test Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-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 package Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/verify.groovy?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/verify.groovy (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack-dependencies/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 = ['org','junit'] for (item in expected) Modified: maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/invoker.properties?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/invoker.properties (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/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/unpack/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/verify.bsh?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/verify.bsh (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/it/projects/unpack/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/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java Tue Sep 16 20:34:05 2014 @@ -1,5 +1,25 @@ package org.codehaus.plexus.util.interpolation; +/* + * 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. + */ + + /** * COPIED FROM plexus-utils-1.5.15 TO SATISFY TESTS * @@ -12,4 +32,4 @@ package org.codehaus.plexus.util.interpo public interface Interpolator extends org.codehaus.plexus.interpolation.Interpolator { -} \ No newline at end of file +} Modified: maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java?rev=1625383&r1=1625382&r2=1625383&view=diff ============================================================================== --- maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java (original) +++ maven/plugins/trunk/maven-dependency-plugin/src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java Tue Sep 16 20:34:05 2014 @@ -1,5 +1,25 @@ package org.codehaus.plexus.util.interpolation; +/* + * 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.util.List; /** @@ -44,4 +64,4 @@ public class RegexBasedInterpolator { super.removeValuesSource( valueSource ); } -} \ No newline at end of file +}