[forge-dev] Furnace CDI Container Build Problem.

Antonio Goncalves antonio.mailing at gmail.com
Mon Feb 9 00:41:48 EST 2015


Thanks. I don't know why it doesn't get the SNAPSHOTs (settings.xml ok) but
your script made the trick. BTW, I've slightly improved it ;o)

Antonio


#!/bin/bash

FORGE_HOME=~/Documents/Code/Forge

echo Updating Aesh ...
cd $FORGE_HOME/aesh && git pull && mvn clean install -DskipTests;
echo Updating Aesh Extensions ...
cd $FORGE_HOME/aesh-extensions && git pull && mvn clean install -DskipTests;
echo Updating Furnace...
cd $FORGE_HOME/furnace && git pull && mvn clean install -DskipTests;
echo Updating Furnace CDI ...
cd $FORGE_HOME/furnace-cdi && git pull && mvn clean install -DskipTests;
echo Updating Furnace Simple...
cd $FORGE_HOME/furnace-simple && git pull && mvn clean install -DskipTests;
echo Updating Roaster...
cd $FORGE_HOME/roaster && git pull && mvn clean install -DskipTests;
echo Updating Core...
cd $FORGE_HOME/core && git fetch upstream && git rebase upstream/master &&
mvn clean install -DskipTests


2015-02-08 19:40 GMT+01:00 Ivan St. Ivanov <ivan.st.ivanov at gmail.com>:

> .. forgot to mention something about the script: you have to clone those
> projects first :)
>
> On Sun, Feb 8, 2015 at 8:39 PM, Ivan St. Ivanov <ivan.st.ivanov at gmail.com>
> wrote:
>
>> Hi Antonio,
>>
>> You should either have the JBoss snapshot repository in your
>> settings.xml, or download and build all projects, which SNAPSHOT versions
>> Forge core depends. Here is my script (it assumes that I have all the
>> projects in the ~/projects/forge directory):
>>
>> echo Updating Aesh ...
>> cd ~/projects/forge/2.0/aesh && git pull && mvn clean install -DskipTests;
>> echo Updating Aesh Extensions ...
>> cd ~/projects/forge/2.0/aesh-extensions && git pull && mvn clean install
>> -DskipTests;
>> echo Updating Furnace...
>> cd ~/projects/forge/2.0/furnace && git pull && mvn clean install
>> -DskipTests;
>> echo Updating Furnace CDI ...
>> cd ~/projects/forge/2.0/furnace-cdi && git pull && mvn clean install
>> -DskipTests;
>> echo Updating Furnace Simple...
>> cd ~/projects/forge/2.0/furnace-simple && git pull && mvn clean install
>> -DskipTests;
>> echo Updating Roaster...
>> cd ~/projects/forge/2.0/roaster && git pull && mvn clean install
>> -DskipTests;
>> echo Updating Core...
>> cd ~/projects/forge/2.0/core && git fetch upstream && git rebase
>> upstream/master && mvn clean install -DskipTests
>>
>> Cheers,
>> Ivan
>>
>>
>>
>> On Sun, Feb 8, 2015 at 8:31 PM, Antonio Goncalves <
>> antonio.mailing at gmail.com> wrote:
>>
>>> I do have Maven 3.2.5.... but didn't have the latest version of the code.
>>>
>>> But now I have this :
>>>
>>> Failed to execute goal on project addon-manager-spi: Could not resolve
>>> dependencies for project
>>> org.jboss.forge.addon:addon-manager-spi:jar:2.14.1-SNAPSHOT: Could not find
>>> artifact
>>> *org.jboss.forge.furnace.container:cdi:jar:forge-addon:2.14.1-SNAPSHOT*
>>> in jboss-public-repository-group (
>>> http://repository.jboss.org/nexus/content/groups/public/)
>>>
>>> I'm pretty sure my settings.xml is ok.... any idea ?
>>>
>>> Antonio
>>>
>>> 2015-02-08 19:17 GMT+01:00 George Gastaldi <ggastald at redhat.com>:
>>>
>>>> 3.2.5, sorry. Make sure you pulled the latest sources too
>>>>
>>>>
>>>>
>>>> Em 08/02/2015, às 16:16, George Gastaldi <ggastald at redhat.com>
>>>> escreveu:
>>>>
>>>> This is odd. I am building with 2.3.5 and everything goes fine. Are you
>>>> sure there is no other Maven in your Path? Try running mvn --version.
>>>>
>>>>
>>>>
>>>> Em 08/02/2015, às 16:05, Antonio Goncalves <antonio.mailing at gmail.com>
>>>> escreveu:
>>>>
>>>> I'm just trying to build the lastest Forge core SNAPSHOT
>>>>
>>>> Antonio
>>>>
>>>> 2015-02-08 0:57 GMT+01:00 George Gastaldi <ggastald at redhat.com>:
>>>>
>>>>> Are you using Forge 2.14.0.Final? You'll get this error with any other
>>>>> version besides that
>>>>>
>>>>>
>>>>>
>>>>> Em 07/02/2015, às 20:36, Antonio Goncalves <antonio.mailing at gmail.com>
>>>>> escreveu:
>>>>>
>>>>> Hi guys,
>>>>>
>>>>> I'm getting a bit lost here. I have the same issue (ava.lang.ClassNotFoundException:
>>>>> org.eclipse.aether.spi.connector.Transfer$State) and I'm using Maven
>>>>> 3.2.5.
>>>>>
>>>>> Shall I downgrade Maven version as Soro suggested ? Or keep 3.2.5 as
>>>>> stated in
>>>>> http://lists.jboss.org/pipermail/forge-dev/2015-January/004189.html.
>>>>> If yes, what do I have to do to make it work under 3.2.5 ?
>>>>>
>>>>> Thanks
>>>>> Antonio
>>>>>
>>>>> 2015-01-29 15:15 GMT+01:00 <forge-dev at lists.jboss.org>:
>>>>>
>>>>>> Hi Mickael,
>>>>>>
>>>>>> We have news about it.
>>>>>> [forge-dev] Maven 3.2.5 support (
>>>>>> http://lists.jboss.org/pipermail/forge-dev/2015-January/004189.html)
>>>>>>
>>>>>> Posted by forums
>>>>>> Original post: https://developer.jboss.org/message/917302#917302
>>>>>> _______________________________________________
>>>>>> forge-dev mailing list
>>>>>> forge-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Antonio Goncalves
>>>>> Software architect and Java Champion
>>>>>
>>>>> Web site <http://www.antoniogoncalves.org/> | Twitter
>>>>> <http://twitter.com/agoncal> | LinkedIn
>>>>> <http://www.linkedin.com/in/agoncal> | Paris JUG
>>>>> <http://www.parisjug.org/> | Devoxx France <http://www.devoxx.fr/>
>>>>>
>>>>> _______________________________________________
>>>>> forge-dev mailing list
>>>>> forge-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> forge-dev mailing list
>>>>> forge-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Antonio Goncalves
>>>> Software architect and Java Champion
>>>>
>>>> Web site <http://www.antoniogoncalves.org/> | Twitter
>>>> <http://twitter.com/agoncal> | LinkedIn
>>>> <http://www.linkedin.com/in/agoncal> | Paris JUG
>>>> <http://www.parisjug.org/> | Devoxx France <http://www.devoxx.fr/>
>>>>
>>>> _______________________________________________
>>>> forge-dev mailing list
>>>> forge-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>> _______________________________________________
>>>> forge-dev mailing list
>>>> forge-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> forge-dev mailing list
>>>> forge-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Antonio Goncalves
>>> Software architect and Java Champion
>>>
>>> Web site <http://www.antoniogoncalves.org/> | Twitter
>>> <http://twitter.com/agoncal> | LinkedIn
>>> <http://www.linkedin.com/in/agoncal> | Paris JUG
>>> <http://www.parisjug.org/> | Devoxx France <http://www.devoxx.fr/>
>>>
>>> _______________________________________________
>>> forge-dev mailing list
>>> forge-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>>
>>
>>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>



-- 
Antonio Goncalves
Software architect and Java Champion

Web site <http://www.antoniogoncalves.org/> | Twitter
<http://twitter.com/agoncal> | LinkedIn <http://www.linkedin.com/in/agoncal>
 | Paris JUG <http://www.parisjug.org/> | Devoxx France
<http://www.devoxx.fr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20150209/fcd5aab1/attachment.html 


More information about the forge-dev mailing list