Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] creating new eclipse plug-in project & incorporating it into maven?

Hello,

What is the best way to create a new Eclipse plug-in project & incorporate it into a Tycho-based Maven build? The best I've figured out follows, but seems to be too many steps.

From Eclipse:

 

Create a new plug-in project in the appropriate directory as you normally would, say:

              

               /parent/new.plugin.project

 

               Set the output folder to "target/classes"

 

Right click on the project, "Configure" > "Convert to Maven project"

 

               Set "groupId" to "project.group.id"   

 

               Set "Packaging" to "eclipse-plugin"

 

Edit the new pom.xml.

              

               Set the parent to the appropriate parent pom coordinates (here that would be project.group.id:parent:1.0.0).

 

Edit the parent's pom.xml

 

               Add the new artifact id to the parent's list of modules.

 

Save, build, and enjoy.



Back to the top