Henri,

I created http://jira.codehaus.org/browse/MNGECLIPSE-744 for this, but have not had time to actually look at the problem.

Henri Gomez wrote:
Hi to all.

I bundled a sample zip containing everything needed to redo it.

Explanation

I defined a 'virtual pom' pompom which depends on pomproject1 and
pomproject2 (jars).

A parent pompomapps (pom) is defined and depends on pompom.

There is two children for pompomapps , one app (pompomapp1) and one
webapp (pompomapp1)

If you check the org.eclipse.wst.component for pompomapp1 after
importing into eclipse the attached zip, you'll see :

xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="pompomapp1">
        <wb-resource deploy-path="/" source-path="/src/main/java"/>
        <wb-resource deploy-path="/" source-path="/src/test/java"/>
        <wb-resource deploy-path="/" source-path="/src/main/resources"/>
        <wb-resource deploy-path="/" source-path="/src/test/resources"/>
        <dependent-module deploy-path="/WEB-INF/lib"
handle="module:/resource/pompom/pompom">
            <dependency-type>uses</dependency-type>
        </dependent-module>
        <dependent-module deploy-path="/WEB-INF/lib"
handle="module:/resource/pomproject1/pomproject1">
            <dependency-type>uses</dependency-type>
        </dependent-module>
        <dependent-module deploy-path="/WEB-INF/lib"
handle="module:/resource/pomproject2/pomproject2">
            <dependency-type>uses</dependency-type>
        </dependent-module>
    </wb-module>
</project-modules>


module:/resource/pomproject1/pomproject1 and
module:/resource/pomproject2/pomproject2 are in the deploy path as
excepted.

but module:/resource/pompom/pompom shouldn't since it's not a jar artifact.

Hope it will help you to fix these one.

Regards

2008/7/10 Henri Gomez <[EMAIL PROTECTED]>:
I'll do.

Just the time to extract what the required config for the sample test

2008/7/10 Igor Fedorenko <[EMAIL PROTECTED]>:
Henri,

Can you please open JIRA bug report about this? As usual, sample project(s)
and explanation of expected/desired behaviour will be of great help.

Henri Gomez wrote:
Hi to all,

Some of my projects depends on a pure POM package, ie my-package.

...

   <dependency>
     <groupId>my.corp</groupId>
     <artifactId>my-package</artifactId>
     <version>2.0.0</version>
     <type>pom</type>
   </dependency>

...

I found in the settings/org.eclipse.wst.common.component

       <dependent-module deploy-path="/WEB-INF/lib"
handle="module:/resource/my-package/my-package">
           <dependency-type>uses</dependency-type>
       </dependent-module>


Could we have excluded dependencies who are not jar packaging ?

Regards

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email




------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to