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

Maven War Plugin is missing #145

Open
dnolte123 opened this issue May 3, 2024 · 2 comments
Open

Maven War Plugin is missing #145

dnolte123 opened this issue May 3, 2024 · 2 comments

Comments

@dnolte123
Copy link

dnolte123 commented May 3, 2024

Without specifying the maven war plugin following error happens:
"plugin 'org.apache.maven.plugins:maven-war-plugin:2.2' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Cannot access defaults field of Properties"

Furthermore after explicitly specifying the maven war plugin a lot of warnings appear during " mvn package jetty:run" and at the end jetty is not working because of
"Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.4.53.v20231009:run (default-cli) on project swagger-petstore: Failure: Error forming scan list: Not file or doesn't exist: D:\dev\apps\swagger-petstore-master\src\main\resources\openapi-inflector.yaml"

@IvanovIlya116
Copy link

IvanovIlya116 commented May 14, 2024

I have already opened this issue #143 and made pull request - #144. You need to add file inflector.yaml to src\main\resources.

@karstengresch
Copy link

I have already opened this issue #143 and made pull request - #144. You need to add file inflector.yaml to src\main\resources.

But at least for me, this wouldn't work w/o adding

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-war-plugin</artifactId>
    <version>3.3.2</version>
</plugin>

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

3 participants