You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by lc...@apache.org on 2011/02/28 14:34:30 UTC
svn commit: r1075349 -
/incubator/npanday/trunk/plugins/custom-lifecycle-maven-plugin/src/main/groovy/npanday/plugin/customlifecycle/CustomLifecycleMap.groovy
Author: lcorneliussen
Date: Mon Feb 28 14:34:30 2011
New Revision: 1075349
URL: http://svn.apache.org/viewvc?rev=1075349&view=rev
Log:
Now registered Custom Lifecycle for *ALL* artifact types. dotnet-archive was not even bound.
Modified:
incubator/npanday/trunk/plugins/custom-lifecycle-maven-plugin/src/main/groovy/npanday/plugin/customlifecycle/CustomLifecycleMap.groovy
Modified: incubator/npanday/trunk/plugins/custom-lifecycle-maven-plugin/src/main/groovy/npanday/plugin/customlifecycle/CustomLifecycleMap.groovy
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/custom-lifecycle-maven-plugin/src/main/groovy/npanday/plugin/customlifecycle/CustomLifecycleMap.groovy?rev=1075349&r1=1075348&r2=1075349&view=diff
==============================================================================
--- incubator/npanday/trunk/plugins/custom-lifecycle-maven-plugin/src/main/groovy/npanday/plugin/customlifecycle/CustomLifecycleMap.groovy (original)
+++ incubator/npanday/trunk/plugins/custom-lifecycle-maven-plugin/src/main/groovy/npanday/plugin/customlifecycle/CustomLifecycleMap.groovy Mon Feb 28 14:34:30 2011
@@ -29,8 +29,9 @@ import npanday.ArtifactType;
import static LifecycleMappingBuilder.build as forType
/**
- * The mapping of all compilable types to an almost empty lifecycle. It only
- * executes the default install and deploy plugins in the corresponding phases.
+ * The mapping of all types to an almost empty lifecycle. It only recognizes the main
+ * artifact in package and executes the default install and deploy plugins
+ * in the corresponding phases.
*
* @author Lars Corneliussen
*/
@@ -48,7 +49,7 @@ class CustomLifecycleMap extends Lifecyc
}
ArtifactType.values()
- .findAll{ArtifactType type -> type != npanday.ArtifactType.NULL && type.targetCompileType != null}
+ .findAll{ArtifactType type -> type != npanday.ArtifactType.NULL}
.each{
add(forType(it, phases))
}