I went through the installation of broadleaf and could get maven compilation all ok but when I run the ant task jetty-demo, the following output is obtained -
Buildfile: C:\eclipse-workspace\DemoSite\site\build.xml
start-db:
[echo] Starting Data Base...
jetty-demo:
[artifact:mvn] Listening for transport dt_socket at address: 8000
[artifact:mvn] [INFO] Scanning for projects...
[artifact:mvn] [WARNING]
[artifact:mvn] [WARNING] Some problems were encountered while building the effective model for com.mycompany:site:war:1.0
[artifact:mvn] [WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file C:\Program Files\Java\jre7\..\lib\tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.mycompany:ecommerce-website:1.0, C:\eclipse-workspace\DemoSite\pom.xml, line 199, column 28
[artifact:mvn] [WARNING]
[artifact:mvn] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[artifact:mvn] [WARNING]
[artifact:mvn] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[artifact:mvn] [WARNING]
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... 120716.pom
[artifact:mvn] [WARNING] Failed to retrieve plugin descriptor for org.mortbay.jetty:jetty-maven-plugin:8.1.5.v20120716: Plugin org.mortbay.jetty:jetty-maven-plugin:8.1.5.v20120716 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mortbay.jetty:jetty-maven-plugin:jar:8.1.5.v20120716
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... in-2.4.pom
[artifact:mvn] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... in-2.6.pom
[artifact:mvn] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-resources-plugin:2.6: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... in-2.7.pom
[artifact:mvn] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... beta-5.pom
[artifact:mvn] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... -2.3.2.pom
[artifact:mvn] [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... -1.0.0.pom
[artifact:mvn] [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... tadata.xml
[artifact:mvn] [INFO] Downloading: http://hudson:8081/nexus/content/groups ... tadata.xml
[artifact:mvn] [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to Nexus (http://hudson:8081/nexus/content/groups/public): hudson
[artifact:mvn] [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to Nexus (http://hudson:8081/nexus/content/groups/public): hudson
[artifact:mvn] [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://hudson:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of Nexus has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to Nexus (http://hudson:8081/nexus/content/groups/public): hudson
[artifact:mvn] [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://hudson:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of Nexus has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to Nexus (http://hudson:8081/nexus/content/groups/public): hudson
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] BUILD FAILURE
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Total time: 3.568 s
[artifact:mvn] [INFO] Finished at: 2014-06-10T22:56:51+00:00
[artifact:mvn] [INFO] Final Memory: 8M/154M
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\vishal\.m2\repository), Nexus (http://hudson:8081/nexus/content/groups/public)] -> [Help 1]
[artifact:mvn] [ERROR]
[artifact:mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[artifact:mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[artifact:mvn] [ERROR]
[artifact:mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[artifact:mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... xException
[artifact:mvn] Java Result: 1
BUILD SUCCESSFUL
Total time: 8 seconds
Pls advise.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.