Hi everyone!
I want to set maven.eclipse.project.name property to point to the basedir.
The problem is that if I set maven.eclipse.project.name = ${baseDir} in the
project.properties, the name tag in .project file would have the full path
instead of only having the directory name.

I have already tried creating a pregoal:
<preGoal name="eclipse:generate-project">
        <ant:basename property="maven.eclipse.project.name" file="${basedir}"/>
        <ant:echo message="${maven.eclipse.project.name}"/>
</preGoal>

But maven.eclipse.project.name does not change. I believe because it was
created inmutable.

How can achieve this?

Thanks in advance

Christian
-- 
View this message in context: 
http://www.nabble.com/Changing-the-project-name-tf3229056s177.html#a8971371
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to