Skip to content

assembler.sh issue  #9

@soneyahossain

Description

@soneyahossain

java version "1.6.0_45"
Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400)

./assemble.sh
Found 6 projects:

  • .
  • javaslicer-common
  • javaslicer-core (with assembly)
  • javaslicer-jung (with assembly)
  • javaslicer-traceReader (with assembly)
  • javaslicer-tracer (with assembly)

Pass 1: run clean and install on all projects iteratively, until all succeed:

  • .... failure
  • javaslicer-common... failure
  • javaslicer-core... failure
  • javaslicer-jung... failure
  • javaslicer-traceReader... failure
  • javaslicer-tracer... failure
    Error: No more progress, exiting!
    Components with errors:
  • .
  • javaslicer-common
  • javaslicer-core
  • javaslicer-jung
  • javaslicer-traceReader
  • javaslicer-tracer

Last error output:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building JAVASLICER Tracing Component
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.codehaus.org//org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.2' from repository codehaus-m2-repository (http://repository.codehaus.org/): repository.codehaus.org
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.2' from repository central (http://repo1.maven.org/maven2): Failed to transfer file: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar. Return code is: 501
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-clean-plugin -Dversion=2.2 -Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-clean-plugin -Dversion=2.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.2

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
codehaus-m2-repository (http://repository.codehaus.org/)

org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.2

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
codehaus-m2-repository (http://repository.codehaus.org/)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Apr 19 12:37:07 EDT 2021
[INFO] Final Memory: 4M/481M
[INFO] -------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions