I get this :


~/Documents/Code/temp/Forge$ forge -i org.jboss.forge.addon:core,2.0.0.CR2
Downloading: http://repo1.maven.org/maven2/org/jboss/forge/addon/core/2.0.0.CR2/core-2.0.0.CR2.pom
Installation request for [org.jboss.forge.addon:core,2.0.0.CR2] will:
Deploy: [org.jboss.forge.addon:core,2.0.0.CR2]

Confirm installation [Y/n]? Y
Downloading: http://repo1.maven.org/maven2/org/jboss/forge/addon/core/2.0.0.CR2/core-2.0.0.CR2-forge-addon.jar
java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.jboss.forge.addon:core:jar:forge-addon:2.0.0.CR2 in central (http://repo1.maven.org/maven2)
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:108)
at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.resolveResources(LazyAddonInfo.java:88)
at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.getResources(LazyAddonInfo.java:39)
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.deploy(DeployRequestImpl.java:59)
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl$1.call(DeployRequestImpl.java:49)
at org.jboss.forge.furnace.impl.LockManagerImpl.performLocked(LockManagerImpl.java:48)
at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.execute(DeployRequestImpl.java:44)
at org.jboss.forge.furnace.manager.impl.request.AbstractAddonActionRequest.perform(AbstractAddonActionRequest.java:57)
at org.jboss.forge.furnace.manager.impl.request.InstallRequestImpl.perform(InstallRequestImpl.java:39)
at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:265)
at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:149)
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:92)
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.jboss.forge.addon:core:jar:forge-addon:2.0.0.CR2 in central (http://repo1.maven.org/maven2)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:104)
... 11 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.jboss.forge.addon:core:jar:forge-addon:2.0.0.CR2 in central (http://repo1.maven.org/maven2)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
... 12 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.jboss.forge.addon:core:jar:forge-addon:2.0.0.CR2 in central (http://repo1.maven.org/maven2)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1012)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
> Forge version [2.0.0.CR2]


2014-01-28 George Gastaldi <ggastald@redhat.com>
This is weird. I just tested here and it downloaded CR2 addons perfectly. From your log, it doesn't seem to be using the JBoss repositories.
Are you using the ZIP from CR2? Can you clean your ~/.forge repository before attempting to run? What happens if you run
./forge -i org.jboss.forge.addon:core,2.0.0.CR2 ?

On 28-01-2014 11:23, Antonio Goncalves wrote:
Yes I do, but I think the problem is more in the version of the dependencies. As you can see below, all the downloaded addons are CR1 : 



~/Documents/Code/temp/Forge$ forge
There are no addons installed; install core addons now? [Y,n] Y
Installation request for [org.jboss.forge.addon:core,2.0.0.CR1] will:
Deploy: [org.jboss.forge.addon:addons,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:addon-manager-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:addon-manager,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:scaffold-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:scaffold-faces,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:scaffold,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:database-tools,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:dev-tools-java,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:configuration,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:shell-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:shell,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:parser-java,2.0.0.CR1]
Deploy: [org.jboss.forge.furnace.container:simple,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:text,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:projects,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:templates-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:templates,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:javaee,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:dependencies,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:resources,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:parser-xml,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:maven,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:convert,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:environment,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:ui-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.furnace.container:cdi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:facets,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:ui,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:core,2.0.0.CR1]

Confirm installation [Y/n]? Y
Installation completed successfully.


    _____
   |  ___|__  _ __ __ _  ___
   | |_ / _ \| `__/ _` |/ _ \  \\
   |  _| (_) | | | (_| |  __/  //
   |_|  \___/|_|  \__, |\___|
                   |___/

JBoss Forge, version [ 2.0.0.CR2 ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]

[Forge]$


2014-01-28 George Gastaldi <ggastald@redhat.com>
Hi Antonio,

I believe CR2 was not synch'ed in the official M2 repo. Do you have the JBoss repository set in the settings.xml?

Best Regards,

George

Em 28/01/2014, ās 10:39, Antonio Goncalves <antonio.mailing@gmail.com> escreveu:

George, don't you think there is something wrong with CR2 pushing CR1 dependencies ?


2014-01-28 George Gastaldi <ggastald@redhat.com>
Hi Marek,

We should update the website with the documentation, we are working on a new website layout too.

Em 28/01/2014, ās 07:53, Marek Novotny <mnovotny@redhat.com> escreveu:

I have the same experience like Antonio.

And one question as forge 2.x is a different in some commands, do you plan to update online documentation or is there different URL for 2.x?

On 01/28/2014 09:58 AM, Antonio Goncalves wrote:
Hum.... I've downloaded Forge, removed all the addons, and when I run Forge, it installs and downloads CR1 artifacts, not CR2 :


Installation request for [org.jboss.forge.addon:core,2.0.0.CR1] will:
Deploy: [org.jboss.forge.addon:addons,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:addon-manager-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:addon-manager,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:scaffold-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:scaffold-faces,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:scaffold,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:database-tools,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:dev-tools-java,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:configuration,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:shell-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:shell,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:parser-java,2.0.0.CR1]
Deploy: [org.jboss.forge.furnace.container:simple,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:text,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:projects,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:templates-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:templates,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:javaee,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:dependencies,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:resources,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:parser-xml,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:maven,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:convert,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:environment,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:ui-spi,2.0.0.CR1]
Deploy: [org.jboss.forge.furnace.container:cdi,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:facets,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:ui,2.0.0.CR1]
Deploy: [org.jboss.forge.addon:core,2.0.0.CR1]

Confirm installation [Y/n]? Y


The version is CR2 :

[Forge]$ version
JBoss Forge, version [ 2.0.0.CR2 ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ]

But I don't see any of the new commands such as project-remove-dependency :

[Forge]$ project-new
--named  --finalName  --topLevelPackage  --buildSystem  --targetLocation  --type  --version

Are you sure CR2 contains the rights addons ?


2014-01-28 Lincoln Baxter, III <lincolnbaxter@gmail.com>

Please try it out and check for bugs! We are very close to final! Just one day away :)



--
--
Antonio Goncalves (antonio.goncalves@gmail.com)
Software architect

Web site : www.antoniogoncalves.org
Blog: agoncal.wordpress.com
Feed: feeds2.feedburner.com/AntonioGoncalves
Paris JUG leader : www.parisjug.org
LinkedIn: www.linkedin.com/in/agoncal


_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev


-- 
Marek Novotny
--
WFK and Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev

_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Antonio Goncalves 
Software architect and Java Champion

Web site | Twitter | LinkedIn | Paris JUG | Devoxx France
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev

_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Antonio Goncalves 
Software architect and Java Champion

Web site | Twitter | LinkedIn | Paris JUG | Devoxx France


_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev


_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Antonio Goncalves 
Software architect and Java Champion

Web site | Twitter | LinkedIn | Paris JUG | Devoxx France