This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes How to stop maven-package generate metamodel classes? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply locked New topic
Author

How to stop maven-package generate metamodel classes?

Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 505
    
    1

Hello!

I am fighting this for about two days.
I have my metamodel classes generated by IDE.

When I do 'mvn package' from command line it generates new bunch of the same metamodel classes. And I have error - 'duplicated classes'

What generates metamodel classes when I do 'mvn package' and how to stop it?


True person is moral, false is right!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5850
    
    7

Please do not double-post. Let's continue the discussion at your other post:
http://www.coderanch.com/t/600529/tools/stop-maven-package-generate-metamodel


JBoss In Action
 
wood burning stoves
 
subject: How to stop maven-package generate metamodel classes?