It's ok thank you (on forge 1.4.4),{emoticon:class=jive_macro_emoticon jive_macro
jive_emote|src=https://community.jboss.org/6.0.3.60ddddd/images/emoticons...
I changed one image for test (forge-logo) and the artifactId in the pom.xml
list-scaffoldx-providers
i obtain
* faces : JavaServer Faces scaffolding
I thought it didn't work because only one provider was listed
After I used forge 2 and i changed only the forge-logo and the artifact-id in pom.xml to.
i do:
mvn clean install
forge --install org.jboss.forge.addon:my-scaffold,2.3.0.Final
But it doesn't work, maybe i forgive something ?
there the full output
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces
λ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a
thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Forge - test Faces Scaffold provider 2.3.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ my-scaffold ---
[INFO] Deleting C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ my-scaffold ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ my-scaffold ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ my-scaffold ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 27 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ my-scaffold ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\classes
[WARNING]
/C:/Users/Florent/EXE/core-2.3.0.Final/javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java:[584,66]
getRootDirectory() in org.jboss.forge.addon.projects.Project has been deprecated
[WARNING]
/C:/Users/Florent/EXE/core-2.3.0.Final/javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java:
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\src\main\java\org\jboss\forge\addon\scaffold\faces\FacesScaffoldProvider.java
uses unchecked or unsafe operations.
[WARNING]
/C:/Users/Florent/EXE/core-2.3.0.Final/javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java:
Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ my-scaffold
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ my-scaffold ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ my-scaffold ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ my-scaffold ---
[INFO] Building jar:
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ my-scaffold ---
[INFO] Building jar:
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ my-scaffold ---
[INFO] Installing
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final.jar to
C:\Users\Florent\.m2\repository\org\jboss\forge\addon\my-scaffold\2.3.0.Final\my-scaffold-2.3.0.Final.jar
[INFO] Installing C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\pom.xml to
C:\Users\Florent\.m2\repository\org\jboss\forge\addon\my-scaffold\2.3.0.Final\my-scaffold-2.3.0.Final.pom
[INFO] Installing
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final-sources.jar
to
C:\Users\Florent\.m2\repository\org\jboss\forge\addon\my-scaffold\2.3.0.Final\my-scaffold-2.3.0.Final-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.168 s
[INFO] Finished at: 2014-03-31T21:52:44+01:00
[INFO] Final Memory: 24M/177M
[INFO] ------------------------------------------------------------------------
C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces
λ forge --install org.jboss.forge.addon:my-scaffold,2.3.0.Final
Installation request for [org.jboss.forge.addon:my-scaffold,2.3.0.Final] will:
Deploy: [org.jboss.forge.addon:my-scaffold,2.3.0.Final]
Confirm installation [Y/n]?
Downloading:
http://repository.jboss.org/nexus/content/groups/public/org/jboss/forge/a...
Downloading:
https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/...
Downloading:
http://maven.repository.redhat.com/techpreview/all/org/jboss/forge/addon/...
java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException:
Could not find artifact org.jboss.forge.addon:my-scaffold:jar:forge-addon:2.3.0.Final in
JBOSS_NEXUS (
http://repository.jboss.org/nexus/content/groups/public)
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:288)
at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:155)
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:94)
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find
artifact org.jboss.forge.addon:my-scaffold:jar:forge-addon:2.3.0.Final in JBOSS_NEXUS
(
http://repository.jboss.org/nexus/content/groups/public)
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:my-scaffold:jar:forge-addon:2.3.0.Final in JBOSS_NEXUS
(
http://repository.jboss.org/nexus/content/groups/public)
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:my-scaffold:jar:forge-addon:2.3.0.Final in JBOSS_NEXUS
(
http://repository.jboss.org/nexus/content/groups/public)
http://repository.jboss.org/nexus/content/groups/public)
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.3.0.Final]
Posted by forums
Original post:
https://community.jboss.org/message/865864#865864