In your osstaf/project pom create a dependency to jgtfw like this.

<dependency>
        <groupId>your.jgtfw.group.id</groupId>
        <artifactId>jgtfw</artifactId>
        <version>1.0-SNAPSHOT</version><!-- or the correct version
number you are using -->
</dependency> 

When compiling osstaf the dependency will be availible as long as you av
installed jgtfw into your repository already.

In parent dir run 'mvn install' or run jgtfw/ 'mvn install' first and
then whatever for osstaf.

-Ronny

-----Opprinnelig melding-----
Fra: swdev [mailto:[EMAIL PROTECTED] 
Sendt: 9. oktober 2006 11:09
Til: [email protected]
Emne: Multiple Project, Multiple POM


Hello,

Suppose I have the following directory structure:

+ jgtfw
..... + src
.......... + main
............... + java
.................... * CrudAction.java
* pom.xml

+ osstaf
..... + src
.......... + main
............... + webapp
* pom.xml

I want to use CrudAction.java in osstaf project, as WebWork Generic Crud
Action.

How can Maven POM accomplished this????
It is very easy to solve this problem in Ant.

But how can Maven solve this multiproject dependency. I am quite new in
this Maven area.

Thank you

Regards.
Eko SW

PS: The main point is, I would like to extract common things in a
WebWork project, to another Base Project, that is JGTFW (acronym for
Java Gama Techno Frame Work). And I would like to take benefit of Maven
Powerful Build System. 
--
View this message in context:
http://www.nabble.com/Multiple-Project%2C-Multiple-POM-tf2408736.html#a6
714059
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:452a11ba136891492418586!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to