[switchyard-issues] [JBoss JIRA] Created: (SWITCHYARD-308) Build failure with the [org.switchyard:switchyard-api:0.1.0] versions and Forge

Len DiMaggio (JIRA) jira-events at lists.jboss.org
Tue Jun 21 09:22:23 EDT 2011


Build failure with the [org.switchyard:switchyard-api:0.1.0] versions and Forge
-------------------------------------------------------------------------------

                 Key: SWITCHYARD-308
                 URL: https://issues.jboss.org/browse/SWITCHYARD-308
             Project: SwitchYard
          Issue Type: Bug
          Components: tooling
    Affects Versions: 0.1
         Environment: Using these versions:

Seam Forge, version [ 1.0.0.Alpha3 ]

java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (rhel-1.39.1.9.7.el6-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)


            Reporter: Len DiMaggio


Seeing this build failure with the [org.switchyard:switchyard-api:0.1.0] versions and Forge. 

(Not seeing the failures with [org.switchyard:switchyard-api:0.2.0-SNAPSHOT])

Note: The same failure is being seen with "mvn install" or "mvn package"


----------------------------------------------

Getting these results:

./forge 
   ____                          _____                    
  / ___|  ___  __ _ _ __ ___    |  ___|__  _ __ __ _  ___ 
  \___ \ / _ \/ _` | '_ ` _ \   | |_ / _ \| '__/ _` |/ _ \  \\
   ___) |  __/ (_| | | | | | |  |  _| (_) | | | (_| |  __/  //
  |____/ \___|\__,_|_| |_| |_|  |_|  \___/|_|  \__, |\___| 
                                                |___/      
[no project] bin $ new-project --named tempProject --topLevelPackage org.switchyard.examples.forge
***ERROR*** [/jboss/local/forge-1.0.0.Alpha3/bin/tempProject] already contains a project; please use a different folder.

Where would you like to create the project? [Press ENTER to use the current directory: bin] 
Wrote /jboss/local/forge-1.0.0.Alpha3/bin/src/main/resources/META-INF/forge.xml
***SUCCESS*** Created project [tempProject] in new working directory [/jboss/local/forge-1.0.0.Alpha3/bin]
[tempProject] bin $ project install-facet switchyard
Please select a version to install:

  1 - [org.switchyard:switchyard-api:0.1.0-M1]
  2 - [org.switchyard:switchyard-api:0.1.0-SNAPSHOT]
  3 - [org.switchyard:switchyard-api:0.1.0]
  4 - [org.switchyard:switchyard-api:0.2.0-SNAPSHOT]

Choose an option by typing the number of the selection: 3
Application name (e.g. myApp) tempProject
***SUCCESS*** Installed [switchyard] successfully.
[tempProject] bin $ project install-facet switchyard.bean 
Please select a version to install:

  1 - [org.switchyard.components:switchyard-component-bean:0.1.0-M1]
  2 - [org.switchyard.components:switchyard-component-bean:0.1.0-SNAPSHOT]
  3 - [org.switchyard.components:switchyard-component-bean:0.1.0]
  4 - [org.switchyard.components:switchyard-component-bean:0.2.0-SNAPSHOT]
  5 - [org.switchyard.components:switchyard-component-bean:1.0-SNAPSHOT]

Choose an option by typing the number of the selection: 3
Wrote /jboss/local/forge-1.0.0.Alpha3/bin/src/main/resources/META-INF/beans.xml
***SUCCESS*** Installed [switchyard.bean] successfully.
[tempProject] bin $ bean-service create --serviceName HelloService
Wrote /jboss/local/forge-1.0.0.Alpha3/bin/src/main/java/org/switchyard/examples/forge/HelloService.java
Wrote /jboss/local/forge-1.0.0.Alpha3/bin/src/main/java/org/switchyard/examples/forge/HelloServiceBean.java
Created service interface [HelloService]
Created service implementation [HelloServiceBean]
NOTE: Run 'mvn package' to make HelloService visible to SwitchYard shell.
[tempProject] bin $ mvn install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.switchyard.examples.forge:tempProject:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 41, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building tempProject 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.187s
[INFO] Finished at: Tue Jun 21 09:08:30 EDT 2011
[INFO] Final Memory: 2M/71M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.switchyard:switchyard-plugin:0.1.0 or one of its dependencies could not be resolved: Failure to find org.switchyard:switchyard-plugin:jar:0.1.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list