Bug 1192869
| Summary: | Issues Building RHQ JavaDocs because of Missing Dependencies | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Jared MORGAN <jmorgan> |
| Component: | Productization | Assignee: | Simeon Pinder <spinder> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Mike Foley <mfoley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.3.2 | CC: | fbrychta, jmorgan, mmurray, tkelly |
| Target Milestone: | post-GA | ||
| Target Release: | JON 3.3.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-23 14:30:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jared MORGAN
2015-02-16 02:01:37 UTC
To update this issue, Heiko gave me further info that I needed to run this command on a branch. I switched to releases/jon3.3.x and ran `mvn -Ddocgen install` inside modules/enterprise/server/jar. With similar results below, I tried `mvn -Ddocgen compile -DskipTests -Dmaven.test.skip`, and `mvn -Ddocgen compile -DskipTests -Dmaven.test.skip` which resulted in the output in [[Result]]: == Result (spaced out the missing deps for readability) Do I need to have any sort of security key to access the deps at the moment? Do I need to manually add the internal RedHat Repo to Maven? Or is this part of the problem you were alluding to with the deps being excluded from the repo therefore making it unbuildable? [jmorgan@jmorgan-bne-redhat-com jar] (release/jon3.3.x) $ mvn -Ddocgen compile -DskipTests -Dmaven.test.skip OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building RHQ Enterprise Server JAR 4.14.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.rhq:rhq-enterprise-comm:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-enterprise-server-xml-schemas:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-domain:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-plugin-api:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-client-api:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-dbutils:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:safe-invoker:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-common-drift:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-server-metrics:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-jboss-as-dmr-client:jar:4.14.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.rhq.helpers:rest-docs-generator:jar:4.14.0-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.557 s [INFO] Finished at: 2015-02-17T10:32:18+10:00 [INFO] Final Memory: 18M/437M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project rhq-enterprise-server: Could not resolve dependencies for project org.rhq:rhq-enterprise-server:ejb:4.14.0-SNAPSHOT: The following artifacts could not be resolved: org.rhq:rhq-enterprise-comm:jar:4.14.0-SNAPSHOT, org.rhq:rhq-enterprise-server-xml-schemas:jar:4.14.0-SNAPSHOT, org.rhq:rhq-core-domain:jar:4.14.0-SNAPSHOT, org.rhq:rhq-core-plugin-api:jar:4.14.0-SNAPSHOT, org.rhq:rhq-core-client-api:jar:4.14.0-SNAPSHOT, org.rhq:rhq-core-dbutils:jar:4.14.0-SNAPSHOT, org.rhq:safe-invoker:jar:4.14.0-SNAPSHOT, org.rhq:rhq-common-drift:jar:4.14.0-SNAPSHOT, org.rhq:rhq-server-metrics:jar:4.14.0-SNAPSHOT, org.rhq:rhq-jboss-as-dmr-client:jar:4.14.0-SNAPSHOT, org.rhq.helpers:rest-docs-generator:jar:4.14.0-SNAPSHOT: Failure to find org.rhq:rhq-enterprise-comm:jar:4.14.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-snapshots has elapsed or updates are forced -> [Help 1] [ERROR] Here is the current output when I run "mvn -Ddocgen install" [jmorgan@jmorgan-bne-redhat-com rhq] (release/jon3.3.x) $ cd modules/enterprise/server/jar/ [jmorgan@jmorgan-bne-redhat-com jar] (release/jon3.3.x) $ mvn -Ddocgen install OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0 OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building RHQ Enterprise Server JAR 4.12.0.JON330GA-redhat-1 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.rhq:rhq-enterprise-comm:jar:4.12.0.JON330GA-redhat-1 is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-enterprise-server-xml-schemas:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-domain:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-cassandra-schema:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-plugin-api:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-client-api:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-dbutils:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:safe-invoker:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-common-drift:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-server-metrics:jar:4.12.0.JON330GA-redhat-1 is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-cassandra-util:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-jboss-as-dmr-client:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:test-utils:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq.helpers:rest-docs-generator:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-domain:jar:tests:4.12.0.JON330GA is missing, no dependency information available [INFO] ------------------------------------------------------------------------ The attachment in Comment#4 may be causing an issue. @Jared, does the maven build succeed even with the [WARNING] messages anyway? I don't see an [ERROR] and failure message as with your previous response. Also I don't think you need the 'enterprise' profile to just build the doc. If you completely deleted the previous cloned directory then you can skip step iv) anyway since there should be nothing to clean up. Your settings.xml looks good as well as it now includes the 3.3-build repository. As long as you're on the vpn, this should work. I'll take another look once you post the error. (In reply to Simeon Pinder from comment #6) > @Jared, does the maven build succeed even with the [WARNING] messages > anyway? I don't see an [ERROR] and failure message as with your previous > response. Also I don't think you need the 'enterprise' profile to just > build the doc. If you completely deleted the previous cloned directory then > you can skip step iv) anyway since there should be nothing to clean up. > Your settings.xml looks good as well as it now includes the 3.3-build > repository. As long as you're on the vpn, this should work. I'll take > another look once you post the error. Hi Simeon Here is the terminal output: [jmorgan@jmorgan-bne-redhat-com jar] (release/jon3.3.x) $ pwd /home/jmorgan/Repos/rhq/modules/enterprise/server/jar [jmorgan@jmorgan-bne-redhat-com jar] (release/jon3.3.x) $ mvn -Ddocgen install OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0 OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building RHQ Enterprise Server JAR 4.12.0.JON330GA-redhat-2 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.rhq:rhq-enterprise-comm:jar:4.12.0.JON330GA-redhat-1 is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-enterprise-server-xml-schemas:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-domain:jar:4.12.0.JON330GA-redhat-1 is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-cassandra-schema:jar:4.12.0.JON330GA-redhat-1 is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-plugin-api:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-client-api:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-dbutils:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:safe-invoker:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-common-drift:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-server-metrics:jar:4.12.0.JON330GA-redhat-2 is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-cassandra-util:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-jboss-as-dmr-client:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:test-utils:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq.helpers:rest-docs-generator:jar:4.12.0.JON330GA is missing, no dependency information available [WARNING] The POM for org.rhq:rhq-core-domain:jar:tests:4.12.0.JON330GA-redhat-1 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.452 s [INFO] Finished at: 2015-04-17T07:17:37+10:00 [INFO] Final Memory: 17M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project rhq-enterprise-server: Could not resolve dependencies for project org.rhq:rhq-enterprise-server:ejb:4.12.0.JON330GA-redhat-2: The following artifacts could not be resolved: org.rhq:rhq-enterprise-comm:jar:4.12.0.JON330GA-redhat-1, org.rhq:rhq-enterprise-server-xml-schemas:jar:4.12.0.JON330GA, org.rhq:rhq-core-domain:jar:4.12.0.JON330GA-redhat-1, org.rhq:rhq-cassandra-schema:jar:4.12.0.JON330GA-redhat-1, org.rhq:rhq-core-plugin-api:jar:4.12.0.JON330GA, org.rhq:rhq-core-client-api:jar:4.12.0.JON330GA, org.rhq:rhq-core-dbutils:jar:4.12.0.JON330GA, org.rhq:safe-invoker:jar:4.12.0.JON330GA, org.rhq:rhq-common-drift:jar:4.12.0.JON330GA, org.rhq:rhq-server-metrics:jar:4.12.0.JON330GA-redhat-2, org.rhq:rhq-cassandra-util:jar:4.12.0.JON330GA, org.rhq:rhq-jboss-as-dmr-client:jar:4.12.0.JON330GA, org.rhq:test-utils:jar:4.12.0.JON330GA, org.rhq.helpers:rest-docs-generator:jar:4.12.0.JON330GA, org.rhq:rhq-core-domain:jar:tests:4.12.0.JON330GA-redhat-1: Failure to find org.rhq:rhq-enterprise-comm:jar:4.12.0.JON330GA-redhat-1 in 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-public-repo-group 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/DependencyResolutionException Triage: Larry, Filip, Simeon 1 - Simeon is unable to reproduce Please reopen if it's still necessary to resolve this issue. Issue may have been caused by using java-1.8.0-openjdk-devel rather than java-1.7.0-openjdk-devel. |