Skip to content

Instantly share code, notes, and snippets.

@ctrueden
Created March 27, 2012 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctrueden/2220389 to your computer and use it in GitHub Desktop.
Save ctrueden/2220389 to your computer and use it in GitHub Desktop.
Build failure when trying to install license-maven-plugin
: curtis@sirius ~/code/Maven/license-maven-plugin (fix-multi-line-copyright)
mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building License Maven Plugin 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ license-maven-plugin ---
[INFO]
[INFO] --- maven-plugin-plugin:2.9:helpmojo (help-mojo) @ license-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 8 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-plugin-plugin:2.9:helpmojo (default) @ license-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 8 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-plugin-plugin:2.9:descriptor (default-descriptor) @ license-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 8 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ license-maven-plugin ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 23 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ license-maven-plugin ---
[INFO] Compiling 1 source file to /Users/curtis/code/Maven/license-maven-plugin/target/classes
[INFO]
[INFO] --- plexus-component-metadata:1.5.5:generate-metadata (default) @ license-maven-plugin ---
[INFO] Discovered 13 component descriptors(s)
[INFO]
[INFO] --- plexus-maven-plugin:1.3.8:descriptor (create-component-descriptor) @ license-maven-plugin ---
[INFO] Discovered 13 component descriptors(s)
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ license-maven-plugin ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ license-maven-plugin ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.9:test (default-test) @ license-maven-plugin ---
[INFO] Surefire report directory: /Users/curtis/code/Maven/license-maven-plugin/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.codehaus.mojo.license.header.transformer.AbstractFileHeaderTransformerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.codehaus.mojo.license.header.transformer.XmlFileHeaderTransformerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.codehaus.mojo.license.LicenseSummaryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
Running org.codehaus.mojo.license.model.LicenseRepositoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec
Running org.codehaus.mojo.license.model.LicenseStoreTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Results :
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ license-maven-plugin ---
[INFO] Building jar: /Users/curtis/code/Maven/license-maven-plugin/target/license-maven-plugin-1.1-SNAPSHOT.jar
[INFO] META-INF/maven/org.codehaus.mojo/license-maven-plugin/pom.xml already added, skipping
[INFO] META-INF/maven/org.codehaus.mojo/license-maven-plugin/pom.properties already added, skipping
[INFO]
[INFO] --- maven-plugin-plugin:2.9:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ license-maven-plugin ---
[INFO]
[INFO] --- maven-invoker-plugin:1.5:install (integration-test) @ license-maven-plugin ---
[INFO] Installing /Users/curtis/code/Maven/license-maven-plugin/pom.xml to /Users/curtis/code/Maven/license-maven-plugin/target/local-repo/org/codehaus/mojo/license-maven-plugin/1.1-SNAPSHOT/license-maven-plugin-1.1-SNAPSHOT.pom
[INFO] Installing /Users/curtis/code/Maven/license-maven-plugin/target/license-maven-plugin-1.1-SNAPSHOT.jar to /Users/curtis/code/Maven/license-maven-plugin/target/local-repo/org/codehaus/mojo/license-maven-plugin/1.1-SNAPSHOT/license-maven-plugin-1.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-invoker-plugin:1.5:run (integration-test) @ license-maven-plugin ---
[INFO] Building: add-third-party/excluded-included/pom.xml
[INFO] ..SUCCESS (3.9 s)
[INFO] Building: add-third-party/merge-licenses/pom.xml
[INFO] ..SUCCESS (2.3 s)
[INFO] Building: add-third-party/missing-pom/pom.xml
[INFO] ..SUCCESS (2.8 s)
[INFO] Building: add-third-party/MLICENSE-2/pom.xml
[INFO] ..SUCCESS (3.1 s)
[INFO] Building: add-third-party/MLICENSE-21/pom.xml
[INFO] ..SUCCESS (5.7 s)
[INFO] Building: add-third-party/MLICENSE-23/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: add-third-party/MLICENSE-25/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: add-third-party/no-deps/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: add-third-party/no-encoding/pom.xml
[INFO] ..SUCCESS (2.9 s)
[INFO] Building: add-third-party/with-deps/pom.xml
[INFO] ..SUCCESS (2.8 s)
[INFO] Building: aggregate-add-third-party/bad-license/pom.xml
[INFO] ..SUCCESS (5.0 s)
[INFO] Building: aggregate-add-third-party/multimodule-filters/pom.xml
[INFO] ..SUCCESS (3.3 s)
[INFO] Building: aggregate-add-third-party/simple/pom.xml
[INFO] ..SUCCESS (2.9 s)
[INFO] Building: download-licenses/basic/pom.xml
[INFO] ..SUCCESS (3.9 s)
[INFO] Building: download-licenses/configured/pom.xml
[INFO] ..SUCCESS (2.7 s)
[INFO] Building: download-licenses/configured-alt-location/pom.xml
[INFO] ..FAILED (2.5 s)
[INFO] The post-build script returned false.
[INFO] Building: download-licenses/MLICENSE-24/pom.xml
[INFO] ..SUCCESS (10.2 s)
[INFO] Building: update-file-header/MLICENSE-3/pom.xml
[INFO] ..SUCCESS (2.8 s)
[INFO] Building: update-file-header/test-mojo/pom.xml
[INFO] ..SUCCESS (4.0 s)
[INFO] Building: update-project-license/MLICENSE-5/pom.xml
[INFO] ..SUCCESS (2.9 s)
[INFO] Building: update-project-license/test-mojo/pom.xml
[INFO] ..SUCCESS (3.0 s)
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 20, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * download-licenses/configured-alt-location/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:24.894s
[INFO] Finished at: Tue Mar 27 16:22:30 CDT 2012
[INFO] Final Memory: 21M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.5:run (integration-test) on project license-maven-plugin: 1 build failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
: curtis@sirius ~/code/Maven/license-maven-plugin (fix-multi-line-copyright)
cat target/it/download-licenses/configured-alt-location/build.log
Apache Maven 3.0.3 (r1075438; 2011-02-28 11:31:09-0600)
Maven home: /Users/curtis/brew/Cellar/maven/3.0.3/libexec
Java version: 1.6.0_29, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /Users/curtis/brew/Cellar/maven/3.0.3/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/curtis/code/Maven/license-maven-plugin/target/it/interpolated-settings.xml
[DEBUG] Using local repository at /Users/curtis/code/Maven/license-maven-plugin/target/local-repo
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /Users/curtis/code/Maven/license-maven-plugin/target/local-repo
[INFO] Scanning for projects...
[DEBUG] Extension realms for project org.codehaus.mojo.license:it-test:jar:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix license from [org.codehaus.mojo, org.apache.maven.plugins]
[DEBUG] Skipped remote update check for org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT/maven-metadata.xml, locally built metadata up-to-date.
[DEBUG] Skipped remote update check for org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT/maven-metadata.xml, locally built metadata up-to-date.
[DEBUG] Resolved plugin prefix license to org.codehaus.mojo:license-maven-plugin from POM org.codehaus.mojo.license:it-test:jar:1.0-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: org.codehaus.mojo.license:it-test:jar:1.0-SNAPSHOT
[DEBUG] Tasks: [clean, license:download-licenses]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Integration Test 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Resolving plugin prefix license from [org.codehaus.mojo, org.apache.maven.plugins]
[DEBUG] Resolved plugin prefix license to org.codehaus.mojo:license-maven-plugin from POM org.codehaus.mojo.license:it-test:jar:1.0-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: org.codehaus.mojo.license:it-test:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [local.central (file:////Users/curtis/.m2/repository, releases+snapshots), central (http://repo1.maven.org/maven2, releases)]
[DEBUG] Repositories (plugins) : [local.central (file:////Users/curtis/.m2/repository, releases+snapshots), central (http://repo1.maven.org/maven2, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<directory default-value="${project.build.directory}"/>
<excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
<failOnError default-value="true">${maven.clean.failOnError}</failOnError>
<followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<reportDirectory default-value="${project.reporting.outputDirectory}"/>
<skip default-value="false">${clean.skip}</skip>
<testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
<verbose>${clean.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT:download-licenses (default-cli)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<excludedScopes default-value="system">${license.excludedScopes}</excludedScopes>
<includeTransitiveDependencies default-value="true"/>
<includedScopes default-value="">${license.includedScopes}</includedScopes>
<licensesConfigFile default-value="${project.basedir}/src/license/licenses.xml">${licensesConfigFile}</licensesConfigFile>
<licensesOutputDirectory default-value="${project.build.directory}/generated-resources/licenses">${licensesOutputDirectory}</licensesOutputDirectory>
<licensesOutputFile default-value="${project.build.directory}/generated-resources/licenses.xml">${licensesOutputFile}</licensesOutputFile>
<localRepository default-value="${localRepository}"/>
<offline default-value="${settings.offline}"/>
<project default-value="${project}"/>
<quiet default-value="false"/>
<remoteRepositories default-value="${project.remoteArtifactRepositories}"/>
</configuration>
[DEBUG] =======================================================================
[DEBUG] org.codehaus.mojo.license:it-test:jar:1.0-SNAPSHOT
[DEBUG] commons-logging:commons-logging:jar:1.0:compile
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ it-test ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.sonatype.aether.transfer < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.sonatype.aether.metadata < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.sonatype.aether.collection < plexus.core
[DEBUG] Imported: org.sonatype.aether.version < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.sonatype.aether.repository < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.sonatype.aether.artifact < plexus.core
[DEBUG] Imported: org.sonatype.aether.spi < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.sonatype.aether.graph < plexus.core
[DEBUG] Imported: org.sonatype.aether.* < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.sonatype.aether.impl < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.sonatype.aether.deployment < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.sonatype.aether.installation < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.sonatype.aether.resolution < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1:
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1
[DEBUG] Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1, parent: sun.misc.Launcher$AppClassLoader@1f3e8d89]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean' with basic configurator -->
[DEBUG] (f) directory = /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target
[DEBUG] (f) excludeDefaultDirectories = false
[DEBUG] (f) failOnError = true
[DEBUG] (f) followSymLinks = false
[DEBUG] (f) outputDirectory = /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target/classes
[DEBUG] (f) reportDirectory = /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target/site
[DEBUG] (f) skip = false
[DEBUG] (f) testOutputDirectory = /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target/test-classes
[DEBUG] -- end configuration --
[DEBUG] Skipping non-existing directory /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target
[DEBUG] Skipping non-existing directory /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target/classes
[DEBUG] Skipping non-existing directory /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target/test-classes
[DEBUG] Skipping non-existing directory /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/target/site
[INFO]
[INFO] --- license-maven-plugin:1.1-SNAPSHOT:download-licenses (default-cli) @ it-test ---
[DEBUG] org.codehaus.mojo:license-maven-plugin:jar:1.1-SNAPSHOT:
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG] junit:junit:jar:4.10:test (scope managed from compile) (version managed from 3.8.1)
[DEBUG] org.hamcrest:hamcrest-core:jar:1.1:test
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG] org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
[DEBUG] org.nuiton.processor:nuiton-processor:jar:1.2.2:compile
[DEBUG] commons-lang:commons-lang:jar:2.5:compile
[DEBUG] commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG] commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG] log4j:log4j:jar:1.2.16:runtime
[DEBUG] Created new class realm plugin>org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT
[DEBUG] Included: org.codehaus.mojo:license-maven-plugin:jar:1.1-SNAPSHOT
[DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.5.15
[DEBUG] Included: org.nuiton.processor:nuiton-processor:jar:1.2.2
[DEBUG] Included: commons-lang:commons-lang:jar:2.5
[DEBUG] Included: commons-logging:commons-logging:jar:1.1.1
[DEBUG] Included: commons-collections:commons-collections:jar:3.2.1
[DEBUG] Included: log4j:log4j:jar:1.2.16
[DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-project:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.2.1
[DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG] Excluded: junit:junit:jar:4.10
[DEBUG] Excluded: org.hamcrest:hamcrest-core:jar:1.1
[DEBUG] Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.2.1
[DEBUG] Excluded: org.apache.maven:maven-model:jar:2.2.1
[DEBUG] Configuring mojo org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT:download-licenses from plugin realm ClassRealm[plugin>org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT, parent: sun.misc.Launcher$AppClassLoader@1f3e8d89]
[DEBUG] Configuring mojo 'org.codehaus.mojo:license-maven-plugin:1.1-SNAPSHOT:download-licenses' with basic configurator -->
[DEBUG] (s) excludedScopes = system
[DEBUG] (f) includeTransitiveDependencies = true
[DEBUG] (f) licensesConfigFile = /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/licenses.xml
[DEBUG] (f) licensesOutputDirectory = /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/licenseout
[DEBUG] (f) licensesOutputFile = /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/licensesout.xml
[DEBUG] (f) localRepository = id: local
url: file:///Users/curtis/code/Maven/license-maven-plugin/target/local-repo/
layout: none
[DEBUG] (f) offline = false
[DEBUG] (f) project = MavenProject: org.codehaus.mojo.license:it-test:1.0-SNAPSHOT @ /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/pom.xml
[DEBUG] (f) quiet = false
[DEBUG] (f) remoteRepositories = [ id: local.central
url: file:////Users/curtis/.m2/repository
layout: default
snapshots: [enabled => true, update => daily]
releases: [enabled => true, update => daily]
, id: central
url: http://repo1.maven.org/maven2
layout: default
snapshots: [enabled => false, update => daily]
releases: [enabled => true, update => daily]
]
[DEBUG] -- end configuration --
[INFO] detected artifact commons-logging--commons-logging--1.0
[INFO] add dependency [commons-logging--commons-logging--1.0]
[DEBUG] Checking licenses for project commons-logging:commons-logging:jar:1.0
[DEBUG] Downloading license(s) for project commons-logging:commons-logging
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.047s
[INFO] Finished at: Tue Mar 27 16:28:09 CDT 2012
[INFO] Final Memory: 4M/81M
[INFO] ------------------------------------------------------------------------
Running post-build script: /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/postbuild.bsh
Could not find license file: /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/licenseout/apache license 2.0 - license-2.0.txt
Finished post-build script: /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/postbuild.bsh
: curtis@sirius ~/code/Maven/license-maven-plugin (fix-multi-line-copyright)
ls -al /Users/curtis/code/Maven/license-maven-plugin/target/it/download-licenses/configured-alt-location/licenseout/
total 0
drwxr-xr-x 2 curtis staff 68 Mar 27 15:36 ./
drwxr-xr-x 10 curtis staff 340 Mar 28 11:52 ../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment