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

Exclude jline from the Maven's plugin classpath #19700

Conversation

aloubyansky
Copy link
Member

Possibly fixes #19673

@knutwannheden could you please give this a try?

@quarkus-bot quarkus-bot bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/maven labels Aug 26, 2021
@knutwannheden
Copy link
Contributor

Possibly fixes #19673

@knutwannheden could you please give this a try?

This doesn't appear to be working. Can I provide you with some output to check that it looks correct?

@aloubyansky
Copy link
Member Author

Sure

@knutwannheden
Copy link
Contributor

Can I somehow get Maven to output the plugin dependencies?

@knutwannheden
Copy link
Contributor

From mvn dependency:resolve-plugins but not sure if it helps:

[INFO] Plugin Resolved: quarkus-maven-plugin-999-SNAPSHOT.jar
[INFO]     Plugin Dependency Resolved: quarkus-bootstrap-core-999-SNAPSHOT.jar
[INFO]     Plugin Dependency Resolved: quarkus-core-deployment-999-SNAPSHOT.jar
[INFO]     Plugin Dependency Resolved: quarkus-project-core-extension-codestarts-999-SNAPSHOT.jar
[INFO]     Plugin Dependency Resolved: quarkus-devtools-common-999-SNAPSHOT.jar
[INFO]     Plugin Dependency Resolved: maven-plugin-api-3.8.1.jar
[INFO]     Plugin Dependency Resolved: jakarta.inject-api-1.0.jar
[INFO]     Plugin Dependency Resolved: jakarta.enterprise.cdi-api-2.0.2.jar
[INFO]     Plugin Dependency Resolved: maven-core-3.8.1.jar
[INFO]     Plugin Dependency Resolved: maven-artifact-transfer-0.10.0.jar
[INFO]     Plugin Dependency Resolved: freemarker-2.3.31.jar
[INFO]     Plugin Dependency Resolved: jakarta.json-1.1.6.jar
[INFO]     Plugin Dependency Resolved: jackson-databind-2.12.4.jar
[INFO]     Plugin Dependency Resolved: mojo-executor-2.3.1.jar
[INFO]     Plugin Dependency Resolved: slf4j-jboss-logmanager-1.1.0.Final.jar

@aloubyansky
Copy link
Member Author

You can do that from the maven plugin project using mvn dependency:tree I am not sure how to do that from an app. There is mvn dependency:resolve-plugins but i haven't tried it myself.

@aloubyansky
Copy link
Member Author

How does it fail? In the same way?

@knutwannheden
Copy link
Contributor

How does it fail? In the same way?

Yes, same way as before.

@aloubyansky
Copy link
Member Author

Ok, thanks @knutwannheden I'll close this one for now.

@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label Aug 26, 2021
@knutwannheden
Copy link
Contributor

Should the exclusion be for org.jline:jline rather than jline:jline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/maven triage/invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: Quarkus 2.2.0 breaks Dev Mode on Windows
2 participants