File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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: 5836
    
    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
 
 
subject: How to stop maven-package generate metamodel classes?