maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Stiepel (Jira)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (MDEP-730) unpack - parameter markersDirectory allways gives an exception, while setting it
Date Tue, 17 Nov 2020 09:29:00 GMT

     [ https://issues.apache.org/jira/browse/MDEP-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jochen Stiepel updated MDEP-730:
--------------------------------
    Comment: was deleted

(was: sample added)

> unpack - parameter markersDirectory allways gives an exception, while setting it
> --------------------------------------------------------------------------------
>
>                 Key: MDEP-730
>                 URL: https://issues.apache.org/jira/browse/MDEP-730
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: unpack
>    Affects Versions: 3.1.2
>         Environment: Maven 3.6.3
>            Reporter: Jochen Stiepel
>            Priority: Blocker
>         Attachments: maven-dependency-plugin-MDEP-730.zip
>
>
> If you try to set the 'markersDirectory' with any value it fails with an exception
> [https://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html#markersDirectory]
>  
> here an example with the default value:
>  <plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId> <executions> <execution>
<id>unpackServerHome</id> <phase>validate</phase> <goals> <goal>unpack</goal>
</goals> <configuration> <artifactItems> <artifactItem> <groupId>test</groupId>
<artifactId>test</artifactId> <version>1.0</version> <type>zip</type>
<markersDirectory>${project.build.directory}/dependency-maven-plugin-markers</markersDirectory>
<outputDirectory>${project.basedir}/../../buildServerHome</outputDirectory> </artifactItem>
</configuration> </execution> </executions> </plugin>
>  Exception that is thrown: 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:unpack
(unpackbuildServerHome) on project test: Unable to parse configuration of mojo org.apache.maven.plugins:maven-dependency-plugin:3.1.2:unpack
for parameter markersDirectory: Cannot find 'markersDirectory' in class org.apache.maven.plugins.dependency.fromConfiguration.ArtifactItem
-> [Help 1]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message