1 2 Previous Next 15 Replies Latest reply on Dec 3, 2014 8:22 AM by gastaldi

    Forge 2.12 - How to install add-ons ?

    simplex-software

      Hello,

       

      I'm using Forge 2.12 embedded in JBDS 8. Forge 1 had the command install-plugin which was very simpkle to use. For example, install-plugin jboss-as-7 or install-plugin arquillian. I don't know what was the reason that the syntax has changed in Forge 2 such that there is no any command that use to exist in Forge 1 that it still supported.

       

      So install-plugin doesn't exist any more and its equivalent in Forge 2 seems to be addon-install-from-git. So, to install arquillian, one needs to do:

       

      addon-install-from-git --url https://github.com/forge/addon-arquillian.git --coordinate org.arquillian.forge:arquillian-addon.

       

      There are two problems here:

       

      1. How could one invent the URL ?

      2. No documentation explains what the hell --coordinate org.arquillian.forge:arquillian-addo means and what are other alternatives.

      3. Using this command raises:

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

       

      Many thanks in advance,

       

      Nicolas DUMINIL

        • 1. Re: Forge 2.12 - How to install add-ons ?
          gastaldi

          Hello Nicolas,

           

          We have an open JIRA to introduce that functionality back ([FORGE-1747] 'addon-install' command should accept simpler (consolidated) arguments - JBoss Issue Tracker)

          All addons are listed here: http://forge.jboss.org/addons, together with instructions on how to download it.

           

          If you are unsure of what a parameter does, type the following: man <COMMAND_NAME> eg: man addon-install-from-git

          As this addon is not separated into modules, you can use the following to install it:

           

          addon-install-from-git --url https://github.com/forge/addon-arquillian.git

           

          About the connection error, are you behind a proxy? I tried here and succeeded on installing it.

          • 2. Re: Forge 2.12 - How to install add-ons ?
            simplex-software

            Hi George,

             

            Many thanks for your reply. Yes, in deed, I'm behind a proxy but maven is appropriated configured and I'm able to perform maven builds with stuff downloaded from central, etc. Is there anything to do when using Forge behind a proxy ? I thought that as soon as maven is correctly configured to work behind a proxy there is nothing more to do.

             

            Kind regards,

             

            Nicolas

            • 3. Re: [forge-users] Forge 2.12 - How to install add-ons ?
              gastaldi

              Try doing this: http://forge.jboss.org/1.x/docs/using/configure-proxy.html

               

              Em 01/12/2014, às 08:33, forge-users@lists.jboss.org escreveu:

               

              Hi George,

               

              Many thanks for your reply. Yes, in deed, I'm behind a proxy but maven is appropriated configured and I'm able to perform maven builds with stuff downloaded from central, etc. Is there anything to do when using Forge behind a proxy ? I thought that as soon as maven is correctly configured to work behind a proxy there is nothing more to do.

               

              Kind regards,

               

              Nicolas

               

              Posted by forums

              Original post: https://developer.jboss.org/message/911971#911971

              _______________________________________________

              forge-users mailing list

              forge-users@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-users

               

              _______________________________________________

              forge-users mailing list

              forge-users@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-users

               

               

              • 4. Re: Forge 2.12 - How to install add-ons ?
                simplex-software

                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

                • 5. Re: Forge 2.12 - How to install add-ons ?
                  gastaldi

                  Weird, it looks like if artifact in the local repository is corrupted. Could you try removing your ~/.m2/repository/org/arquillian/forge directory and installing it again?

                   

                  Thanks

                  • 6. Re: Forge 2.12 - How to install add-ons ?
                    simplex-software

                    George,

                     

                    There is no any forge subdirectory in org.jboss.arquillian folder of my maven repository. This is the reason it cannot be accessed . Looking in the output listing I'm seeing things like:

                     

                    [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.

                     

                    meaning tha git is not recognized as an internal or external command or executable file. I wasn't aware that having a GIT install is a pre-requisite to run addon-install-from-git. Please advise.

                     

                    Kind regards,

                     

                    Nicolas

                    • 7. Re: Forge 2.12 - How to install add-ons ?
                      gastaldi

                      Hi Nicolas,

                       

                      You do not need native Git to install addons, as Forge uses jGit.

                      This is a warning message from the Maven build, that it should do no harm.

                       

                      Also, the forge subdirectory should be present in ~/.m2/repository/org/arquillian/, NOT ~/.m2/repository/org/jboss/arquillian/

                      • 8. Re: Forge 2.12 - How to install add-ons ?
                        simplex-software

                        Hi George,

                         

                        Thanks again for the info. Okay, so I have removed the forge directory and run again the addon-install-from-git command. It produces exactly the same result as previously and a new forge directory gets inserted in the maven repository. It has a valid content as I'm able to open the POM and the jar files, etc. I will try from home to see whether it works when I'm not behind a firewall. But anyway, even if it works at home this wouldn't be very usefull as it's in a corporate environment that it is supposed to be used.

                         

                        So, if you have other ideas I'm interested.

                         

                        Kind regards,

                         

                        Nicolas

                        • 9. Re: Forge 2.12 - How to install add-ons ?
                          gastaldi

                          Can you run with VERBOSE enabled? (export VERBOSE=true)

                          Do you see any errors in the logs? (~/.forge/log/forge.log)

                          • 10. Re: Forge 2.12 - How to install add-ons ?
                            simplex-software

                            There is no any log sub- directory in my .forge directory. And here is the output in verbose mode (it doesn't seem to have much more additional info):

                             

                            [workspace]$ export VERBOSE=true

                            [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\1417536710270-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\1417536710270-0

                            [INFO] Storing buildNumber: UNKNOWN at timestamp: 1417536723733

                            [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\1417536710270-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\1417536710270-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\1417536710270-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\1417536710270-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\1417536710270-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\1417536710270-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\1417536710270-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\1417536710270-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\1417536710270-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.790 s

                            [INFO] Finished at: 2014-12-02T17:12:07+01:00

                            [INFO] Final Memory: 298M/2028M

                            [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

                            [workspace]$

                            • 11. Re: Forge 2.12 - How to install add-ons ?
                              gastaldi

                              Could you try enabling the JBoss profile in your settings.xml as described in https://gist.github.com/gastaldi/8528596?

                              Let me know how it goes

                              • 12. Re: Forge 2.12 - How to install add-ons ?
                                simplex-software

                                My settings.xml is as follows:

                                 

                                <?xml version="1.0" encoding="UTF-8" standalone="no"?>

                                <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/xsd/settings-1.0.0.xsd">

                                    <localRepository/>

                                    <proxies>

                                      <proxy>

                                        <id>assu200pxy</id>

                                        <active>true</active>

                                        <protocol>http</protocol>

                                        <username>nduminil</username>

                                        <password>assu2000</password>

                                        <host>proxy2.assu2000.com</host>

                                        <port>9090</port>

                                        <nonProxyHosts>*.mycompany.com|127.0.0.1</nonProxyHosts>

                                      </proxy>

                                    </proxies>

                                    <profiles>

                                        <profile>

                                            <id>jboss-ga</id>

                                            <repositories>

                                                <repository>

                                                    <id>jboss-ga-repository</id>

                                                    <name>JBoss GA Tech Preview Maven Repository</name>

                                                    <url>http://maven.repository.redhat.com/techpreview/all</url>

                                                    <layout>default</layout>

                                                    <releases>

                                                        <enabled>true</enabled>

                                                        <updatePolicy>never</updatePolicy>

                                                    </releases>

                                                    <snapshots>

                                                        <enabled>false</enabled>

                                                        <updatePolicy>never</updatePolicy>

                                                    </snapshots>

                                                </repository>

                                            </repositories>

                                            <pluginRepositories>

                                                <pluginRepository>

                                                    <id>jboss-ga-plugin-repository</id>

                                                    <name>JBoss 6 Maven Plugin Repository</name>

                                                    <url>http://maven.repository.redhat.com/techpreview/all</url>

                                                    <layout>default</layout>

                                                    <releases>

                                                        <enabled>true</enabled>

                                                        <updatePolicy>never</updatePolicy>

                                                    </releases>

                                                    <snapshots>

                                                        <enabled>false</enabled>

                                                        <updatePolicy>never</updatePolicy>

                                                    </snapshots>

                                                </pluginRepository>

                                            </pluginRepositories>

                                        </profile>

                                    </profiles>

                                    <activeProfiles>

                                        <activeProfile>jboss-ga</activeProfile>

                                    </activeProfiles>

                                </settings>

                                 

                                I modified the repositories from https://repository.jboss.org/nexus/content to http://maven.repository.redhat.com/techpreview as required by EAP6. As far as I understood, this is mandatory in order to build against EAP6.

                                • 13. Re: Forge 2.12 - How to install add-ons ?
                                  gastaldi

                                  Could you run against an empty repository (~/.m2/repository) ? I have a feeling that there is something corrupted in this repository, which makes this error happen.

                                  • 14. Re: Forge 2.12 - How to install add-ons ?
                                    simplex-software

                                    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

                                    1 2 Previous Next