MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mcintosh_i
Post subject: M4E generates different package structure to command line  PostPosted: Nov 21, 2008 - 07:20 AM
Registered Member
Registered Member


Joined: Apr 21, 2008
Posts: 21

If I generate a new Maven java project on the command line using the following:
Code:
mvn archetype:create -DgroupId=my.group.id -DartifactId=MyArtifactId


it generates (as expected) the class App.java in the package my.group.id.


If I use the same groupId and artifactId in Maven4Eclipse (in MyEclipse 6.6) then it generates App.java in the package my.group.id.MyArtifactId.

What gives?

It's not simply a matter of refactoring because even if you do that, and then install that jar, it's put it inside the repository under the incorrect directory (my/group/id/MyArtifactId).

This is confusing. Any ideas?

cheers,
Ian
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: M4E generates different package structure to command lin  PostPosted: Nov 21, 2008 - 02:39 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Ian,
Im afraid I don't have a workaround for you at the moment. I have filed a PR for the dev team and they will try to fix this asap.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits