You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2007/06/22 20:01:59 UTC
svn commit: r549911 -
/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
Author: carlos
Date: Fri Jun 22 11:01:59 2007
New Revision: 549911
URL: http://svn.apache.org/viewvc?view=rev&rev=549911
Log:
Remove default-value for projectNameTemplate
Modified:
maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
Modified: maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java?view=diff&rev=549911&r1=549910&r2=549911
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java Fri Jun 22 11:01:59 2007
@@ -324,15 +324,15 @@
private boolean addGroupIdToProjectName;
/**
- * Allows configuring the name of the eclipse projects. This property wins over
+ * Allows configuring the name of the eclipse projects. This property if set wins over
* addVersionToProjectName and addGroupIdToProjectName
*
- * You can use <code>[groupId]</code>, <code>[artifactId]</code> and
- * <code>[version]</code> variables.
+ * You can use <code>[groupId]</code>, <code>[artifactId]</code> and <code>[version]</code>
+ * variables.
*
* eg. <code>[groupId].[artifactId]-[version]</code>
*
- * @parameter expression="${eclipse.projectNameTemplate}" default-value="[artifactId]"
+ * @parameter expression="${eclipse.projectNameTemplate}"
*/
private String projectNameTemplate;
@@ -836,7 +836,7 @@
}
getLog().info( Messages.getString( "EclipsePlugin.wrote", new Object[] { //$NON-NLS-1$
- project.getArtifactId(), eclipseProjectDir.getAbsolutePath() } ) );
+ config.getEclipseProjectName(), eclipseProjectDir.getAbsolutePath() } ) );
}
protected EclipseWriterConfig createEclipseWriterConfig( IdeDependency[] deps )