Hi George,
I configured Forge to use the HTTP proxy as explained in the link you provided but it
still doesn't work. here is the console output:
[workspace]$ addon-install-from-git --url
https://github.com/forge/addon-arquillian.git
***INFO*** Installing Addon from Git [0/4] ...
***INFO*** Installing Addon from Git:Cloning repository in
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0 [0/4] ...
***INFO*** Installing Addon from Git:Installing project into local repository [1/4]
...
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Arquillian Forge Addon 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ arquillian-addon ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ arquillian-addon
---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ arquillian-addon
---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create-timestamp (get-build-timestamp) @
arquillian-addon ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ arquillian-addon ---
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: C:\Users\nduminil\AppData\Local\Temp\1417527069016-0
[INFO] Storing buildNumber: UNKNOWN at timestamp: 1417527077924
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: 'git' n'est pas reconnu en tant que
commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: C:\Users\nduminil\AppData\Local\Temp\1417527069016-0
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ arquillian-addon
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ arquillian-addon ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 30 source files to
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @
arquillian-addon ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ arquillian-addon
---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ arquillian-addon ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ arquillian-addon ---
[INFO] Building jar:
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\target\arquillian-addon-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-source-plugin:2.3:jar-no-fork (attach-sources) @ arquillian-addon ---
[INFO] Building jar:
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\target\arquillian-addon-1.0.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (create-forge-addon) @ arquillian-addon ---
[INFO] Building jar:
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\target\arquillian-addon-1.0.0-SNAPSHOT-forge-addon.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ arquillian-addon ---
[INFO] Installing
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\target\arquillian-addon-1.0.0-SNAPSHOT.jar
to
C:\Users\nduminil\.m2\repository\org\arquillian\forge\arquillian-addon\1.0.0-SNAPSHOT\arquillian-addon-1.0.0-SNAPSHOT.jar
[INFO] Installing C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\pom.xml to
C:\Users\nduminil\.m2\repository\org\arquillian\forge\arquillian-addon\1.0.0-SNAPSHOT\arquillian-addon-1.0.0-SNAPSHOT.pom
[INFO] Installing
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\target\arquillian-addon-1.0.0-SNAPSHOT-sources.jar
to
C:\Users\nduminil\.m2\repository\org\arquillian\forge\arquillian-addon\1.0.0-SNAPSHOT\arquillian-addon-1.0.0-SNAPSHOT-sources.jar
[INFO] Installing
C:\Users\nduminil\AppData\Local\Temp\1417527069016-0\target\arquillian-addon-1.0.0-SNAPSHOT-forge-addon.jar
to
C:\Users\nduminil\.m2\repository\org\arquillian\forge\arquillian-addon\1.0.0-SNAPSHOT\arquillian-addon-1.0.0-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.789 s
[INFO] Finished at: 2014-12-02T14:31:21+01:00
[INFO] Final Memory: 261M/2031M
[INFO] ------------------------------------------------------------------------
***INFO*** Installing Addon from Git:Removing previous addon installation
(org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT) [2/4] ...
***INFO*** Installing Addon from Git:Installing addon
(org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT) [3/4] ...
***ERROR*** Addon org.arquillian.forge:arquillian-addon,1.0.0-SNAPSHOT could not be
installed: org.eclipse.aether.collection.DependencyCollectionException: Failed to read
artifact descriptor for
org.arquillian.forge:arquillian-addon:jar:forge-addon:1.0.0-SNAPSHOT
As you can see, despite the maven successful build, at the end there is an error saying
that everything failed. Any idea ?
Kind regards,
Nicolas
Posted by forums
Original post:
https://developer.jboss.org/message/912120#912120