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

using newest wildfly-maven-plugin with Glow support #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

liweinan
Copy link
Contributor

No description provided.

@liweinan liweinan linked an issue Jan 28, 2024 that may be closed by this pull request
@liweinan
Copy link
Contributor Author

@jfdenise I'm trying to use the Glow scanning feature in the example and get the follow output that failed the Maven build process:

[INFO] --- wildfly-maven-plugin:5.0.0.Beta2:package (default) @ batchproperty ---
[INFO] Glow is scanning... 
[INFO] Glow scanning DONE.
[INFO] context: bare-metal
[INFO] enabled profile: none
[INFO] galleon discovery
[INFO] - feature-packs
   org.wildfly:wildfly-galleon-pack:30.0.1.Final
- layers
   ee-core-profile-server
   batch-jberet

[INFO] possible issues
[WARNING] * jakarta.naming.Context or InitialContext lookup. Enable verbose output to see the locations.

[INFO] Some suggestions have been found. You could enable suggestions with --suggest option (if using the WildFly Glow CLI) or <suggest>true</suggest> (if using the WildFly Maven Plugin).
...

[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:5.0.0.Beta2:package (default) on project batchproperty: Error detected by WildFly Glow. Aborting. -> [Help 1]

Is there anyway I can fix this?

@jfdenise
Copy link

Hi, Yes you can fix it by adding <failsOnError>false</failsOnError> inside the <discover-provisioning-info> element. You can look at examples there: https://github.com/wildfly/quickstart/blob/31.0.0.Final-glow-preview/ejb-security-programmatic-auth/pom.xml#L217

@liweinan
Copy link
Contributor Author

@jfdenise thanks for teaching!

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

Successfully merging this pull request may close these issues.

using newest wildfly-maven-plugin with Glow support
2 participants