aspose 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


Win a copy of Java 8 in Action this week in the Java 8 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: 481
    
    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: 5779
    
    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
packages and CLASSPATH
SCEA Part 2 - Basic Questions
Give the easiest example which differentiate "interface" and "abstract class" in Java.
Disable HTML frame using Javascript
How to stop myeclipse generate metamodel classes at build?