8 Replies Latest reply on Apr 3, 2014 10:07 AM by florent59

    Forge custom

    florent59 Newbie

      Hello,

       

      I wan't to understand how forge generate UI, i know metawildget is used, but if I have correctly understand metawidget is a runtime generator,

      but i don't find any metawidget's anotation in the view or metawidget's tag on the xhtml page.

       

      I wan't to know that, because i would like customize automaticaly the generated code when i used the scaffolding command.

      thank

       

      EDIT:

      how can i change the behaviour of scaffolding.

           example:

                if i have a db with many tables

                     10 tables beginning by a_*

                     12 tables beginning by b_*

               if i would sorted the result of pageTemplates.xhtml in 2 html's div

       

      i don't know if i  have correctly express my question.

       

      Ce message a été modifié par : Delmotte Florent

        • 1. Re: Forge custom
          florent59 Newbie

          Hello

          i think i will edit files in directory  \core-2.3.0.Final\javaee\faces, but if you have any sugestion

          first i will test by change images in directory resources/scaffold/faces

           

          cheers

          • 2. Re: Forge custom
            George Gastaldi Master

            Hi,

             

            We are working on making the scaffold API and implementations more flexible and reusable.

            In the short term, you should fork the faces scaffold and implement the behavior you want, that is, create a new addon project, copy the classes/files from javaee\faces and change at will

             

            Thanks!

            • 3. Re: Forge custom
              florent59 Newbie

              Hi george,

              thank for reply,

              I forked the javaee/faces, i only changed the forge-logo.png for test.

               

              so i use the command forge source-plugin mFaces (this is the name of my new project) like it said on

              http://forge.jboss.org/docs/plugin_development/make-plugin-available.html

               

              that install a new plugin and i can see it when i use the command forge list-plugin

               

              but now, how can i use it?

              • 4. Re: [forge-users] Forge custom
                George Gastaldi Master

                To use it, run the scaffold-x command. You should see the scaffold type you created there.

                 

                However I highly recommend you to use Forge 2 for that matter. Take a look at github.com/forge/core on how to get started quickly.

                 

                Best Regards,

                 

                George

                 

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

                 

                Hi george,

                thank for reply,

                I forked the javaee/faces, i only changed the forge-logo.png for test.

                 

                so i use the command forge source-plugin mFaces (this is the name of my new project) like it said on

                http://forge.jboss.org/docs/plugin_development/make-plugin-available.html

                 

                that install a new plugin and i can see it when i use the command forge list-plugin

                 

                but now, how can i use it?

                 

                Posted by forums

                Original post: https://community.jboss.org/message/865699#865699

                _______________________________________________

                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

                 

                 

                • 5. Re: Forge custom
                  florent59 Newbie

                  EDIT

                  I changed  one image for test (forge-logo) and the artifactId in the pom.xml and it doesn't work

                   

                  list-scaffoldx-providers

                  i obtained

                  * faces : JavaServer Faces scaffolding

                   

                  where can I change this string?

                   

                   

                  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/addon/my-scaffold/2.3.0.Final/my-scaffold-2.3.0.Final-forge-addon.jar

                  Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/forge/addon/my-scaffold/2.3.0.Final/my-scaffold-2.3.0.Final-forge-addon.jar

                  Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/forge/addon/my-scaffold/2.3.0.Final/my-scaffold-2.3.0.Final-forge-addon.jar

                  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]

                   

                   

                  i go to sleep

                  • 6. Re: Forge custom
                    florent59 Newbie

                    Hi

                    I retry this morning my simple test and i had constated, i didn't use the correct branch of scaffold-faces for forge-1.4.4, now is ok.

                     

                    but for forge 2.3.0 i used core-2.3.0 and it's still not working.

                    i did mvn clean install and after forge --install org.jboss.forge.addon:mScaffold,2.3.0.Final

                     

                    i got this:

                    java.lang.RuntimeException: org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for org.jboss.forge.furnace.container:simple:jar:forge-addon:2.3.0.Final

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.traverseAddonGraph(MavenAddonDependencyResolver.java:327)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:295)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveAddonDependencyHierarchy(MavenAddonDependencyResolver.java:83)

                            at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.info(AddonManagerImpl.java:54)

                            at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:67)

                            at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:60)

                            at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:277)

                            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.collection.DependencyCollectionException: Failed to read artifact descriptor for org.jboss.forge.furnace.container:simple:jar:forge-addon:2.3.0.Final

                            at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:218)

                            at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:317)

                            at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.traverseAddonGraph(MavenAddonDependencyResolver.java:323)

                            ... 13 more

                    Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.jboss.forge.furnace.container:simple:jar:forge-addon:2.3.0.Final

                            at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335)

                            at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)

                            at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:212)

                            ... 15 more

                    Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from http://repository.jboss.org/nexus/content/groups/public was cached in the

                    local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from/to JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public): Error transferring file: Software caused connection abort: recv failed

                            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.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)

                            at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)

                            ... 17 more

                    Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from/to JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public): Error transferring file: Software caused connection abort: recv failed

                            at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:239)

                            at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:218)

                            at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

                            at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

                            at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

                            ... 20 more

                    > Forge version [2.3.0.Final]

                     

                    i don't understand this error

                     

                    cheer

                    • 7. Re: [forge-users] Forge custom
                      George Gastaldi Master

                      The APIs for Forge 2 are completey different from Forge , that is, you need to rewrite the plugin in Forge 1 to adapt it to the new scaffold APIs in Forge 2. Have you created an addon project for this? See the README in http://github.com/forge/core for a more detailed explanation.

                       

                      Em 03/04/2014, às 08:52, forge-users@lists.jboss.org escreveu:

                       

                      Hi

                      I retry this morning my simple test and i had constated, i didn't use the correct branch of scaffold-faces for forge-1.4.4, now is ok.

                       

                      but for forge 2.3.0 i used core-2.3.0 and it's still not working.

                      i did mvn clean install and after forge --install org.jboss.forge.addon:mScaffold,2.3.0.Final

                       

                      i got this:

                      java.lang.RuntimeException: org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for org.jboss.forge.furnace.container:simple:jar:forge-addon:2.3.0.Final

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.traverseAddonGraph(MavenAddonDependencyResolver.java:327)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:295)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.fromNode(MavenAddonDependencyResolver.java:296)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveAddonDependencyHierarchy(MavenAddonDependencyResolver.java:83)

                              at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.info(AddonManagerImpl.java:54)

                              at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:67)

                              at org.jboss.forge.furnace.manager.impl.AddonManagerImpl.install(AddonManagerImpl.java:60)

                              at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:277)

                              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.collection.DependencyCollectionException: Failed to read artifact descriptor for org.jboss.forge.furnace.container:simple:jar:forge-addon:2.3.0.Final

                              at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:218)

                              at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:317)

                              at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.traverseAddonGraph(MavenAddonDependencyResolver.java:323)

                              ... 13 more

                      Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.jboss.forge.furnace.container:simple:jar:forge-addon:2.3.0.Final

                              at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335)

                              at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)

                              at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:212)

                              ... 15 more

                      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from http://repository.jboss.org/nexus/content/groups/public was cached in the

                      local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from/to JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public): Error transferring file: Software caused connection abort: recv failed

                              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.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)

                              at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)

                              ... 17 more

                      Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.forge.furnace.container:simple:pom:2.3.0.Final from/to JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public): Error transferring file: Software caused connection abort: recv failed

                              at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:239)

                              at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:218)

                              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)

                              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)

                              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)

                              ... 20 more

                      >> Forge version

                       

                      i don't understand this error

                       

                      cheer

                       

                      Posted by forums

                      Original post: https://community.jboss.org/message/866428#866428

                       

                      _______________________________________________

                      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

                       

                       

                      • 8. Re: Forge custom
                        florent59 Newbie

                        Ok thank for reply

                        For forge 1.4.4 i fork core-1.x  i import scaffold-face in eclipse and i change name of project and name of packages. my test whith change only one image work .

                         

                        For forge 2.3.0 i fork core-2.3.0, ido the same things.

                         

                        Can i fork and rewrite the project javaee/faces ? That help me to understand fastly how work forge. That is why i don't create an new addon from zero.

                         

                        I will test to create new addon and copy/paste the code from javaee/faces this aftenoon if i got time.

                         

                        the version used when i got error is forge 2.3.0