You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sonar, Nishant" <ni...@wachovia.com> on 2007/10/02 20:05:26 UTC

didnt get this phenomena with symlinks

Hello

 

I have a dir structure as

 

LoginModules

|---LMCore

|---LMHttp

|---LMWebTest

|---supportfiles


what I want to do is 

1 .  In the parent pom (LoginModules), I am copying something from a
'suppportfiles' in 

To "target/generated-resources/deployable/server/default/".

 

2. For the jars grnerated in sub-modules(LMCore,LMHttp,LMWebTest) 

I am copying them to
target/generated-resources/deployable/server/default/

In there respective directory , so what I have is something like

 

LoginModules

|---LMCore

    |--- target/generated-resources/deployable/server/default/LMCore.jar

|---LMHttp

    |--- target/generated-resources/deployable/server/default/
LMHttp.jar

|---LMWebTest

    |--- target/generated-resources/deployable/server/default/
LMWebTest.war

|---supportfiles

 

With the submodules its fine I get the desired structure after running
mvn clean install, but for the parent

I am not getting 

 

LoginModules/
target/generated-resources/deployable/server/default/supportingfiles

 

 

What I see when running with -X is that there are some 'symlinks'
refered by manven and a clean

On child erases target for parent? I don't understand this phenomena????

 

Also what I have seen is that a clean called for parent module deletes
the target for

Previous module.

 

Regards,

Nishant Sonar