[forge-issues] [JBoss JIRA] (FURNACE-45) furnace maven plugin doens't use the maven settings and mirror and refuses to use the addon that have already been downloaded

George Gastaldi (JIRA) issues at jboss.org
Wed Oct 21 11:19:00 EDT 2015


     [ https://issues.jboss.org/browse/FURNACE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi updated FURNACE-45:
-----------------------------------
    Fix Version/s: 2.x Future
                   3.x Future


> furnace maven plugin doens't use the maven settings and mirror and refuses to use the addon that have already been downloaded
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FURNACE-45
>                 URL: https://issues.jboss.org/browse/FURNACE-45
>             Project: Forge: Furnace
>          Issue Type: Feature Request
>            Reporter: James Strachan
>             Fix For: 2.x Future, 3.x Future
>
>
> we've been using the furnace maven plugin for a while. We're trying to use a 'canary' style CD system where we build a bunch of projects internally on a nexus; test everything; then promote. However our Forge project is barfing now as its failing to download the camel forge addons which have been build and deployed to nexus.
> here's the trimmed output of the build
> {code}
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/fabric8-forge-web/2.2.0-3/fabric8-forge-web-2.2.0-3.war
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/camel/2.2.0-3/camel-2.2.0-3-forge-addon.jar
> 13:57:26 [INFO] Downloading: http://nexus/content/groups/public/io/fabric8/forge/utils/2.2.0-3/utils-2.2.0-3.jar
> ...
> 13:57:28 [INFO] Downloaded: http://nexus/content/groups/public/org/jboss/forge/addon/projects-api/2.15.2.Final/projects-api-2.15.2.Final.jar (27 KB at 10.8 KB/sec)
> 13:57:28 [INFO] 
> 13:57:28 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fabric8-forge ---
> 13:57:28 [INFO] 
> 13:57:28 [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ fabric8-forge ---
> 13:57:28 [INFO] 
> 13:57:28 [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ fabric8-forge ---
> 13:57:28 [INFO] 
> 13:57:28 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fabric8-forge ---
> 13:57:28 [INFO] Using 'UTF-8' encoding to copy filtered resources.
> 13:57:28 [INFO] Copying 1 resource
> 13:57:28 [INFO] 
> 13:57:28 [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fabric8-forge ---
> 13:57:28 [INFO] No sources to compile
> 13:57:29 [INFO] 
> 13:57:29 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fabric8-forge ---
> 13:57:29 [INFO] Using 'UTF-8' encoding to copy filtered resources.
> 13:57:29 [INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/quickstarts/apps/fabric8-forge/src/test/resources
> 13:57:29 [INFO] 
> 13:57:29 [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fabric8-forge ---
> 13:57:29 [INFO] No sources to compile
> 13:57:29 [INFO] 
> 13:57:29 [INFO] --- furnace-maven-plugin:2.17.0.Final:addon-install (deploy-addons) @ fabric8-forge ---
> 13:57:29 [INFO] Downloading: http://nexus/content/groups/public/org/jboss/forge/furnace/furnace/2.17.0.Final/furnace-2.17.0.Final.pom
> ...
> 13:57:30 [INFO] Downloaded: http://nexus/content/groups/public/net/sf/jgrapht/jgrapht/0.8.3/jgrapht-0.8.3.jar (240 KB at 571.6 KB/sec)
> 13:57:30 [INFO] Downloaded: http://nexus/content/groups/public/org/jboss/forge/furnace/furnace-manager-resolver-maven/2.17.0.Final/furnace-manager-resolver-maven-2.17.0.Final.jar (39 KB at 53.4 KB/sec)
> 13:57:30 Downloading: http://repo1.maven.org/maven2/io/fabric8/forge/camel/2.2.0-3/camel-2.2.0-3.pom
> 13:57:31 
> [INFO] Installation request for [io.fabric8.forge:camel,2.2.0-3] will: 
> 13:57:31 Deploy: [io.fabric8.forge:camel,2.2.0-3]
> 13:57:31 
> 13:57:31 Downloading: http://repo1.maven.org/maven2/io/fabric8/forge/camel/2.2.0-3/camel-2.2.0-3-forge-addon.jar
> 13:57:42 
> 13:57:43 [ERROR] Failed to execute goal org.jboss.forge.furnace:furnace-maven-plugin:2.17.0.Final:addon-install (deploy-addons) on project fabric8-forge: Execution deploy-addons of goal org.jboss.forge.furnace:furnace-maven-plugin:2.17.0.Final:addon-install failed: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact io.fabric8.forge:camel:jar:forge-addon:2.2.0-3 in central (http://repo1.maven.org/maven2) -> [Help 1]
> 13:57:43 [ERROR] 
> {code}
> Notice that its downloaded tons of stuff from the proxy - including the camel/2.2.0-3/camel-2.2.0-3-forge-addon.jar - then the furnace plugin decides to try again - but this time with maven central (even though its already downloaded)
> here's the maven settings
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <settings>
>   <!--This sends everything else to /public -->
>   <mirrors>
>     <mirror>
>       <id>nexus</id>
>       <mirrorOf>external:*</mirrorOf>
>       <url>http://nexus/content/groups/public</url>
>     </mirror>
>   </mirrors>
>   <servers>
>   <server>
>     <id>nexus</id>
>     <username>${env.NEXUS_USERNAME}</username>
>     <password>${env.NEXUS_PASSWORD}</password>
>   </server>
>     <server>
>       <id>local-nexus</id>
>       <username>${env.NEXUS_USERNAME}</username>
>       <password>${env.NEXUS_PASSWORD}</password>
>     </server>
>   </servers>
> </settings>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list