On Wed, Dec 16, 2009 at 2:52 PM, Ramesh Reddy
<rareddy@redhat.com> wrote:
On Wed, 2009-12-16 at 13:20 -0600, Sanjay Chaudhuri wrote:
> Excellent idea about "classpath in Eclipse from a Maven repo". Give me
> the location, and let me see, if I can do something about it .. an
> interesting challenge !!!
>
Actually, if you add "maven" eclipse plugin as dependency to your
plugin, and drive the connector's build from "pom.xml" any dependencies
specified in the "pom.xml" are automatically added to the eclipse
project. May be that is how we want to drive this.
Obviously we would pre-can the "pom.xml" for our purpose that means it
will dependencies specified to begin with. If you installed "maven" on
your machine, then a local repo is in your "${user.home}/.m2/repository"
directory. It may not have the files I gave, but you can create them
easily like
.m2/repository/org/jboss/teiid/teiid-common-core/7.0.0-SNAPSHOT/teiid-common-core-7.0.0-SNAPSHOT.jar
.m2/repository/org/jboss/teiid/teiid-connector-api/7.0.0-SNAPSHOT/teiid-connector-api-7.0.0-SNAPSHOT.jar
.m2/repository/javax/resource/connector-api/1.5/connector-api-1.5.jar
Then use the attached pom file to build, it has jboss maven repo
details(although Teiid files are not in there now, they will be in
future). if we go this route I will add pom file to the template.
Ramesh..