7 Replies Latest reply: Mar 5, 2012 9:44 AM by mazz RSS

Can't build skeleton-plugin

michaelbini Newbie

Hi,

The project downloaded from git using eclipse.

Maven version : Apache Maven 3.0.3 (r1075438; 2011-02-28 19:31:09+0200)

no modification was done to the maven "settings.xml"

command mvn install came out with this error :

 

[INFO] Scanning for projects...

[WARNING]

[WARNING] Some problems were encountered while building the effective model for org.rhq.sample.skeletonplugin:skeleton-plugin:jar:1.0-SNAPSHOT

[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 112, column 18

[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 Skeleton RHQ Plugin Template 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.rhq:rhq-core-domain:jar:4.3.0-SNAPSHOT is missing, no dependency information available

[WARNING] The POM for org.rhq:rhq-core-plugin-api:jar:4.3.0-SNAPSHOT is missing, no dependency information available

[WARNING] The POM for org.rhq:rhq-core-native-system:jar:4.3.0-SNAPSHOT is missing, no dependency information available

[WARNING] The POM for hibernate-annotations:hibernate-annotations:jar:3.2.1.GA is missing, no dependency information available

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.461s

[INFO] Finished at: Sun Mar 04 19:19:21 IST 2012

[INFO] Final Memory: 3M/90M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project skeleton-plugin: Could not resolve dependencies for project org.rhq.sample.skeletonplugin:skeleton-plugin:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.rhq:rhq-core-domain:jar:4.3.0-SNAPSHOT, org.rhq:rhq-core-plugin-api:jar:4.3.0-SNAPSHOT, org.rhq:rhq-core-native-system:jar:4.3.0-SNAPSHOT, hibernate-annotations:hibernate-annotations:jar:3.2.1.GA: Could not find artifact org.rhq:rhq-core-domain:jar:4.3.0-SNAPSHOT -> [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/DependencyResolutionException