| Summary: | Missing dependency from project simple client - quickstarts | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Juraj Duráni <jdurani> |
| Component: | Distribution | Assignee: | Van Halbert <vhalbert> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Juraj Duráni <jdurani> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | aszczucz, jolee, mbaluch, thauser, vhalbert |
| Target Milestone: | ER2 | ||
| Target Release: | 6.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-24 11:43:38 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: | |
|
Description
Juraj Duráni
2016-03-17 13:53:14 UTC
The zip artifact type is excluded by maven-repository-builder. The real bug may be that this quickstart depends on such an artifact, I will have to look further. There must be a transitive dependency on this zip, its not specifically needed. (~/RedHat/github/repos_teiid/teiid-quickstarts/simpleclient) Vans-MacBook-Pro $ mvn -s ../settings.xml dependency:tree [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SimpleClient 3.0.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ simpleclient --- [INFO] org.jboss.teiid.quickstart:simpleclient:jar:3.0.0 [INFO] +- org.jboss.teiid:teiid:jar:jdbc:8.12.0.Final:compile [INFO] +- org.jboss.teiid:teiid-common-core:jar:8.12.0.Final:compile [INFO] \- org.jboss.teiid:teiid-client:jar:8.12.0.Final:compile [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.812s [INFO] Finished at: Thu Mar 17 10:02:51 CDT 2016 [INFO] Final Memory: 14M/126M Not sure where the web-console is coming from. I see what's adding the issue, the productization process is adding the web-console to the root pom.xml. On the branch I pushed for product, I ran dependency:tree on the whole project and didn't see web-console. Not sure where productization is seeing the need. Yes, running mvn dependency:tree on the sources with the DV build repository reveals a transitive dependency via org.jboss.teiid:teiid:jar:jdbc:8.12.5.redhat-2 [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ simpleclient --- [INFO] org.jboss.teiid.quickstart:simpleclient:jar:3.0.0.redhat-63-4 [INFO] +- org.jboss.teiid:teiid:jar:jdbc:8.12.5.redhat-2:compile [INFO] | \- org.jboss.teiid.web-console:teiid-console-dist:zip:jboss-as7:2.5.6.Final-redhat-63-4:compile [INFO] +- org.jboss.teiid:teiid-common-core:jar:8.12.5.redhat-2:compile [INFO] \- org.jboss.teiid:teiid-client:jar:8.12.5.redhat-2:compile [INFO] \- (org.jboss.teiid:teiid-common-core:jar:8.12.5.redhat-2:compile - omitted for duplicate) It's not obvious from the teiid source what pom is associated with teiid-8.12.5.redhat-2-jdbc.jar. The jar's metadata includes the teiid-common-core and teiid-client poms. Grepping for teiid-console-dist, it is only mentioned in pom.xml (in dependencyManagement) and build/pom.xml (in dependencies), so maybe maven is using the build pom somehow? I'm unsure. Talking with Van on IRC, the conclusion is that the jdbc jar(s) need to be associated with a pom other than the main kit pom. Either a new module will be required, or maybe teiid-client can be reused. The kit pom is build/pom.xml in the source, but teiid-8.12.5.redhat-2.pom in the repo, so maven associates teiid-8.12.5.redhat-2-jdbc.jar with it. teiid-8.12.5.redhat-2.pom has a dependency on teiid-console-dist, which isn't appropriate for the jdbc jar(s). Normally no artifacts from group org.jboss.teiid, artifact teiid, are used by customers, they're consumed only by the downstream DV kit/assembly, which is built with access to the full DV build repository in Brew. Is this a blocker for alpha? Affected artifact is client. Any SQL client can be used instead. So, in my opinion it is not blocker. agreed, any sql tool can be used, instead of simple client. No need to make it a blocker. Steven Hawkins <shawkins> updated the status of jira TEIID-4094 to Resolved Steven Hawkins <shawkins> updated the status of jira TEIID-4094 to Reopened Steven Hawkins <shawkins> updated the status of jira TEIID-4094 to Resolved |