MPECLIPSE-84: added property maven.eclipse.project.name

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@369688 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
felipeal
2006-01-17 05:36:06 +00:00
parent 78ba06106f
commit 55b958c401
4 changed files with 15 additions and 5 deletions

View File

@@ -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

View File

@@ -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}">

View File

@@ -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">

View File

@@ -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.
@@ -116,6 +116,14 @@
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>
<td>maven.gen.src</td>
<td>Yes (default=${maven.build.dir}/generated-sources)</td>