Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Maven/Tycho change target for a individual module

Maven won't put it into the local repository unless you are using install on the command line. Furthermore each module will have its own target/ directory with a jar in there. 

Alex

Sent from my iPhone 5

On 11 Jul 2013, at 08:49, "Pradeep Simha" <pradeep.simha@xxxxxxxxxx> wrote:

Dear tycho members ,

 

I am new to maven and tycho, basically I am building a eclipse plugin projects using maven. I have around 18-20 eclipse plugin projects. My build structure is as follows:

 

--com.test.project.parentbuild

  |___ pom.xml   //Responsible for building all 18 projects.

 

And individual plugin projects as:

--com.test.plugin1

  |___ pom.xml

  |___ output

 

.

.

--com.test.plugin18

  |___ pom.xml

  |___ output

What I want is final jar file which maven builds should go into individual output folders, but currently maven is putting all output into local repository. What configuration should I do in order to achieve above? Snippet of parent pom.xml and child pom.xml is below: ( I am giving only relavent sections)

 

Parent Pom:

==============

 

<project>

<modelVersion>4.0.0</modelVersion>

<groupId>com.test</groupId>

<artifactId>parent</artifactId>

<version>1.0.0</version>

<packaging>pom</packaging>

<modules>

  <module>../com.test.plugin1</module>

  <module>../com.test.plugin18</module>

</modules>

 

Child pom:

==============

 

<parent>

<relativePath>../testbuild/pom.xml</relativePath>

<groupId>com.test</groupId>

<artifactId>parent</artifactId>

<version>1.0.0</version>

</parent>

 

Can anyone guide me in this?

 

 

With Regards,

Pradeep
Product Engineer

Cell: +91 - 8884382615

Skype: pradeepsimhanp

E-mail: pradeep.simha@xxxxxxxxxx

 

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top