You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jim McCaskey (JIRA)" <ji...@codehaus.org> on 2010/01/08 20:55:55 UTC

[jira] Created: (MDEP-250) Add a skip paramater to dependency:unpack

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


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

        

[jira] Updated: (MDEP-250) Add a skip paramater to dependency:unpack

Posted by "Khai Do (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Closed: (MDEP-250) Add a skip paramater to dependency:unpack

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MDEP-250.
--------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

> 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
>             Fix For: 2.2
>
>         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

        

[jira] Commented: (MDEP-250) Add a skip paramater to dependency:unpack

Posted by "Khai Do (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221266#action_221266 ] 

Khai Do commented on MDEP-250:
------------------------------

Yes. skip flag would be nice to have for unpack and copy.  
Here is a use case:
We have a few maven projects that are only dedicated to testing or setting up test environments.  These projects use the dependency plugin to get large resources from various repositories for testing.  The copy and unpack are a bit time consuming so it would be nice to skip if we build without tests (i.e. -Dmaven.test.skip=true).

> 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
>
> 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