Skip to content

Can't re-build project without Maven "clean" phase #44

@wodzuu

Description

@wodzuu

How to reproduce

  1. run mvn clean package
  2. run mvn package

Expected behaviour
The second command succeeds

Actual behaviour
The command execution fails with error message

[ERROR] Failed to execute goal com.ethlo.persistence.tools:eclipselink-maven-plugin:3.0.2:modelgen (modelgen) on project security: Processing failed: 
[ERROR] Note: Hibernate JPA 2 Static-Metamodel Generator 6.2.0.CR4
[ERROR] warning: Unable to parse persistence.xml: Unable to perform unmarshalling at line number 0 and column 0. Message: null
[ERROR] error: Problem with Filer: Attempt to recreate a file for type com.my.Entity_

Workaround
Include the clean phase each time you build the project

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions