RAT (Release Audit Tool) results

The following document contains the results of RAT (Release Audit Tool).

*****************************************************
Summary
-------
Generated at: 2013-03-07T13:32:54-06:00
Notes: 1
Binaries: 0
Archives: 5
Standards: 283

Apache Licensed: 178
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

105 Unknown Licenses

*******************************

Unapproved licenses:

  src/changes/changes.xml
  src/it/analyze/invoker.properties
  src/it/analyze/src/main/java/Main.java
  src/it/analyze/verify.bsh
  src/it/analyze-dep-mgt/invoker.properties
  src/it/analyze-report/invoker.properties
  src/it/analyze-report/src/main/java/Main.java
  src/it/analyze-report/verify.bsh
  src/it/build-classpath/invoker.properties
  src/it/build-classpath/test.properties
  src/it/build-classpath/verify.bsh
  src/it/copy/invoker.properties
  src/it/copy/verify.bsh
  src/it/copy-and-unpack-with-alternate-local-repo/invoker.properties
  src/it/copy-and-unpack-with-alternate-local-repo/verify.bsh
  src/it/copy-cli/invoker.properties
  src/it/copy-cli/test.properties
  src/it/copy-cli/verify.bsh
  src/it/copy-dependencies/invoker.properties
  src/it/copy-dependencies/verify.bsh
  src/it/copy-from-reactor/invoker.properties
  src/it/copy-from-reactor/verify.bsh
  src/it/dependency-properties/invoker.properties
  src/it/dependency-properties/verify.bsh
  src/it/filterunpack/verify.groovy
  src/it/go-offline/invoker.properties
  src/it/go-offline/test.properties
  src/it/purge-local-repository/invoker.properties
  src/it/purge-local-repository/setup.bsh
  src/it/purge-local-repository/test.properties
  src/it/purge-local-repository/verify.bsh
  src/it/purge-local-repository-bad-pom/invoker.properties
  src/it/purge-local-repository-bad-pom/setup.bsh
  src/it/purge-local-repository-bad-pom/test.properties
  src/it/purge-local-repository-bad-pom/verify.bsh
  src/it/purge-local-repository-non-transitive/invoker.properties
  src/it/purge-local-repository-non-transitive/test.properties
  src/it/purge-local-repository-non-transitive/verify.bsh
  src/it/purge-local-repository-reresolve/invoker.properties
  src/it/purge-local-repository-reresolve/verify.bsh
  src/it/purge-local-repository-snapshots-only/invoker.properties
  src/it/purge-local-repository-snapshots-only/setup.bsh
  src/it/purge-local-repository-snapshots-only/test.properties
  src/it/purge-local-repository-snapshots-only/verify.bsh
  src/it/purge-local-repository-version-range/invoker.properties
  src/it/purge-local-repository-version-range/test.properties
  src/it/purge-local-repository-version-range/verify.bsh
  src/it/resolve/invoker.properties
  src/it/resolve/test.properties
  src/it/resolve-plugins/invoker.properties
  src/it/resolve-plugins/test.properties
  src/it/resolve-plugins-exclude-reactor/invoker.properties
  src/it/resolve-plugins-exclude-reactor/verify.groovy
  src/it/resolve-plugins-with-exclude/invoker.properties
  src/it/resolve-plugins-with-exclude/test.properties
  src/it/resolve-plugins-with-exclude/verify.groovy
  src/it/setup-custom-ear-lifecycle/invoker.properties
  src/it/setup-custom-ear-lifecycle/manager/pom.xml
  src/it/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java
  src/it/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java
  src/it/setup-custom-ear-lifecycle/plugin/pom.xml
  src/it/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java
  src/it/setup-custom-ear-lifecycle/pom.xml
  src/it/sources/invoker.properties
  src/it/sources/test.properties
  src/it/tree/expected.txt
  src/it/tree/invoker.properties
  src/it/tree/test.properties
  src/it/tree/verify.bsh
  src/it/unpack/invoker.properties
  src/it/unpack/verify.bsh
  src/it/unpack-cli/invoker.properties
  src/it/unpack-cli/test.properties
  src/it/unpack-cli/verify.bsh
  src/it/unpack-custom-ear/invoker.properties
  src/it/unpack-dependencies/invoker.properties
  src/it/unpack-dependencies/verify.groovy
  src/it-harness-poms/copy-dependencies/pom.xml
  src/it-harness-poms/copy-dependencies2/pom.xml
  src/it-harness-poms/mdep-27/pom.xml
  src/it-harness-poms/mdep-50/pom.xml
  src/it-harness-poms/mdep-61/pom.xml
  src/it-harness-poms/mdep-66/pom.xml
  src/it-harness-poms/mdep-67/pom.xml
  src/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java
  src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java
  src/test/java/org/codehaus/plexus/util/interpolation/ValueSource.java
  src/test/resources/its/check-harness/test.bat
  src/test/resources/m2repo/maven/maven-parent/5/maven-parent-5.pom.sha1
  src/test/resources/m2repo/maven/plugins/maven-dependency-plugin/maven-metadata-local.xml
  src/test/resources/m2repo/maven/plugins/maven-metadata-central.xml
  src/test/resources/m2repo/maven/plugins/maven-plugins/8/maven-plugins-8.pom
  src/test/resources/m2repo/maven/plugins/maven-plugins/8/maven-plugins-8.pom.sha1
  src/test/resources/m2repo/maven/plugins/maven-plugins/9-SNAPSHOT/maven-metadata-local.xml
  src/test/resources/m2repo/maven/plugins/maven-plugins/maven-metadata-local.xml
  src/test/resources/m2repo/maven/plugins/maven-site-plugin/maven-metadata-central.xml
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar.sha1
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.pom.sha1
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/maven-metadata.xml
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/maven-metadata.xml.sha1
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar.sha1
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.pom.sha1
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/maven-metadata.xml
  src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/maven-metadata.xml.sha1
  src/test/resources/m2repo/test/resolve/maven-metadata-local.xml

*******************************

Archives:

 + src/test/resources/m2repo/maven/plugins/maven-dependency-plugin/test/maven-dependency-plugin-test.jar
 
 + src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar
 
 + src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar
 
 + src/test/resources/m2repo/test/resolve/1/resolve-1.jar
 
 + src/test/resources/unit/unpack-dependencies-test/test.zip
 
*****************************************************
  Files with Apache License headers will be marked AL
  Binary files (which do not require AL headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc will be marked N
  AL    pom.xml
 !????? src/changes/changes.xml
 !????? src/it/analyze/invoker.properties
  AL    src/it/analyze/pom.xml
 !????? src/it/analyze/src/main/java/Main.java
 !????? src/it/analyze/verify.bsh
 !????? src/it/analyze-dep-mgt/invoker.properties
  AL    src/it/analyze-dep-mgt/pom.xml
 !????? src/it/analyze-report/invoker.properties
  AL    src/it/analyze-report/pom.xml
 !????? src/it/analyze-report/src/main/java/Main.java
 !????? src/it/analyze-report/verify.bsh
 !????? src/it/build-classpath/invoker.properties
  AL    src/it/build-classpath/pom.xml
 !????? src/it/build-classpath/test.properties
 !????? src/it/build-classpath/verify.bsh
 !????? src/it/copy/invoker.properties
  AL    src/it/copy/pom.xml
 !????? src/it/copy/verify.bsh
 !????? src/it/copy-and-unpack-with-alternate-local-repo/invoker.properties
  AL    src/it/copy-and-unpack-with-alternate-local-repo/pom.xml
 !????? src/it/copy-and-unpack-with-alternate-local-repo/verify.bsh
 !????? src/it/copy-cli/invoker.properties
  AL    src/it/copy-cli/pom.xml
 !????? src/it/copy-cli/test.properties
 !????? src/it/copy-cli/verify.bsh
 !????? src/it/copy-dependencies/invoker.properties
  AL    src/it/copy-dependencies/pom.xml
 !????? src/it/copy-dependencies/verify.bsh
  AL    src/it/copy-from-reactor/child-a/pom.xml
  AL    src/it/copy-from-reactor/child-a/src/main/resources/DoNotDelete.xml
  AL    src/it/copy-from-reactor/child-b/pom.xml
 !????? src/it/copy-from-reactor/invoker.properties
  AL    src/it/copy-from-reactor/pom.xml
 !????? src/it/copy-from-reactor/verify.bsh
 !????? src/it/dependency-properties/invoker.properties
  AL    src/it/dependency-properties/pom.xml
 !????? src/it/dependency-properties/verify.bsh
  AL    src/it/filterunpack/pom.xml
 !????? src/it/filterunpack/verify.groovy
 !????? src/it/go-offline/invoker.properties
  AL    src/it/go-offline/pom.xml
 !????? src/it/go-offline/test.properties
 !????? src/it/purge-local-repository/invoker.properties
  AL    src/it/purge-local-repository/pom.xml
 !????? src/it/purge-local-repository/setup.bsh
 !????? src/it/purge-local-repository/test.properties
 !????? src/it/purge-local-repository/verify.bsh
  AL    src/it/purge-local-repository-bad-pom/bad-pom.xml
 !????? src/it/purge-local-repository-bad-pom/invoker.properties
  AL    src/it/purge-local-repository-bad-pom/pom.xml
 !????? src/it/purge-local-repository-bad-pom/setup.bsh
 !????? src/it/purge-local-repository-bad-pom/test.properties
 !????? src/it/purge-local-repository-bad-pom/verify.bsh
 !????? src/it/purge-local-repository-non-transitive/invoker.properties
  AL    src/it/purge-local-repository-non-transitive/pom.xml
 !????? src/it/purge-local-repository-non-transitive/test.properties
 !????? src/it/purge-local-repository-non-transitive/verify.bsh
 !????? src/it/purge-local-repository-reresolve/invoker.properties
  AL    src/it/purge-local-repository-reresolve/pom.xml
 !????? src/it/purge-local-repository-reresolve/verify.bsh
 !????? src/it/purge-local-repository-snapshots-only/invoker.properties
  AL    src/it/purge-local-repository-snapshots-only/pom.xml
 !????? src/it/purge-local-repository-snapshots-only/setup.bsh
 !????? src/it/purge-local-repository-snapshots-only/test.properties
 !????? src/it/purge-local-repository-snapshots-only/verify.bsh
 !????? src/it/purge-local-repository-version-range/invoker.properties
  AL    src/it/purge-local-repository-version-range/pom.xml
 !????? src/it/purge-local-repository-version-range/test.properties
 !????? src/it/purge-local-repository-version-range/verify.bsh
 !????? src/it/resolve/invoker.properties
  AL    src/it/resolve/pom.xml
 !????? src/it/resolve/test.properties
 !????? src/it/resolve-plugins/invoker.properties
  AL    src/it/resolve-plugins/pom.xml
 !????? src/it/resolve-plugins/test.properties
  AL    src/it/resolve-plugins-exclude-reactor/child-a/pom.xml
  AL    src/it/resolve-plugins-exclude-reactor/child-a/src/main/resources/DoNotDelete.xml
  AL    src/it/resolve-plugins-exclude-reactor/child-b/pom.xml
 !????? src/it/resolve-plugins-exclude-reactor/invoker.properties
  AL    src/it/resolve-plugins-exclude-reactor/pom.xml
 !????? src/it/resolve-plugins-exclude-reactor/verify.groovy
 !????? src/it/resolve-plugins-with-exclude/invoker.properties
  AL    src/it/resolve-plugins-with-exclude/pom.xml
 !????? src/it/resolve-plugins-with-exclude/test.properties
 !????? src/it/resolve-plugins-with-exclude/verify.groovy
  AL    src/it/settings.xml
 !????? src/it/setup-custom-ear-lifecycle/invoker.properties
 !????? src/it/setup-custom-ear-lifecycle/manager/pom.xml
 !????? src/it/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java
 !????? src/it/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java
  AL    src/it/setup-custom-ear-lifecycle/manager/src/main/resources/META-INF/plexus/components.xml
 !????? src/it/setup-custom-ear-lifecycle/plugin/pom.xml
 !????? src/it/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java
  AL    src/it/setup-custom-ear-lifecycle/plugin/src/main/resources/META-INF/plexus/components.xml
 !????? src/it/setup-custom-ear-lifecycle/pom.xml
 !????? src/it/sources/invoker.properties
  AL    src/it/sources/pom.xml
 !????? src/it/sources/test.properties
 !????? src/it/tree/expected.txt
 !????? src/it/tree/invoker.properties
  AL    src/it/tree/pom.xml
 !????? src/it/tree/test.properties
 !????? src/it/tree/verify.bsh
 !????? src/it/unpack/invoker.properties
  AL    src/it/unpack/pom.xml
 !????? src/it/unpack/verify.bsh
 !????? src/it/unpack-cli/invoker.properties
  AL    src/it/unpack-cli/pom.xml
 !????? src/it/unpack-cli/test.properties
 !????? src/it/unpack-cli/verify.bsh
 !????? src/it/unpack-custom-ear/invoker.properties
  AL    src/it/unpack-custom-ear/pom.xml
  AL    src/it/unpack-custom-ear/verify.groovy
 !????? src/it/unpack-dependencies/invoker.properties
  AL    src/it/unpack-dependencies/pom.xml
 !????? src/it/unpack-dependencies/verify.groovy
 !????? src/it-harness-poms/copy-dependencies/pom.xml
 !????? src/it-harness-poms/copy-dependencies2/pom.xml
 !????? src/it-harness-poms/mdep-27/pom.xml
 !????? src/it-harness-poms/mdep-50/pom.xml
 !????? src/it-harness-poms/mdep-61/pom.xml
 !????? src/it-harness-poms/mdep-66/pom.xml
 !????? src/it-harness-poms/mdep-67/pom.xml
  AL    src/main/java/org/apache/maven/plugin/dependency/AbstractAnalyzeMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AbstractFromDependenciesMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AbstractResolveMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AnalyzeDepMgt.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AnalyzeDuplicateMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AnalyzeMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AnalyzeOnlyMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/AnalyzeReportView.java
  AL    src/main/java/org/apache/maven/plugin/dependency/BuildClasspathMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/CopyDependenciesMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/fromConfiguration/AbstractFromConfigurationMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/fromConfiguration/ArtifactItem.java
  AL    src/main/java/org/apache/maven/plugin/dependency/fromConfiguration/CopyMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/fromConfiguration/ProcessArtifactItemsRequest.java
  AL    src/main/java/org/apache/maven/plugin/dependency/fromConfiguration/UnpackMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/GetMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/ListMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/PropertiesMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/PurgeLocalRepositoryMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/resolvers/GoOfflineMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/resolvers/ListRepositoriesMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolveDependenciesMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolveDependencySourcesMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/TreeMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/treeSerializers/AbstractSerializingVisitor.java
  AL    src/main/java/org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java
  AL    src/main/java/org/apache/maven/plugin/dependency/treeSerializers/GraphmlDependencyNodeVisitor.java
  AL    src/main/java/org/apache/maven/plugin/dependency/treeSerializers/TGFDependencyNodeVisitor.java
  AL    src/main/java/org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/DependencySilentLog.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/DependencyStatusSets.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/filters/ArtifactItemFilter.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/filters/DestFileFilter.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/filters/MarkerFileFilter.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/filters/ResolveFileFilter.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/markers/DefaultFileMarkerHandler.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/markers/MarkerHandler.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/markers/SourcesFileMarkerHandler.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/markers/UnpackFileMarkerHandler.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/resolvers/ArtifactsResolver.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/resolvers/DefaultArtifactsResolver.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/translators/ArtifactTranslator.java
  AL    src/main/java/org/apache/maven/plugin/dependency/utils/translators/ClassifierTypeTranslator.java
  AL    src/main/resources/analyze-report.properties
  AL    src/main/resources/analyze-report_de.properties
  AL    src/main/resources/analyze-report_en.properties
  AL    src/main/resources/analyze-report_pt_BR.properties
  AL    src/main/resources/analyze-report_sv.properties
  AL    src/main/resources/META-INF/plexus/components.xml
  AL    src/site/apt/examples/copying-artifacts.apt.vm
  AL    src/site/apt/examples/copying-project-dependencies.apt.vm
  AL    src/site/apt/examples/failing-the-build-on-dependency-analysis-warnings.apt.vm
  AL    src/site/apt/examples/filtering-the-dependency-tree.apt
  AL    src/site/apt/examples/preparing-dependencies.apt
  AL    src/site/apt/examples/purging-local-repository.apt.vm
  AL    src/site/apt/examples/resolving-conflicts-using-the-dependency-tree.apt
  AL    src/site/apt/examples/unpacking-artifacts.apt.vm
  AL    src/site/apt/examples/unpacking-project-dependencies.apt.vm
  AL    src/site/apt/examples/using-dependencies-sources.apt.vm
  AL    src/site/apt/index.apt
  AL    src/site/apt/usage.apt.vm
  AL    src/site/fml/faq.fml
  AL    src/site/site.xml
  AL    src/test/java/org/apache/maven/plugin/dependency/AbstractDependencyMojoTestCase.java
  AL    src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestArtifactItem.java
  AL    src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestCopyMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/its/AbstractDependencyPluginITCase.java
  AL    src/test/java/org/apache/maven/plugin/dependency/its/DependencyPluginTest.java
  AL    src/test/java/org/apache/maven/plugin/dependency/its/ExecutionFailedException.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestAnalyzeDepMgt.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestAnalyzeDuplicateMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestBuildClasspathMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestCopyDependenciesMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestCopyDependenciesMojo2.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestGetMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestIncludeExcludeUnpackDependenciesMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestIncludeExcludeUnpackMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestPropertiesMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestResolveMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestSkip.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestTreeMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestUnpackDependenciesMojo.java
  AL    src/test/java/org/apache/maven/plugin/dependency/TestUnpackDependenciesMojo2.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/DependencyArtifactStubFactory.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/DependencyTestUtils.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DependencyProjectStub.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DuplicateDependencies2ProjectStub.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/DuplicateDependenciesProjectStub.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/StubDefaultFileMarkerHandler.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/StubMarkerFile.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/StubSourcesFileMarkerHandler.java
  AL    src/test/java/org/apache/maven/plugin/dependency/testUtils/stubs/StubUnpackFileMarkerHandler.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/filters/TestDestFileFilter.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/filters/TestMarkerFileFilter.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/filters/TestResolveMarkerFileFilter.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/markers/TestDefaultMarkerFileHandler.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/markers/TestSourcesMarkerFileHandler.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/markers/TestUnpackMarkerFileHandler.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/TestDependencyStatusSets.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/TestDependencyUtil.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/TestSilentLog.java
  AL    src/test/java/org/apache/maven/plugin/dependency/utils/translators/TestClassifierTypeTranslator.java
 !????? src/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java
 !????? src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java
 !????? src/test/java/org/codehaus/plexus/util/interpolation/ValueSource.java
  AL    src/test/resources/its/check-harness/pom.xml
 !????? src/test/resources/its/check-harness/test.bat
  AL    src/test/resources/its/get/pom.xml
  AL    src/test/resources/its/pom.xml
  N     src/test/resources/its/readme.txt
  AL    src/test/resources/its/resolve/pom.xml
  AL    src/test/resources/its/siblingReference/a/pom.xml
  AL    src/test/resources/its/siblingReference/a/src/main/java/org/apache/dependency/HelloWorld.java
  AL    src/test/resources/its/siblingReference/a/src/main/java/org/apache/dependency/HelloWorld2.java
  AL    src/test/resources/its/siblingReference/b/pom.xml
  AL    src/test/resources/its/siblingReference/pom.xml
  AL    src/test/resources/m2repo/maven/maven-parent/5/maven-parent-5.pom
 !????? src/test/resources/m2repo/maven/maven-parent/5/maven-parent-5.pom.sha1
 !????? src/test/resources/m2repo/maven/plugins/maven-dependency-plugin/maven-metadata-local.xml
  A     src/test/resources/m2repo/maven/plugins/maven-dependency-plugin/test/maven-dependency-plugin-test.jar
  AL    src/test/resources/m2repo/maven/plugins/maven-dependency-plugin/test/maven-dependency-plugin-test.pom
 !????? src/test/resources/m2repo/maven/plugins/maven-metadata-central.xml
 !????? src/test/resources/m2repo/maven/plugins/maven-plugins/8/maven-plugins-8.pom
 !????? src/test/resources/m2repo/maven/plugins/maven-plugins/8/maven-plugins-8.pom.sha1
 !????? src/test/resources/m2repo/maven/plugins/maven-plugins/9-SNAPSHOT/maven-metadata-local.xml
  AL    src/test/resources/m2repo/maven/plugins/maven-plugins/9-SNAPSHOT/maven-plugins-9-SNAPSHOT.pom
 !????? src/test/resources/m2repo/maven/plugins/maven-plugins/maven-metadata-local.xml
 !????? src/test/resources/m2repo/maven/plugins/maven-site-plugin/maven-metadata-central.xml
  A     src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar.sha1
  AL    src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.pom
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.pom.sha1
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/maven-metadata.xml
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/maven-metadata.xml.sha1
  A     src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar.sha1
  AL    src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.pom
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.pom.sha1
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/maven-metadata.xml
 !????? src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/maven-metadata.xml.sha1
  A     src/test/resources/m2repo/test/resolve/1/resolve-1.jar
  AL    src/test/resources/m2repo/test/resolve/1/resolve-1.pom
 !????? src/test/resources/m2repo/test/resolve/maven-metadata-local.xml
  AL    src/test/resources/unit/build-classpath-test/plugin-config.xml
  AL    src/test/resources/unit/copy-dependencies-test/plugin-config.xml
  AL    src/test/resources/unit/copy-test/plugin-config.xml
  AL    src/test/resources/unit/duplicate-dependencies/plugin-config.xml
  AL    src/test/resources/unit/duplicate-dependencies/plugin-config2.xml
  AL    src/test/resources/unit/get-test/plugin-config.xml
  AL    src/test/resources/unit/properties-test/plugin-config.xml
  AL    src/test/resources/unit/resolve-test/plugin-config.xml
  AL    src/test/resources/unit/skip-test/plugin-analyze-report-config.xml
  AL    src/test/resources/unit/skip-test/plugin-config.xml
  AL    src/test/resources/unit/skip-test/plugin-get-config.xml
  AL    src/test/resources/unit/tree-test/plugin-config.xml
  AL    src/test/resources/unit/unpack-dependencies-test/plugin-config.xml
  AL    src/test/resources/unit/unpack-dependencies-test/test.txt
  A     src/test/resources/unit/unpack-dependencies-test/test.zip
  AL    src/test/resources/unit/unpack-test/plugin-config.xml
 
 *****************************************************
 Printing headers for files without AL header...
 
 
 =======================================================================
 ==src/changes/changes.xml
 =======================================================================
<document>
  <properties>
    <title>Dependency Maven Plugin</title>
    <author email="brianefox@gmail.com">Brian Fox</author>
  </properties>
  <body>

    <release version="1.0" date="01/01/2006">
      <action dev="brianfox" type="update">
        Initial Release of Plugin
      </action>
      <action dev="brianfox" type="add" issue="MOJO-173"> Issue for initial import of plugin </action>
      <action dev="brianfox" type="add" issue="MOJO-198"> Add strip version functionality to copyMojo</action>
    </release>
   </body>
</document>

 =======================================================================
 ==src/it/analyze/invoker.properties
 =======================================================================
invoker.goals = clean ${project.groupId}:${project.artifactId}:${project.version}:analyze

 =======================================================================
 ==src/it/analyze/src/main/java/Main.java
 =======================================================================
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.metadata.Metadata;
import org.apache.maven.model.Model;

public class Main
{
    public static final String SCOPE_COMPILE = Artifact.SCOPE_COMPILE;

    public Model model = null;

    public Metadata metadata = null;
}

 =======================================================================
 ==src/it/analyze/verify.bsh
 =======================================================================
import java.io.*;

File classFile = new File( basedir, "target/classes/Main.class" );

if ( !classFile.isFile() )
{
    throw new Exception( "Build was not forked, class missing " + classFile );
}

return true;

 =======================================================================
 ==src/it/analyze-dep-mgt/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:analyze-dep-mgt

 =======================================================================
 ==src/it/analyze-report/invoker.properties
 =======================================================================
invoker.goals = clean ${project.groupId}:${project.artifactId}:${project.version}:analyze-report

 =======================================================================
 ==src/it/analyze-report/src/main/java/Main.java
 =======================================================================
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.metadata.Metadata;
import org.apache.maven.model.Model;

public class Main
{
    public static final String SCOPE_COMPILE = Artifact.SCOPE_COMPILE;

    public Model model = null;

    public Metadata metadata = null;
}

 =======================================================================
 ==src/it/analyze-report/verify.bsh
 =======================================================================
import java.io.*;

File htmlFile = new File( basedir, "target/dependency-analysis.html" );

if ( !htmlFile.isFile() )
{
    throw new Exception( "Dependency analysis file missing " + htmlFile );
}
if ( htmlFile.length() == 0 )
{
    throw new Exception( "Dependency analysis file empty " + htmlFile );
}

return true;

 =======================================================================
 ==src/it/build-classpath/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:build-classpath

 =======================================================================
 ==src/it/build-classpath/test.properties
 =======================================================================
mdep.outputFile = target/classpath.txt
mdep.fileSeparator = /
mdep.pathSeparator = :
mdep.prefix = PREFIX

 =======================================================================
 ==src/it/build-classpath/verify.bsh
 =======================================================================
import java.io.*;
import java.util.*;

import org.codehaus.plexus.util.*;

String classpath = FileUtils.fileRead( new File( basedir, "target/classpath.txt" ) );

classpath = StringUtils.replace( classpath, "PREFIX/", "" );

List actual = Arrays.asList( classpath.split( ":" ) );

List expected = new ArrayList();
expected.add( "maven-profile-2.0.6.jar" );
expected.add( "maven-model-2.0.6.jar" );
expected.add( "plexus-utils-1.4.1.jar" );
expected.add( "plexus-container-default-1.0-alpha-9-stable-1.jar" );
expected.add( "junit-3.8.1.jar" );

System.out.println( "Checking classpath... " );
System.out.println( "Actual  : " + actual );
System.out.println( "Expected: " + expected );

if ( !actual.equals( expected ) )
{
    throw new Exception( "Unexpected classpath" );
}

return true;

 =======================================================================
 ==src/it/copy/invoker.properties
 =======================================================================
invoker.goals = clean process-sources

 =======================================================================
 ==src/it/copy/verify.bsh
 =======================================================================
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;

 =======================================================================
 ==src/it/copy-and-unpack-with-alternate-local-repo/invoker.properties
 =======================================================================
invoker.goals = clean package

 =======================================================================
 ==src/it/copy-and-unpack-with-alternate-local-repo/verify.bsh
 =======================================================================
import java.io.*;


File file = new File( basedir, "target/dependency/junit-3.8.1.jar" );

System.out.println( "Checking for existence of " + file );
if ( !file.isFile() )
{
   throw new Exception( "Missing " + file );
}

file = new File( basedir, "target/dependency/junit" );
System.out.println( "Checking for existence of " + file );
if ( !file.isDirectory() )
{
   throw new Exception( "Missing " + file );
}

file = new File( basedir, "target/repo/junit/junit/3.8.1/junit-3.8.1.jar" );
System.out.println( "Checking for existence of " + file );
if ( !file.isFile() )
{
   throw new Exception( "Missing " + file );
}

return true;

 =======================================================================
 ==src/it/copy-cli/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:copy

 =======================================================================
 ==src/it/copy-cli/test.properties
 =======================================================================
artifact=org.apache.maven:maven-model:2.0.6

 =======================================================================
 ==src/it/copy-cli/verify.bsh
 =======================================================================
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;

 =======================================================================
 ==src/it/copy-dependencies/invoker.properties
 =======================================================================
invoker.goals = clean process-sources

 =======================================================================
 ==src/it/copy-dependencies/verify.bsh
 =======================================================================
import java.io.*;

File libDir = new File( basedir, "target/it/copy-dep-test-1" );

String[] expectedFiles = {
    "maven-model-2.0.6.jar",
    "maven-model-2.0.6.pom",
    "plexus-utils-1.4.1.jar",
    "plexus-utils-1.4.1.pom",
    "maven-model-2.0.6-sources.jar",
    "maven-model-2.0.6-javadoc.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 );
    }
}

libDir = new File( basedir, "target/it/copy-dep-test-2" );

String [] expectedFiles2 = {
    "maven-model-2.0.6.jar",
    "plexus-utils-1.4.1.jar",
};

String [] unexpectedFiles2 = {
    "plexus-utils-1.4.1.pom",
    "maven-model-2.0.6.pom",
    "maven-model-2.0.6-sources.jar",
    "maven-model-2.0.6-javadoc.jar",
};

for ( String expectedFile : expectedFiles2 )
{
    File file = new File( libDir, expectedFile );
    System.out.println( "Checking for existence of " + file );
    if ( !file.isFile() )
    {
        throw new Exception( "Missing file " + file );
    }
}

for ( String unexpectedFile : unexpectedFiles2 )
{
    File file = new File( libDir, unexpectedFile );

 =======================================================================
 ==src/it/copy-from-reactor/invoker.properties
 =======================================================================
invoker.goals = clean package

 =======================================================================
 ==src/it/copy-from-reactor/verify.bsh
 =======================================================================
import java.io.*;

File libDir = new File( basedir, "child-b/target/dependency" );

String[] expectedFiles = {
    "child-a-1.0-SNAPSHOT.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;

 =======================================================================
 ==src/it/dependency-properties/invoker.properties
 =======================================================================
invoker.goals = initialize

 =======================================================================
 ==src/it/dependency-properties/verify.bsh
 =======================================================================
import java.io.*;

File projectProperties = new File( basedir, "target/project.properties" );

Properties props = new Properties();
props.load( new FileInputStream( projectProperties ) );

String junitJarPath = props.getProperty( "junit:junit:jar" );
if ( junitJarPath == null )
{
    throw new Exception( "junit:junit:jar is null" );
}
if ( ! (new File( junitJarPath )).isFile() )
{
    throw new Exception( "junit jar is not a file: " + junitJarPath );
}

String mavenArtifactPath = props.getProperty( "org.apache.maven:maven-artifact:jar" );
if ( mavenArtifactPath == null )
{
    throw new Exception( "org.apache.maven:maven-artifact:jar is null" );
}
if ( ! (new File( mavenArtifactPath )).isFile() )
{
    throw new Exception( "maven-artifact jar is not a file: " + mavenArtifactPath );
}

return true;

 =======================================================================
 ==src/it/filterunpack/verify.groovy
 =======================================================================
expected = ['/META-INF/MANIFEST.MF']

for (item in expected)
{
    def file = new File(basedir, 'target/dependency' + item)
    if (!file.exists())
    {
       throw new RuntimeException("Missing "+file.name);
    }
}

notExpected = ['/stylesheet.css']

for (item in notExpected)
{
    def file = new File(basedir, 'target/dependency' + item)    
    if (file.exists())
    {
       throw new RuntimeException("This file shouldn't be here: "+file.name);
    }
}

return true;

 =======================================================================
 ==src/it/go-offline/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:go-offline

 =======================================================================
 ==src/it/go-offline/test.properties
 =======================================================================
outputFile = target/tree.txt

 =======================================================================
 ==src/it/purge-local-repository/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository

 =======================================================================
 ==src/it/purge-local-repository/setup.bsh
 =======================================================================
import java.io.*;

File purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" );

purgedJar.getParentFile().mkdirs();
purgedJar.createNewFile();

System.out.println( "Created dummy JAR " + purgedJar );

return true;

 =======================================================================
 ==src/it/purge-local-repository/test.properties
 =======================================================================
reResolve = false

 =======================================================================
 ==src/it/purge-local-repository/verify.bsh
 =======================================================================
import java.io.*;

File purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" );

System.out.println( "Checking for absence of dummy JAR " + purgedJar );

if ( purgedJar.exists() )
{
    throw new Exception( "JAR was not purged: " + purgedJar );
}

return true;

 =======================================================================
 ==src/it/purge-local-repository-bad-pom/invoker.properties
 =======================================================================
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

 =======================================================================
 ==src/it/purge-local-repository-bad-pom/setup.bsh
 =======================================================================
import java.io.*;

File localRepoDir = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/" );
localRepoDir.mkdirs();

File badPomSrc = new File( basedir, "bad-pom.xml" );
File badPomDest = new File( localRepoDir, "purge-local-repository-1.0.pom" );

System.out.println( "Moving bad pom: " + badPomSrc );
if ( ! badPomSrc.renameTo( badPomDest ) )
{
    System.out.println( "Unable to move file: " + badPomSrc );
}
System.out.println( "Moved to: " + badPomDest ); 

return true;

 =======================================================================
 ==src/it/purge-local-repository-bad-pom/test.properties
 =======================================================================
actTransitively = true
reResolve = true

 =======================================================================
 ==src/it/purge-local-repository-bad-pom/verify.bsh
 =======================================================================
import java.io.*;

System.out.println( "Checking for presence of purged dependency directories" );

File depJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar" );

if ( !depJar.exists() )
{
    throw new Exception( "Direct dependency jar was not re-resolved: " + depJar );
}

File depPom = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.pom" );

if ( !depPom.exists() )
{
    throw new Exception( "Direct dependency pom was not re-resolved: " + depPom );
}

File transitiveDepJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar" );

if ( !transitiveDepJar.exists() )
{
    throw new Exception( "Transitive dep jar was not re-resolved: " + transitiveDepJar );
}

File transitiveDepPom = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.pom" );

if ( !transitiveDepPom.exists() )
{
    throw new Exception( "Transitive dep pom was not re-resolved: " + transitiveDepPom );
}

return true;

 =======================================================================
 ==src/it/purge-local-repository-non-transitive/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve ${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository

 =======================================================================
 ==src/it/purge-local-repository-non-transitive/test.properties
 =======================================================================
reResolve = false
actTransitively = false

 =======================================================================
 ==src/it/purge-local-repository-non-transitive/verify.bsh
 =======================================================================
import java.io.*;

File depDir = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0" );

System.out.println( "Checking for absence of purged dependency directory " + depDir );

if ( depDir.exists() )
{
    throw new Exception( "Directory was not deleted: " + depDir );
}

File transitiveDepDir = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository-2/1.0" );

if ( !transitiveDepDir.exists() )
{
    throw new Exception( "Transitive dep was purged: " + transitiveDepDir );
}

return true;

 =======================================================================
 ==src/it/purge-local-repository-reresolve/invoker.properties
 =======================================================================
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

 =======================================================================
 ==src/it/purge-local-repository-reresolve/verify.bsh
 =======================================================================
import java.io.*;

System.out.println( "Checking for presence of purged dependency directories" );

File depJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar" );

if ( !depJar.exists() )
{
    throw new Exception( "Direct dependency jar was not re-resolved: " + depJar );
}

File depPom = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.pom" );

if ( !depPom.exists() )
{
    throw new Exception( "Direct dependency pom was not re-resolved: " + depPom );
}

File transitiveDepJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar" );

if ( !transitiveDepJar.exists() )
{
    throw new Exception( "Transitive dep jar was not re-resolved: " + transitiveDepJar );
}

File transitiveDepPom = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.pom" );

if ( !transitiveDepPom.exists() )
{
    throw new Exception( "Transitive dep pom was not re-resolved: " + transitiveDepPom );
}

return true;

 =======================================================================
 ==src/it/purge-local-repository-snapshots-only/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository

 =======================================================================
 ==src/it/purge-local-repository-snapshots-only/setup.bsh
 =======================================================================
import java.io.*;

File purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" );

purgedJar.getParentFile().mkdirs();
purgedJar.createNewFile();

System.out.println( "Created dummy JAR " + purgedJar );

purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/snap-purged/1.0-SNAPSHOT/snap-purged-1.0-SNAPSHOT.jar" );

purgedJar.getParentFile().mkdirs();
purgedJar.createNewFile();

System.out.println( "Created dummy JAR " + purgedJar );


return true;

 =======================================================================
 ==src/it/purge-local-repository-snapshots-only/test.properties
 =======================================================================
reResolve = false
snapshotsOnly = true

 =======================================================================
 ==src/it/purge-local-repository-snapshots-only/verify.bsh
 =======================================================================
import java.io.*;

File nonPurgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purged/1.0/purged-1.0.jar" );

System.out.println( "Checking for presence of dummy JAR " + nonPurgedJar );

if ( !nonPurgedJar.exists() )
{
    throw new Exception( "JAR was purged: " + nonPurgedJar );
}


File purgedJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/snap-purged/1.0-SNAPSHOT/snap-purged-1.0-SNAPSHOT.jar" );

System.out.println( "Checking for absence of dummy JAR " + purgedJar );

if ( purgedJar.exists() )
{
    throw new Exception( "JAR was not purged: " + purgedJar );
}

return true;

 =======================================================================
 ==src/it/purge-local-repository-version-range/invoker.properties
 =======================================================================
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

 =======================================================================
 ==src/it/purge-local-repository-version-range/test.properties
 =======================================================================
reResolve = true
actTransitively = true

 =======================================================================
 ==src/it/purge-local-repository-version-range/verify.bsh
 =======================================================================
import java.io.*;

System.out.println( "Checking for presence of purged dependency directories" );

File depJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar" );

if ( !depJar.exists() )
{
    throw new Exception( "Direct dependency jar was not re-resolved: " + depJar );
}

File depPom = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.pom" );

if ( !depPom.exists() )
{
    throw new Exception( "Direct dependency pom was not re-resolved: " + depPom );
}

File transitiveDepJar = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar" );

if ( !transitiveDepJar.exists() )
{
    throw new Exception( "Transitive dep jar was not re-resolved: " + transitiveDepJar );
}

File transitiveDepPom = new File( localRepositoryPath, "org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.pom" );

if ( !transitiveDepPom.exists() )
{
    throw new Exception( "Transitive dep pom was not re-resolved: " + transitiveDepPom );
}

return true;

 =======================================================================
 ==src/it/resolve/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve

 =======================================================================
 ==src/it/resolve/test.properties
 =======================================================================
outputFile = target/resolved.txt

 =======================================================================
 ==src/it/resolve-plugins/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve-plugins

 =======================================================================
 ==src/it/resolve-plugins/test.properties
 =======================================================================
outputFile = target/resolved.txt

 =======================================================================
 ==src/it/resolve-plugins-exclude-reactor/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve-plugins

 =======================================================================
 ==src/it/resolve-plugins-exclude-reactor/verify.groovy
 =======================================================================
new File(basedir, "target/resolved.txt").eachLine { line -> 
  if ( line =~ /child-a/ ){
    throw new RuntimeException( "Reactor plugin 'child-a' should be excluded!" )
  }
}

return true;

 =======================================================================
 ==src/it/resolve-plugins-with-exclude/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:resolve-plugins

 =======================================================================
 ==src/it/resolve-plugins-with-exclude/test.properties
 =======================================================================
outputFile = target/resolved.txt

 =======================================================================
 ==src/it/resolve-plugins-with-exclude/verify.groovy
 =======================================================================
new File(basedir, "target/resolved.txt").eachLine { line -> 
  if ( line =~ /maven-surefire-plugin/ ){
    throw new RuntimeException( "Surefire plugin should be excluded!" )
  }
  else if ( line =~ /maven-dependency-plugin/ ){
    throw new RuntimeException( "Dependency plugin should be excluded!" )
  }
}

return true;

 =======================================================================
 ==src/it/setup-custom-ear-lifecycle/invoker.properties
 =======================================================================
invoker.goals = clean install

 =======================================================================
 ==src/it/setup-custom-ear-lifecycle/manager/pom.xml
 =======================================================================
<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>

 =======================================================================
 ==src/it/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogArchiver.java
 =======================================================================
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;
    }
}

 =======================================================================
 ==src/it/setup-custom-ear-lifecycle/manager/src/main/java/org/apache/maven/archiver/LogUnArchiver.java
 =======================================================================
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 );
    }
}

 =======================================================================
 ==src/it/setup-custom-ear-lifecycle/plugin/pom.xml
 =======================================================================
<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>

 =======================================================================
 ==src/it/setup-custom-ear-lifecycle/plugin/src/main/java/org/apache/maven/plugins/EarMojo.java
 =======================================================================
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 );
    }
}

 =======================================================================
 ==src/it/setup-custom-ear-lifecycle/pom.xml
 =======================================================================
<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>

 =======================================================================
 ==src/it/sources/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:sources

 =======================================================================
 ==src/it/sources/test.properties
 =======================================================================
outputFile = target/resolved.txt

 =======================================================================
 ==src/it/tree/expected.txt
 =======================================================================
org.apache.maven.its.dependency:test:jar:1.0-SNAPSHOT
\- org.apache.maven:maven-project:jar:2.0.6:compile
   +- org.apache.maven:maven-settings:jar:2.0.6:compile
   +- org.apache.maven:maven-profile:jar:2.0.6:compile
   +- org.apache.maven:maven-model:jar:2.0.6:compile
   +- org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
   |  +- org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
   |  \- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:compile
   +- org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
   +- org.codehaus.plexus:plexus-utils:jar:1.4.1:compile
   +- org.apache.maven:maven-artifact:jar:2.0.6:compile
   \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
      +- junit:junit:jar:3.8.1:compile
      \- classworlds:classworlds:jar:1.1-alpha-2:compile

 =======================================================================
 ==src/it/tree/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:tree

 =======================================================================
 ==src/it/tree/test.properties
 =======================================================================
outputFile = target/tree.txt

 =======================================================================
 ==src/it/tree/verify.bsh
 =======================================================================
import java.io.*;

import org.codehaus.plexus.util.*;

String actual = FileUtils.fileRead( new File( basedir, "target/tree.txt" ) );
String expected = FileUtils.fileRead( new File( basedir, "expected.txt" ) );

actual = actual.replaceAll( "[\n\r]+", "\n" );
expected = expected.replaceAll( "[\n\r]+", "\n" );

System.out.println( "Checking dependency tree..." );

if ( !actual.equals( expected ) )
{
    throw new Exception( "Unexpected dependency tree" );
}

return true;

 =======================================================================
 ==src/it/unpack/invoker.properties
 =======================================================================
invoker.goals = clean package

 =======================================================================
 ==src/it/unpack/verify.bsh
 =======================================================================
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;

 =======================================================================
 ==src/it/unpack-cli/invoker.properties
 =======================================================================
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:unpack


 =======================================================================
 ==src/it/unpack-cli/test.properties
 =======================================================================
artifact=qdox:qdox:1.5:tar.gz:src
outputDirectory=target/output spaces directory

 =======================================================================
 ==src/it/unpack-cli/verify.bsh
 =======================================================================
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;

 =======================================================================
 ==src/it/unpack-custom-ear/invoker.properties
 =======================================================================
invoker.goals = clean integration-test

 =======================================================================
 ==src/it/unpack-dependencies/invoker.properties
 =======================================================================
invoker.goals = clean package

 =======================================================================
 ==src/it/unpack-dependencies/verify.groovy
 =======================================================================
expected = ['org','junit']

for (item in expected)
{
    def file = new File(basedir, 'target/dependency/' + item)
    if (!file.exists())
    {
       throw new RuntimeException("Missing "+file.name);
    }
}

notExpected = ['META-INF','LICENSE.TXT']

for (item in notExpected)
{
    def file = new File(basedir, 'target/dependency/' + item)
    if (file.exists())
    {
       throw new RuntimeException("This file shouldn't be here: "+file.name);
    }
}

return true;

 =======================================================================
 ==src/it-harness-poms/copy-dependencies/pom.xml
 =======================================================================
<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>
    <groupId>org.apache.maven.plugins.maven-dependency-plugin-it</groupId>
    <artifactId>copy-dependencies-it</artifactId>
    <version>1</version>
  <packaging>pom</packaging>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.1</version>
    </dependency>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant</artifactId>
      <version>1.6</version>
    </dependency>
  </dependencies>
  <build>
    <defaultGoal>generate-sources</defaultGoal>
  <plugins>
      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>
           <execution>
             <id>copy-dependencies</id>
             <phase>package</phase>
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
             <configuration>
               <stripVersion>true</stripVersion>
               <outputDirectory>libs</outputDirectory>
             </configuration>
           </execution>
         </executions>
       </plugin>
     </plugins>
  </build>
</project>

 =======================================================================
 ==src/it-harness-poms/copy-dependencies2/pom.xml
 =======================================================================
<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>
    <groupId>org.apache.maven.plugins.maven-dependency-plugin-it</groupId>
    <artifactId>copy-dependencies-it</artifactId>
    <version>1</version>
  <packaging>pom</packaging>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.1</version>
    </dependency>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant</artifactId>
      <version>1.6</version>
    </dependency>
  </dependencies>
  <build>
    <defaultGoal>generate-sources</defaultGoal>
  <plugins>
      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
              <configuration>
               <stripVersion>true</stripVersion>
               <outputDirectory>libs</outputDirectory>
             </configuration>
        </plugin>
     </plugins>
  </build>
</project>

 =======================================================================
 ==src/it-harness-poms/mdep-27/pom.xml
 =======================================================================
<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>
	<groupId>org.apache.maven.plugins.maven-dependency-plugin-it</groupId>
	<artifactId>mdep-27-it</artifactId>
	<version>1</version>
	<packaging>jar</packaging>
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.1</version>
		</dependency>
		<dependency>
			<groupId>ant</groupId>
			<artifactId>ant</artifactId>
			<version>1.6</version>
		</dependency>
	</dependencies>
	<build>
		<defaultGoal>generate-sources</defaultGoal>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>copy</id>
						<phase>initialize</phase>
						<goals>
							<goal>copy</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>ant</groupId>
									<artifactId>ant</artifactId>
									<version>1.6</version>
									<outputDirectory>${project.build.directory}\test-copy</outputDirectory>
								</artifactItem>
							</artifactItems>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>

 =======================================================================
 ==src/it-harness-poms/mdep-50/pom.xml
 =======================================================================
<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>
	<groupId>org.apache.maven.plugins.maven-dependency-plugin-it</groupId>
	<artifactId>mdep-50-it</artifactId>
	<version>1</version>
	<packaging>jar</packaging>
	<build>
		<defaultGoal>generate-sources</defaultGoal>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<version>2.0-alpha-2-SNAPSHOT</version>
				<executions>
					<execution>
						<id>unpack</id>
						<phase>compile</phase>
						<goals>
							<goal>unpack</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>junit</groupId>
									<artifactId>junit</artifactId>
									<version>[3.7,4.0)</version>
								</artifactItem>
								<artifactItem>
									<groupId>ant</groupId>
									<artifactId>ant</artifactId>
									<version>[1.1,1.5)</version>
								</artifactItem>
							</artifactItems>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>

 =======================================================================
 ==src/it-harness-poms/mdep-61/pom.xml
 =======================================================================
<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>
	<groupId>org.apache.maven.plugins.maven-dependency-plugin-it</groupId>
	<artifactId>mdep-61-it</artifactId>
	<version>1</version>
	<packaging>jar</packaging>
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>ant</groupId>
			<artifactId>ant</artifactId>
			<version>1.6.5</version>
			<scope>compile</scope>
		</dependency>
	</dependencies>
	<build>
		<defaultGoal>generate-sources</defaultGoal>
		<plugins>
			<plugin>
         		<groupId>org.apache.maven.plugins</groupId>
          			<artifactId>maven-dependency-plugin</artifactId>
		              <executions>
		                    <execution>
		                        <id>compile-only</id>
								<phase>generate-sources</phase>
		                        <goals>
		                            <goal>copy-dependencies</goal>
		                        </goals>
		                        <configuration>
									<includeScope>compile</includeScope>
		                        </configuration>
		                    </execution>
							<execution>
		                        <id>test</id>
								<phase>generate-sources</phase>
		                        <goals>
		                            <goal>copy-dependencies</goal>
		                        </goals>
		                        <configuration>
									<includeScope>test</includeScope>
		                        </configuration>
		                    </execution>
		                </executions>
            		</plugin>

 =======================================================================
 ==src/it-harness-poms/mdep-66/pom.xml
 =======================================================================
<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>
	<groupId>org.apache.maven.plugins.maven-dependency-plugin-it</groupId>
	<artifactId>mdep-66-it</artifactId>
	<version>1</version>
	<packaging>jar</packaging>
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>ant</groupId>
			<artifactId>ant</artifactId>
			<version>1.6.5</version>
			<scope>compile</scope>
		</dependency>
	</dependencies>
	<build>
		<defaultGoal>generate-sources</defaultGoal>
		<plugins>
			<plugin>
         		<groupId>org.apache.maven.plugins</groupId>
          			<artifactId>maven-dependency-plugin</artifactId>
		              <executions>
		                    <execution>
		                        <id>compile-sources</id>
								<phase>generate-sources</phase>
		                        <goals>
		                            <goal>sources</goal>
		                        </goals>
		                        <configuration>
									<includeScope>compile</includeScope>
		                        </configuration>
		                    </execution>
							<execution>
		                        <id>test-sources</id>
								<phase>generate-sources</phase>
		                        <goals>
		                            <goal>sources</goal>
		                        </goals>
		                        <configuration>
									<includeScope>test</includeScope>
		                        </configuration>
		                    </execution>
		                </executions>
            		</plugin>

 =======================================================================
 ==src/it-harness-poms/mdep-67/pom.xml
 =======================================================================
<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>
	<groupId>org.apache.maven.plugins.maven-dependency-plugin-it</groupId>
	<artifactId>mdep-67-it</artifactId>
	<version>1</version>
	<packaging>jar</packaging>
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.1</version>
		</dependency>
	</dependencies>
	<build>
		<defaultGoal>generate-sources</defaultGoal>
		<plugins>
			<plugin>
         		<groupId>org.apache.maven.plugins</groupId>
          			<artifactId>maven-dependency-plugin</artifactId>
		              <executions>
		                    <execution>
		                        <id>copy</id>
		                        <phase>compile</phase>
		                        <goals>
		                            <goal>copy</goal>
		                        </goals>
		                        <configuration>
		                            <artifactItems>
		                                <artifactItem>
		                                    <groupId>junit</groupId>
		                                    <artifactId>junit</artifactId>
		                                    <type>java-source</type>
		                                    <outputDirectory>${project.build.directory}/junit-sources</outputDirectory>                                    
		                                </artifactItem>
		                            </artifactItems>
		                        </configuration>
		                    </execution>
		                </executions>
            		</plugin>
		</plugins>
	</build>
</project>

 =======================================================================
 ==src/test/java/org/codehaus/plexus/util/interpolation/Interpolator.java
 =======================================================================
package org.codehaus.plexus.util.interpolation;

/**
 * COPIED FROM plexus-utils-1.5.15 TO SATISFY TESTS
 *
 * Interpolator interface. Based on existing RegexBasedInterpolator interface.
 *
 * @author cstamas
 * @deprecated Use plexus-interpolation APIs instead.
 * @version $Id: Interpolator.java 12174 2010-05-16 21:04:35Z rfscholte $
 */
public interface Interpolator
    extends org.codehaus.plexus.interpolation.Interpolator
{
}

 =======================================================================
 ==src/test/java/org/codehaus/plexus/util/interpolation/RegexBasedInterpolator.java
 =======================================================================
package org.codehaus.plexus.util.interpolation;

import java.util.List;

/**
 * COPIED FROM plexus-utils-1.5.15 TO SATISFY TESTS
 *
 * @version $Id: RegexBasedInterpolator.java 12174 2010-05-16 21:04:35Z rfscholte $
 * @deprecated Use plexus-interpolation APIs instead.
 */
public class RegexBasedInterpolator
    extends org.codehaus.plexus.interpolation.RegexBasedInterpolator
    implements Interpolator
{
    public RegexBasedInterpolator()
    {
        super();
    }

    public RegexBasedInterpolator( List valueSources )
    {
        super( valueSources );
    }

    public RegexBasedInterpolator( String startRegex,
                                   String endRegex,
                                   List valueSources )
    {
        super( startRegex, endRegex, valueSources );
    }

    public RegexBasedInterpolator( String startRegex,
                                   String endRegex )
    {
        super( startRegex, endRegex );
    }

    public void addValueSource( ValueSource valueSource )
    {
        super.addValueSource( valueSource );
    }

    public void removeValuesSource( ValueSource valueSource )
    {
        super.removeValuesSource( valueSource );
    }
}

 =======================================================================
 ==src/test/java/org/codehaus/plexus/util/interpolation/ValueSource.java
 =======================================================================
package org.codehaus.plexus.util.interpolation;

/**
 * COPIED FROM plexus-utils-1.5.15 TO SATISFY TESTS
 *
 * @author jdcasey
 * @deprecated Use plexus-interpolation APIs instead.
 * @version $Id: ValueSource.java 12174 2010-05-16 21:04:35Z rfscholte $
 */
public interface ValueSource  extends org.codehaus.plexus.interpolation.ValueSource
{

}

 =======================================================================
 ==src/test/resources/its/check-harness/test.bat
 =======================================================================
@echo off
rem cmd.exe /X /C ""C:\Program Files\maven2\bin\mvn.bat" -B -X -Dmaven.repo.local=E:\svn\Maven\maven-plugins\maven-dependency-plugin\target\test-classes\m2repo -Dtest=true install && exit /B %ERRORLEVEL%"
cmd.exe /X /C "ant --version && exit /B %ERRORLEVEL%"
rem cmd /C ant
goto answer%errorlevel%
:answer0
echo Program had return code 0
goto end
:answer1
echo Program had return code 1
goto end
:end
echo done! 

 =======================================================================
 ==src/test/resources/m2repo/maven/maven-parent/5/maven-parent-5.pom.sha1
 =======================================================================
5c1ab38decaca1ccd08294aeab135047ebbae00d

 =======================================================================
 ==src/test/resources/m2repo/maven/plugins/maven-dependency-plugin/maven-metadata-local.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-dependency-plugin</artifactId>
  <version>test</version>
  <versioning>
    <versions>
      <version>test</version>
    </versions>
    <lastUpdated>20070726203738</lastUpdated>
  </versioning>
</metadata>

 =======================================================================
 ==src/test/resources/m2repo/maven/plugins/maven-metadata-central.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?><metadata />

 =======================================================================
 ==src/test/resources/m2repo/maven/plugins/maven-plugins/8/maven-plugins-8.pom
 =======================================================================
<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>
  <parent>
    <groupId>org.apache.maven</groupId>
    <artifactId>maven-parent</artifactId>
    <version>5</version>
    <relativePath>../pom/maven/pom.xml</relativePath>
  </parent>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-plugins</artifactId>
  <packaging>pom</packaging>
  <version>8</version>
  <name>Maven Plugins</name>
  <description>Maven Plugins</description>
  <url>http://maven.apache.org/plugins/</url>
  <mailingLists>
    <mailingList>
      <name>Maven User List</name>
      <subscribe>users-subscribe@maven.apache.org</subscribe>
      <unsubscribe>users-unsubscribe@maven.apache.org</unsubscribe>
      <post>users@maven.apache.org</post>
      <archive>http://mail-archives.apache.org/mod_mbox/maven-users</archive>
      <otherArchives>
        <otherArchive>http://www.mail-archive.com/users@maven.apache.org/</otherArchive>
        <otherArchive>http://www.nabble.com/Maven---Users-f178.html</otherArchive>
      </otherArchives>
    </mailingList>
    <mailingList>
      <name>Maven Developer List</name>
      <subscribe>dev-subscribe@maven.apache.org</subscribe>
      <unsubscribe>dev-unsubscribe@maven.apache.org</unsubscribe>
      <post>dev@maven.apache.org</post>
      <archive>http://mail-archives.apache.org/mod_mbox/maven-dev</archive>
    </mailingList>
    <mailingList>
      <name>Maven Commits List</name>
      <subscribe>commits-subscribe@maven.apache.org</subscribe>
      <unsubscribe>commits-unsubscribe@maven.apache.org</unsubscribe>
      <post>commits@maven.apache.org</post>
      <archive>http://mail-archives.apache.org/mod_mbox/maven-dev</archive>
    </mailingList>
    <!-- duplication from parent pom - temporary until they inherit properly -->
    <mailingList>
      <name>Maven Announcements List</name>
      <post>announce@maven.apache.org</post>
      <subscribe>announce-subscribe@maven.apache.org</subscribe>
      <unsubscribe>announce-unsubscribe@maven.apache.org</unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/maven-announce/</archive>
    </mailingList>

 =======================================================================
 ==src/test/resources/m2repo/maven/plugins/maven-plugins/8/maven-plugins-8.pom.sha1
 =======================================================================
4bbf69fd14bedf85a73efa1e7b685a317c950c24

 =======================================================================
 ==src/test/resources/m2repo/maven/plugins/maven-plugins/9-SNAPSHOT/maven-metadata-local.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-plugins</artifactId>
  <version>9-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <localCopy>true</localCopy>
    </snapshot>
    <lastUpdated>20070726203738</lastUpdated>
  </versioning>
</metadata>

 =======================================================================
 ==src/test/resources/m2repo/maven/plugins/maven-plugins/maven-metadata-local.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-plugins</artifactId>
  <version>9-SNAPSHOT</version>
  <versioning>
    <versions>
      <version>9-SNAPSHOT</version>
    </versions>
    <lastUpdated>20070726203738</lastUpdated>
  </versioning>
</metadata>

 =======================================================================
 ==src/test/resources/m2repo/maven/plugins/maven-site-plugin/maven-metadata-central.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-site-plugin</artifactId>
</metadata>

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.jar.sha1
 =======================================================================
fdf56536ea1e83a9a00cc0242322eec577d871c9  purge-local-repository-1.0.jar

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/1.0/purge-local-repository-1.0.pom.sha1
 =======================================================================
00f2e3a3760cc828900e0e7587cf8079671a1646  purge-local-repository-1.0.pom

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/maven-metadata.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.apache.maven.its.dependency</groupId>
  <artifactId>purge-local-repository</artifactId>
  <versioning>
    <latest>1.0</latest>
    <release>1.0</release>
    <versions>
      <version>1.0</version>
    </versions>
  </versioning>
</metadata>

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository/maven-metadata.xml.sha1
 =======================================================================
37426f8712b7fb97b6f6fa55e363dabc6f81ccef 

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.jar.sha1
 =======================================================================
fdf56536ea1e83a9a00cc0242322eec577d871c9  purge-local-repository-2-1.0.jar

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/1.0/purge-local-repository-2-1.0.pom.sha1
 =======================================================================
bdb3ca7130bda98d453079b414335b7f7146dc99  purge-local-repository-2-1.0.pom

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/maven-metadata.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.apache.maven.its.dependency</groupId>
  <artifactId>purge-local-repository-2</artifactId>
  <versioning>
    <latest>1.0</latest>
    <release>1.0</release>
    <versions>
      <version>1.0</version>
    </versions>
  </versioning>
</metadata>

 =======================================================================
 ==src/test/resources/m2repo/org/apache/maven/its/dependency/purge-local-repository-2/maven-metadata.xml.sha1
 =======================================================================
a6bd7b895b322500d530480c78c0793c0a59c027 

 =======================================================================
 ==src/test/resources/m2repo/test/resolve/maven-metadata-local.xml
 =======================================================================
<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>test</groupId>
  <artifactId>resolve</artifactId>
  <version>1</version>
  <versioning>
    <versions>
      <version>1</version>
    </versions>
    <lastUpdated>20070726215957</lastUpdated>
  </versioning>
</metadata>