[ 
http://jira.codehaus.org/browse/MDEP-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112335
 ] 

srikanth madarapu commented on MDEP-117:
----------------------------------------

How do i mention the version, i tried the following two versions and resulted 
in "Unable to download the artifact from any repository"  error.

{code:xml}
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                *<version>2.0-alpha-5-SNAPSHOT</version>*  also tried   
*<version>alpha-5-SNAPSHOT</version>*

                <executions>
                    <!-- We need to extract the language translations in to the 
deployement location -->
                    <execution>
                        <id>unpack-lang-translations</id>
                        <goals>
                            <goal>unpack-dependencies</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>WEB-INF</outputDirectory>
                            <includeGroupIds>com.workscape</includeGroupIds>
                            
<includeArtifactIds>caps-translations</includeArtifactIds>
                            <includeTypes>zip</includeTypes>
                            <includeClassifiers>app</includeClassifiers>
                            <stripVersion>true</stripVersion>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
{code}


> includeClassifiers does not work
> --------------------------------
>
>                 Key: MDEP-117
>                 URL: http://jira.codehaus.org/browse/MDEP-117
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: unpack-dependencies
>         Environment: windows xp
>            Reporter: srikanth madarapu
>            Assignee: Brian Fox
>
> This is same as the issue described in MDEP-43. I have 2.0-alpha-1 and 
> 2.0-alpha-04, not sure which one i am using.
> This is how my execution looks like...
>                  <execution>
>                         <id>unpack-lang-translations</id>
>                         <goals>
>                             <goal>unpack-dependencies</goal>
>                         </goals>
>                         <configuration>
>                             
> <outputDirectory>${webapp.deploy.dir}/WEB-INF</outputDirectory>
>                             <includeGroupIds>com.workscape</includeGroupIds>
>                             
> <includeArtifactIds>caps-translations</includeArtifactIds>
>                             <includeTypes>zip</includeTypes>
>                             <includeClassifiers>app</includeClassifiers>
>                             <stripVersion>true</stripVersion>
>                         </configuration>
>                     </execution>
> I have another zip in that folder with classifier 'flex' but that is getting 
> unzipped too.

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