Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Custom Eclipse project Name different from artifactId with Maven

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

By default Maven assigns artifactId as Eclipse Project name. The artifactId is in lower case but, our Eclipse project Naming convetion in UpperCamelCase. Is there any way to have custom different project name apart from artifactId?

Example: artifactId=test.common but project name should be CommonProject.

Please advice.
 
Saloon Keeper
Posts: 22263
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure that of the dozen or so active projects I have that even 1 in 3 of them has the same artifact Id as its Eclipse project name.

The artifact ID is defined in the POM and you can edit that. The Eclipse project can be renamed using the Eclipse project navigator view.
 
Prash Negu
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We can do that. But i was looking at some uniform approach in the team to have custom project name and different artifact id. While checking out as Maven project from SVN, we can specify different project name in "NamePlate" of Advanced section but, what if I am checking out multiple project at a time.

So, there is no way have them with different name?

Thanks,
Prashant
 
Tim Holloway
Saloon Keeper
Posts: 22263
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Prash Negu wrote:

So, there is no way have them with different name?



Create a plugin?
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ugh. Just rename it.
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic