-
1. Re: teiid embedded maven configuration
rareddy Jul 8, 2013 9:20 AM (in response to capoorhimanshu)Himanshu,
There are no separate dependencies for embedded. What you are getting is correct. Please understand that a mvn project like "teiid/common-core" does not necessarily mean that it is developed for one deployment profile vs other. They are common projects/modules, the kitting where we build the zip files for JBoss AS and Embedded Teiid, we analyze what is already supplied and what is not needed. Also, they may be compile time dependencies, not runtime. Maven I believe downloads all the dependencies for its repository. Just because it downloaded does not always mean that you need to include with your runtime kit.
Ramesh..
-
2. Re: teiid embedded maven configuration
capoorhimanshu Jul 15, 2013 4:31 AM (in response to rareddy)Hi ,
Thanks for the explanation Ramesh , i get it that they are common projects and dependencies i mentione above might be complie time dependencies.
It have put them in exclusions list in the pom and for the time being i am not getting any compliation errors.
Thanks
Himanshu Kapoor
-
3. Re: teiid embedded maven configuration
rareddy Jul 15, 2013 9:15 AM (in response to capoorhimanshu)Post your exclusions in POM file, if they are OK, I will update the pom.xml files.
-
4. Re: teiid embedded maven configuration
capoorhimanshu Jul 15, 2013 9:33 AM (in response to capoorhimanshu)Hi,
I have put these in exclusion list in the pom file of the project where i am calling/using teiid embedded api's
<dependency>
<groupId>org.jboss.teiid</groupId>
<artifactId>teiid-admin</artifactId>
<version>${teiidVersion}</version>
<exclusions>
<exclusion>
<groupId>org.jboss</groupId>
<artifactId>jboss-dmr</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-cli</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-controller</artifactId>
</exclusion>
</exclusions>
</dependency>
<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>
</exclusions>
</dependency>
Thanks
Himanshu Kapoor
-
5. Re: teiid embedded maven configuration
rareddy Jul 15, 2013 9:47 AM (in response to capoorhimanshu)Sorry, I should be been more explicit of my request. That does not give me much interms of fixing the Teiid. Obviously you will not have any compilation issues, as you are not compiling the Teiid code, you are just using the JAR files. If you added pom exclusions to the Teiid projects, and also compiled them without any errors and ran unit tests, then I am interested in those exclusions.
Ramesh..