Author: felipeal
Date: Mon Jan 16 21:36:06 2006
New Revision: 369688

URL: http://svn.apache.org/viewcvs?rev=369688&view=rev
Log:
MPECLIPSE-84: added property maven.eclipse.project.name

Modified:
    maven/maven-1/plugins/trunk/eclipse/plugin.properties
    
maven/maven-1/plugins/trunk/eclipse/src/plugin-resources/templates/project.jelly
    maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml
    maven/maven-1/plugins/trunk/eclipse/xdocs/properties.xml

Modified: maven/maven-1/plugins/trunk/eclipse/plugin.properties
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/eclipse/plugin.properties?rev=369688&r1=369687&r2=369688&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/eclipse/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/eclipse/plugin.properties Mon Jan 16 21:36:06 
2006
@@ -1,5 +1,5 @@
 # -------------------------------------------------------------------
-# Copyright 2001-2004 The Apache Software Foundation.
+# Copyright 2001-2006 The Apache Software Foundation.
 # 
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
 # This accepts two values: 'all' for all the goals, 
 # and 'plugins' to generate only the plugins' default goals.
 maven.eclipse.goals = plugins
+maven.eclipse.project.name=${pom.artifactId}
 maven.gen.src=${maven.build.dir}/generated-sources
 maven.eclipse.src.extension = zip
 maven.eclipse.src.download = true

Modified: 
maven/maven-1/plugins/trunk/eclipse/src/plugin-resources/templates/project.jelly
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/eclipse/src/plugin-resources/templates/project.jelly?rev=369688&r1=369687&r2=369688&view=diff
==============================================================================
--- 
maven/maven-1/plugins/trunk/eclipse/src/plugin-resources/templates/project.jelly
 (original)
+++ 
maven/maven-1/plugins/trunk/eclipse/src/plugin-resources/templates/project.jelly
 Mon Jan 16 21:36:06 2006
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!--
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -46,7 +46,7 @@
     </j:if>
   </j:if>
 
-  <name>${pom.artifactId}</name>
+  <name>${maven.eclipse.project.name}</name>
   <comment>${pom.description}</comment>
   <projects>
     <j:forEach var="lib" items="${pom.artifacts}">

Modified: maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml?rev=369688&r1=369687&r2=369688&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml Mon Jan 16 21:36:06 
2006
@@ -2,7 +2,7 @@
 
 <!--
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
   </properties>
   <body>
     <release version="1.11" date="in SVN">
+      <action dev="felipeal" type="add" issue="MPECLIPSE-84">Added new 
property <code>maven.eclipse.project.name</code>.</action>
       <action dev="snicoll" type="add" issue="MPECLIPSE-60">Now trying to 
download java sources archives from the remote repositories.</action>
     </release>
     <release version="1.10" date="2005-12-03">

Modified: maven/maven-1/plugins/trunk/eclipse/xdocs/properties.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/eclipse/xdocs/properties.xml?rev=369688&r1=369687&r2=369688&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/eclipse/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/eclipse/xdocs/properties.xml Mon Jan 16 
21:36:06 2006
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!--
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -114,6 +114,14 @@
             Comma delimited list of additional project natures
             to include in the project description file. These natures
             will be added after the java nature (if the java nature is not 
already specified in the list).
+          </td>
+        </tr>
+        <tr>
+          <td>maven.eclipse.project.name</td>
+          <td>Yes</td>
+          <td>
+            Name of the generated project on Eclipse.
+            Defaults to <code>${artifactId}</code>.
           </td>
         </tr>
         <tr>


Reply via email to