Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assembler.sh issue #9

Open
soneyahossain opened this issue Apr 19, 2021 · 2 comments
Open

assembler.sh issue #9

soneyahossain opened this issue Apr 19, 2021 · 2 comments

Comments

@soneyahossain
Copy link

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] -------------------------------

@buaazmx
Copy link

buaazmx commented Mar 10, 2022

similar to me

@ashraf04066
Copy link

@soneyahossain, hello Did you get any way to solve this issue about slicing? I need to use it, but I'm facing the same problem. Can you suggest anything about slicing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants