Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with "mvn clean install" #41

Open
chrisdutz opened this issue Mar 23, 2016 · 0 comments
Open

Problems with "mvn clean install" #41

chrisdutz opened this issue Mar 23, 2016 · 0 comments
Labels
type:question A question asked by a user who needs help

Comments

@chrisdutz
Copy link

Hi,

I don't think it will be easy to fix this, but I wanted to documet it for the future.

We use JQA 1.1.3-SNAPSHOT in conjunction with the insanely cool useExecutionRootAsProjectRoot option set to true. This works as it should.

Now we had the problem that in one project we could do "mvn clean install" and in another we couldn't. Yesterday I found out what was different. In the working version the reactor root was a parent of the child modules and in the not-working version it wasn't. It seems Maven would usually build the pom artifact at the end, unless it is referenced by another module (the parent dependency).

In the working case the reactor root is referenced by the children and the "clean" is done first. If the root is not referenced by any other module, it is processed at the end and hereby the clean is done at the end. On windows machines this will fail as the Neo4j system has locked the data files. On a Mac it will simply delete them and after the build the data is lost.

Chris

@ascheman

@obfischer obfischer transferred this issue from jQAssistant/jqassistant Feb 26, 2020
@obfischer obfischer added the type:question A question asked by a user who needs help label Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question A question asked by a user who needs help
Projects
None yet
Development

No branches or pull requests

2 participants