V. Mark Lehky
2014-03-07 23:37:03 UTC
Hello all.
I have an eclipse-plugin project that builds successfully using ant. I
would like to move this project to Maven (plus do a little cleanup of
the existing code); some Internet link pointed me towards Tycho.
I have gone through the EclipseCon Tycho Tutorial, and that seems to
be working fine for me. There is, however, one thing that is not clear
to me: dependencies to other projects.
My entire project consists of three Eclipse projects:
1. "executor.jar"
2. "server.jar"
3. and the plugin
I have a parent pom.xml which lists the above three modules as:
1. packaging = jar
2. packaging = jar
3. packaging = eclipse-plugin
I defined all the Tycho specific stuff in the plugin pom, not the parent pom.
Both the server.jar and my plugin depends on the "executor.jar" plus
one other jar from a Maven repo. In the server.jar defining the
dependencies in the pom is really easy, and that builds just fine.
How do I do this in the plugin?
I have an eclipse-plugin project that builds successfully using ant. I
would like to move this project to Maven (plus do a little cleanup of
the existing code); some Internet link pointed me towards Tycho.
I have gone through the EclipseCon Tycho Tutorial, and that seems to
be working fine for me. There is, however, one thing that is not clear
to me: dependencies to other projects.
My entire project consists of three Eclipse projects:
1. "executor.jar"
2. "server.jar"
3. and the plugin
I have a parent pom.xml which lists the above three modules as:
1. packaging = jar
2. packaging = jar
3. packaging = eclipse-plugin
I defined all the Tycho specific stuff in the plugin pom, not the parent pom.
Both the server.jar and my plugin depends on the "executor.jar" plus
one other jar from a Maven repo. In the server.jar defining the
dependencies in the pom is really easy, and that builds just fine.
How do I do this in the plugin?