directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1074434 - /directory/project/trunk/pom.xml
Date Fri, 25 Feb 2011 08:21:46 GMT
Author: pamarcelot
Date: Fri Feb 25 08:21:46 2011
New Revision: 1074434

URL: http://svn.apache.org/viewvc?rev=1074434&view=rev
Log:
Added a specific profile used to append a string to project name. See -> http://directory.markmail.org/thread/ltdnrkauci2x2afc

Modified:
    directory/project/trunk/pom.xml

Modified: directory/project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/project/trunk/pom.xml?rev=1074434&r1=1074433&r2=1074434&view=diff
==============================================================================
--- directory/project/trunk/pom.xml (original)
+++ directory/project/trunk/pom.xml Fri Feb 25 08:21:46 2011
@@ -966,6 +966,26 @@
         </plugins>
       </build>
     </profile>
+    
+    <!-- Specific profile used to append a string to project name -->
+    <profile>
+      <id>append-to-project-name</id>
+      <activation>
+        <property>
+          <name>append.to.project.name</name>
+        </property>
+      </activation>
+      <build>
+         <plugins>
+          <plugin>
+            <artifactId>maven-eclipse-plugin</artifactId>
+            <configuration>
+              <projectNameTemplate>[artifactId]-${append.to.project.name}</projectNameTemplate>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>



Mime
View raw message