Author: lcorneliussen
Date: Wed Sep 19 14:38:59 2012
New Revision: 1387622
URL: http://svn.apache.org/viewvc?rev=1387622&view=rev
Log:
NPANDAY-566 Custom NPanday-aware copy-dependencies / list-dependencies plugin
o also list the dependencies on non-npanday projects
Modified:
incubator/npanday/trunk/plugins/maven-resolver-plugin/src/main/java/npanday/plugin/resolver/ListDependenciesMojo.java
Modified:
incubator/npanday/trunk/plugins/maven-resolver-plugin/src/main/java/npanday/plugin/resolver/ListDependenciesMojo.java
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/maven-resolver-plugin/src/main/java/npanday/plugin/resolver/ListDependenciesMojo.java?rev=1387622&r1=1387621&r2=1387622&view=diff
==============================================================================
---
incubator/npanday/trunk/plugins/maven-resolver-plugin/src/main/java/npanday/plugin/resolver/ListDependenciesMojo.java
(original)
+++
incubator/npanday/trunk/plugins/maven-resolver-plugin/src/main/java/npanday/plugin/resolver/ListDependenciesMojo.java
Wed Sep 19 14:38:59 2012
@@ -124,20 +124,6 @@ public class ListDependenciesMojo
public void execute() throws MojoExecutionException, MojoFailureException
{
String skipReason = "";
- if ( !skip )
- {
- ArtifactType knownType =
ArtifactType.getArtifactTypeForPackagingName(
- project.getPackaging()
- );
-
- if ( knownType.equals( ArtifactType.NULL ))
- {
- skip = true;
- skipReason =
- ", because the current project (type:" +
project.getPackaging() + ") is not built with NPanday";
- }
- }
-
if ( skip )
{
getLog().info( "NPANDAY-161-001: Mojo for listing dependencies was
intentionally skipped" + skipReason );