[ 
http://jira.codehaus.org/browse/MDEP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Khai Do updated MDEP-250:
-------------------------

    Attachment: MDEP-250-patch.txt

Attached is a patch for the skip flag.  It will work for both copy and unpack 
goals.  Please consider including this in the next release.  Thanks.

Here the pom.xml:
<project>
  [...]
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <configuration>
          <skip>[ true or false ]</skip>
          <artifactItems>
            <artifactItem>
              <groupId>[ groupId ]</groupId>
              <artifactId>[ artifactId ]</artifactId>
              <version>[ version ]</version>
              <type>[ packaging ]</type>
            </artifactItem>
          </artifactItems>
        </configuration>
      </plugin>
    </plugins>
  </build>
  [...]
</project>



> Add a skip paramater to dependency:unpack
> -----------------------------------------
>
>                 Key: MDEP-250
>                 URL: http://jira.codehaus.org/browse/MDEP-250
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack
>    Affects Versions: 2.1
>         Environment: Windows XP
>            Reporter: Jim McCaskey
>            Assignee: Brian Fox
>         Attachments: MDEP-250-patch.txt
>
>
> We would like to have a skip paramater for dependency:unpack.  This would 
> cause the unpack to be skipped if true.  We are currently working around the 
> lack of this with profiles.
> The jetspeed plugin has a skip option that we have found some uses for, but 
> jetspeed is not as robust as the dependency plugin (specifically with 
> multi-module builds).  We would prefer to use the core modules anyway.
> Here is a link to the jetspeed configuration page:
> http://portals.apache.org/jetspeed-2/maven/jetspeed-maven-plugins.html#Configuration_and_usage_of_the_jetspeed-unpack:unpack_Maven_Plugin

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to