This content has been marked as final.
Show 4 replies
-
1. Re: JBoss repo missing at pom.xml?
mazz May 28, 2009 3:29 PM (in response to alegomes)I would start at the root of the jopr source tree itself:
jopr/trunk
That will also build the parent pom modules as well. Building the jopr source tree is very fast, even if you start at this root. -
2. Re: JBoss repo missing at pom.xml?
alegomes May 28, 2009 6:48 PM (in response to alegomes)Thanks mazz,
but I've already tried this and the problem persisted:[INFO] [buildnumber:create {execution: default}] [INFO] Checking for local modifications: skipped. [INFO] Updating project files from SCM: skipped. [INFO] Storing buildNumber: 673 at timestamp: 1243545271056 [INFO] [site:attach-descriptor] [INFO] ------------------------------------------------------------------------ [INFO] Building Jopr Modules [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.rhq ArtifactId: rhq-core-parent Version: 1.3.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.rhq:rhq-core-parent:pom:1.3.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), jboss (http://repository.jboss.org/maven2/)
So, I included the JBoss Snapshot Repository in the project root pom.xml and now I got:[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.rhq:rhq-enterprise-comm:jar:1.3.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.rhq -DartifactId=rhq-enterprise-comm -Dversion=1.3.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.rhq -DartifactId=rhq-enterprise-comm -Dversion=1.3.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.jboss.on:jopr-rhq-server-plugin:jar:2.3.0-SNAPSHOT 2) org.rhq:rhq-enterprise-comm:jar:1.3.0-SNAPSHOT ---------- 1 required artifact is missing. for artifact: org.jboss.on:jopr-rhq-server-plugin:jar:2.3.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), jboss snapshot (http://snapshots.jboss.org/maven2), jboss (http://repository.jboss.org/maven2/)
So, where is org.rhq:rhq-enterprise-comm:jar:1.3.0-SNAPSHOT, cause I didn't find it at jboss repos.
thanks again -
3. Re: JBoss repo missing at pom.xml?
ips May 28, 2009 7:18 PM (in response to alegomes)Hi,
I've uploaded org.rhq:rhq-enterprise-comm:jar:1.3.0-SNAPSHOT to the JBoss snapshot repo. You should now have all the RHQ snapshot jars you need to build all of the Jopr plugins. Please give it another try.
-Ian -
4. Re: JBoss repo missing at pom.xml?
pilhuhn May 29, 2009 8:06 AM (in response to alegomes)Another option would be to use 1.2.0.GA poms instead of the (moving target of) *-SNAPSHOT