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

FileNotFoundException when plugin executed twice on Jenkins. #189

Open
sajanssens opened this issue Jan 19, 2022 · 1 comment
Open

FileNotFoundException when plugin executed twice on Jenkins. #189

sajanssens opened this issue Jan 19, 2022 · 1 comment

Comments

@sajanssens
Copy link

Hello!

We have an issue with the jaxb2-maven-plugin.

We have a multi module maven project including (among others) multiple schema generation modules. When we build this project locally (either on windows with maven or in a docker container (image 'maven:3.8.4-jdk-11')), everything succeeds. But, when we build the project on Jenkins, the first schema generation module succeeds, but the second fails with:

java.io.FileNotFoundException: /var/jenkins_home/workspace/external-bss_spring_boot/var/jenkins_home/workspace/external-bss_spring_boot/bssSupplementary-schema/src/main/resources/supplementaryInt.wsdl (No such file or directory)

When we change the order of the modules, we see that the second one always fails.

As you can see, it prepends the project root path twice, which is incorrect.

Any idea what is wrong here?

@smerschjohann
Copy link

@sajanssens how did you resolve that issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants