-
1. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
shawkins May 23, 2014 9:01 AM (in response to cgausub)Offhand I'm not sure what dependency chain you would be dealing with for embedded that would reach as-parent. But if it's indirect through a managed dependency such as a bom, then effectively that's the version we use unless we make an override or move to a different set of managed dependencies.
-
2. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
rareddy May 26, 2014 6:19 PM (in response to shawkins)Chandrasekaran,
I believe the dependency is there to depend upon the some version numbers of third party libraries. For your project it does not matter, you can set up in your maven to exclude dependencies that you do not need.
Ramesh..
-
3. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
cgausub Jun 2, 2014 12:42 PM (in response to rareddy)Hi Ramesh,
I tried to change project settings to only depend on the teiid-client. I also excluded the libraries teiid client depends on directly. But still the dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom was not removed.
Any idea why this might be happening. Attaching the dependency I added to my project pom-
<dependency>
<groupId>org.jboss.teiid</groupId>
<artifactId>teiid-client</artifactId>
<version>${teiidVersion}</version>
<exclusions>
<exclusion>
<groupId>org.jboss.modules</groupId>
<artifactId>jboss-modules</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.teiid</groupId>
<artifactId>teiid-common-core</artifactId>
</exclusion>
</exclusions>
</dependency>
-Gautam
-
4. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
rareddy Jun 2, 2014 1:57 PM (in response to cgausub)You would need "teiid-common-core". Also what is the teiid version you are using? Use like "8.7.Final"
Ramesh..
-
5. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
cgausub Jun 3, 2014 1:39 AM (in response to rareddy)I had added "teiid-common-core" to the exclusion list just to try to figure out which library is adding the dependency to 'as-parent'. The teiid version I am using is 8.7.0.Final.
-
6. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
cgausub Jun 3, 2014 5:29 AM (in response to cgausub)I noticed the following entry in the 8.7 teiid-parent pom file-
<jbossas-version>7.2.0.Alpha1-redhat-4</jbossas-version>
This was not found in the 8.8 teiid parent pom file.
Is this causing the dependency to the as-parent pom file?
-Gautam
-
7. Re: Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
rareddy Jun 3, 2014 8:06 AM (in response to cgausub)Chandrasekaran,
Ok, I took couple minutes to try to build what you are doing. I attached a sample project for it. When I did
mvn dependency:tree
on this project, I get
[INFO] org.teiid.example:simple-client:jar:0.1-SNAPSHOT [INFO] +- org.jboss.teiid:teiid-client:jar:8.7.0.Final:compile [INFO] \- org.jboss.teiid:teiid-common-core:jar:8.7.0.Final:compile
HTH
Ramesh..
-
simple-client.tar.gz 8.1 KB
-
-
8. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
cgausub Jun 3, 2014 9:42 AM (in response to rareddy)Hi Ramesh,
Thanks for the info, this is exactly what I am seeing in the dependency tree.
What I was trying to figure out was how the dependency to 'jboss-as-parent-7.2.0.Alpha1-redhat-4.pom' is being added even though it is not showing up on the dependency tree.
The problem I am facing is that my build fails if the as-parent artifact is not present in my local repository.
-Gautam
-
9. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
rareddy Jun 3, 2014 11:26 AM (in response to cgausub)Gautam,
You are correct, I do see it. But I can not seem to exclude it as you have been trying too. The workaround is to use settings.xml file for your maven like this one teiid/settings.xml at master · teiid/teiid · GitHub, so you can do
mvn -s settings.xml clean install
You can log an issue, we can further take look as to how to avoid this.
Ramesh..
-
10. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
cgausub Jun 12, 2014 8:35 AM (in response to rareddy)Hi Ramesh,
We found that modifying org.jboss.teiid: teiid-parent pom locally to use the latest final version of the artifacts the issue reported above is resolved.
We changed the following lines-
<version.org.jboss.integration-platform>6.0.0-SNAPSHOT</version.org.jboss.integration-platform>
<jbossas-version>7.2.0.Alpha1-redhat-4</jbossas-version>
to -
<version.org.jboss.integration-platform>6.0.0.CR5</version.org.jboss.integration-platform>
<jbossas-version>7.2.0.Final</jbossas-version>
Just wanted to check whether this can cause any potential problems while running teiid in the embedded mode.
-Gautam
-
11. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
shawkins Jun 12, 2014 5:05 PM (in response to cgausub)1 of 1 people found this helpfulAt the time changes were made for 8.7, they were referencing the correct versions. Note that on master jbossas-version is no longer used and we are using a later CR for the integration platform.
> Just wanted to check whether this can cause any potential problems while running teiid in the embedded mode.
No, it should not.
-
12. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
cgausub Jun 13, 2014 2:29 AM (in response to shawkins)Thanks, that should solve the problem we were facing earlier
-
13. Re: Teiid Embedded 8.7 dependency on jboss-as-parent-7.2.0.Alpha1-redhat-4.pom
cgausub Sep 3, 2014 3:08 AM (in response to shawkins)We tried upgrading to 8.8 and started facing a similar issue issue.
We checked the master pom file and found the following dependency still exists.
<version.org.jboss.as>7.2.0.Alpha1-redhat-4</version.org.jboss.as>
-Gautam