This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 5812
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to stop maven-package generate metamodel classes?
 
Similar Threads
How to stop myeclipse generate metamodel classes at build?
Give the easiest example which differentiate "interface" and "abstract class" in Java.
Disable HTML frame using Javascript
packages and CLASSPATH
SCEA Part 2 - Basic Questions