[forge-users] Forge 2.12 - How to install add-ons ?

forge-users at lists.jboss.org forge-users at lists.jboss.org
Wed Dec 3 08:17:38 EST 2014


Hello George,

I ran the same command against an empty repository and here is the result:

Downloading: https://repo.maven.apache.org/maven2/org/jboss/jboss-parent/16/jboss-parent-16.pom

[SEVERE] The build could not read 1 project -> [Help 1]
[SEVERE]   
[SEVERE]   The project org.arquillian.forge:arquillian-addon:1.0.0-SNAPSHOT (C:\Users\nduminil\AppData\Local\Temp\1417606567445-0\pom.xml) has 1 error
[SEVERE]     Non-resolvable parent POM: Could not transfer artifact org.jboss:jboss-parent:pom:16 from/to central (https://repo.maven.apache.org/maven2): Error transferring file: Connection refused: connect from https://repo.maven.apache.org/maven2/org/jboss/jboss-parent/16/jboss-parent-16.pom and 'parent.relativePath' points at wrong local POM @ line 4, column 12 -> [Help 2]
[SEVERE] 
[SEVERE] To see the full stack trace of the errors, re-run Maven with the -e switch.
[SEVERE] Re-run Maven using the -X switch to enable full debug logging.
[SEVERE] 
[SEVERE] For more information about the errors and possible solutions, please read the following articles:
[SEVERE] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[SEVERE] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
***ERROR*** Unable to execute project build
[workspace]$ 

The mentioned POM is the following:

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <parent>
      <groupId>org.jboss</groupId>
      <artifactId>jboss-parent</artifactId>
      <version>16</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.arquillian.forge</groupId>
   <artifactId>arquillian-addon</artifactId>
   <version>1.0.0-SNAPSHOT</version>
   <name>Arquillian Forge Addon</name>
   <properties>
      <version.junit>4.11</version.junit>
      <version.jackson>1.9.1</version.jackson>
      <version.velocity>1.7</version.velocity>
      <furnace.version>2.12.2.Final</furnace.version>
      <version.arquillian_core>1.1.5.Final</version.arquillian_core>
   </properties>
   <dependencyManagement>
      <dependencies>
         <dependency>
            <groupId>org.jboss.arquillian</groupId>
            <artifactId>arquillian-bom</artifactId>
            <version>${version.arquillian_core}</version>
            <type>pom</type>
            <scope>import</scope>
         </dependency>
         <dependency>
            <groupId>org.jboss.forge</groupId>
            <artifactId>forge-bom</artifactId>
            <version>${furnace.version}</version>
            <type>pom</type>
            <scope>import</scope>
         </dependency>
      </dependencies>
   </dependencyManagement>
   <dependencies>
      <dependency>
         <groupId>org.apache.velocity</groupId>
         <artifactId>velocity</artifactId>
         <version>${version.velocity}</version>
         <scope>compile</scope>
      </dependency>
      <dependency>
         <groupId>org.codehaus.jackson</groupId>
         <artifactId>jackson-core-asl</artifactId>
         <version>${version.jackson}</version>
         <scope>compile</scope>
      </dependency>
      <dependency>
         <groupId>org.codehaus.jackson</groupId>
         <artifactId>jackson-mapper-asl</artifactId>
         <version>${version.jackson}</version>
         <scope>compile</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.furnace.container</groupId>
         <artifactId>cdi</artifactId>
         <classifier>forge-addon</classifier>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.addon</groupId>
         <artifactId>shell</artifactId>
         <classifier>forge-addon</classifier>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.addon</groupId>
         <artifactId>ui</artifactId>
         <classifier>forge-addon</classifier>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.addon</groupId>
         <artifactId>parser-java</artifactId>
         <classifier>forge-addon</classifier>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.addon</groupId>
         <artifactId>projects</artifactId>
         <classifier>forge-addon</classifier>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.addon</groupId>
         <artifactId>javaee</artifactId>
         <classifier>forge-addon</classifier>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.addon</groupId>
         <artifactId>maven</artifactId>
         <classifier>forge-addon</classifier>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.addon</groupId>
         <artifactId>ui-test-harness</artifactId>
         <classifier>forge-addon</classifier>
         <scope>test</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.furnace.test</groupId>
         <artifactId>furnace-test-harness</artifactId>
         <scope>test</scope>
      </dependency>
      <dependency>
         <groupId>org.jboss.forge.furnace.test</groupId>
         <artifactId>arquillian-furnace-classpath</artifactId>
         <scope>test</scope>
      </dependency>
      <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>${version.junit}</version>
         <scope>test</scope>
      </dependency>
   </dependencies>
   <build>
      <plugins>
         <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <executions>
               <execution>
                  <id>create-forge-addon</id>
                  <phase>package</phase>
                  <goals>
                     <goal>jar</goal>
                  </goals>
                  <inherited>false</inherited>
                  <configuration>
                     <classifier>forge-addon</classifier>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
</project>

Any suggestion ?

Many thanks in advance for your help.

Nicolas

Posted by forums
Original post: https://developer.jboss.org/message/912241#912241



More information about the forge-users mailing list