You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2011/07/04 09:47:42 UTC
svn commit: r1142582 -
/sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java
Author: cziegeler
Date: Mon Jul 4 07:47:41 2011
New Revision: 1142582
URL: http://svn.apache.org/viewvc?rev=1142582&view=rev
Log:
Code cleanup - remove unused stuff.
Modified:
sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java
Modified: sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java
URL: http://svn.apache.org/viewvc/sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java?rev=1142582&r1=1142581&r2=1142582&view=diff
==============================================================================
--- sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java (original)
+++ sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java Mon Jul 4 07:47:41 2011
@@ -25,34 +25,10 @@ import org.apache.maven.project.MavenPro
public abstract class AbstractBundleListMojo extends AbstractMojo {
/**
- * @parameter expression="${configDirectory}"
- * default-value="src/main/config"
- */
- protected File configDirectory;
-
- /**
- * JAR Packaging type.
- */
- protected static final String JAR = "jar";
-
- /**
- * WAR Packaging type.
- */
- protected static final String WAR = "war";
-
- /**
* Partial Bundle List type
*/
protected static final String PARTIAL = "partialbundlelist";
- protected static boolean shouldCopy(File source, File dest) {
- if (!dest.exists()) {
- return true;
- } else {
- return source.lastModified() > dest.lastModified();
- }
- }
-
/**
* @parameter default-value="${basedir}/src/main/bundles/list.xml"
*/