You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2015/04/30 23:18:06 UTC
[jira] [Updated] (MDEP-483) NullPointerException when using
classifier and markers
[ https://issues.apache.org/jira/browse/MDEP-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise updated MDEP-483:
-------------------------------------
Fix Version/s: 2.10.1
> NullPointerException when using classifier and markers
> ------------------------------------------------------
>
> Key: MDEP-483
> URL: https://issues.apache.org/jira/browse/MDEP-483
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: unpack-dependencies
> Affects Versions: 2.10
> Reporter: Ralf Mitschke
> Priority: Critical
> Fix For: 2.10.1
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The issue is the same as in MDEP-448 but on the unpack-dependencies goal.
> It can be resolved by applying the same patch also to the file: org.apache.maven.plugin.dependency.fromDependencies.UnpackDependenciesMojo.java line 98
> Note that the problem is the logging when markers are present. To produce a test simply run the configuration below using any dependency with javadocs attachments. The first run is okay the second run fails with NullPointerException from
> org.apache.maven.plugin.dependency.fromDependencies.UnpackDependenciesMojo.java line 98
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
> <version>2.10</version>
> <executions>
> <execution>
> <id>unpack-javadoc</id>
> <phase>initialize</phase>
> <goals>
> <goal>unpack-dependencies</goal>
> </goals>
> <configuration>
> <overWriteIfNewer>false</overWriteIfNewer>
> <classifier>javadoc</classifier>
> <markersDirectory>${project.build.directory}/mdep-markers</markersDirectory>
> </configuration>
> </execution>
> </executions>
> </plugin>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)