That currently isn't an option of the dependency plugin. We rely on
Maven to generate the list of dependencies, which will automatically
inherit the parents' dependencies. You can file a Jira feature request
if you'd like and I will look into it. 

-----Original Message-----
From: Morgovsky, Alexander (US - Glen Mills)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 28, 2006 6:56 PM
To: [email protected]
Subject: Packaging dependencies in expanded format

I have an update for this.
I was able to use:
    <groupId>org.apache.maven.plugins</groupId> 
                <artifactId>maven-dependency-plugin</artifactId> 
                <version>2.0-ALPHA-1-SNAPSHOT</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
 
<outputDirectory>${project.build.directory}/prep</outputDirectory>
              <excludeTransitive>true</excludeTransitive>
            </configuration>

The problem is it obtained not only the current pom.xml dependencies but
also the dependencies from the parent.  I though that excludeTransitive
would prevent the parent's dependencies from being obtained.  Is there a
way that I can use this plugin and only obtain the current pom.xml's
dependencies?
Thanks. 


This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message. 


Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited. [v.E.1]


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

Reply via email to