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

Upgrade to Micronaut AOT 2.1.0 #835

Merged
merged 3 commits into from
Sep 5, 2023
Merged

Upgrade to Micronaut AOT 2.1.0 #835

merged 3 commits into from
Sep 5, 2023

Conversation

melix
Copy link
Contributor

@melix melix commented Sep 4, 2023

This also changes the list of service types which are used in tests.

See micronaut-projects/micronaut-aot#234

This also changes the list of service types which are used in tests.

See micronaut-projects/micronaut-aot#234
@melix melix added the type: dependency-upgrade Upgrade a dependency label Sep 4, 2023
@melix melix requested a review from alvarosanchez September 4, 2023 08:48
@melix melix self-assigned this Sep 4, 2023
@alvarosanchez
Copy link
Member

We need a new minor for this. I'll handle it.

@alvarosanchez alvarosanchez assigned alvarosanchez and unassigned melix Sep 4, 2023
@melix
Copy link
Contributor Author

melix commented Sep 4, 2023

I'm a bit confused by the error in integration tests:


Message: Failed to inject value for field [aotEnabled] of class: io.micronaut.build.examples.RunCommand

Message: Error resolving property value [micronaut.aot.enabled]. Property doesn't exist
Path Taken: new RunCommand() --> RunCommand.aotEnabled
Path Taken: new RunCommand() --> RunCommand.aotEnabled
	at picocli.CommandLine$DefaultFactory.create(CommandLine.java:5687)
	at picocli.CommandLine$Model$CommandUserObject.getInstance(CommandLine.java:12263)
	at picocli.CommandLine$Model$CommandSpec.userObject(CommandLine.java:6437)
	at picocli.CommandLine$Interpreter.clear(CommandLine.java:13497)
	at picocli.CommandLine$Interpreter.parse(CommandLine.java:13543)
	at picocli.CommandLine$Interpreter.parse(CommandLine.java:13532)
	at picocli.CommandLine$Interpreter.parse(CommandLine.java:13427)
	at picocli.CommandLine.parseArgs(CommandLine.java:1552)
	at picocli.CommandLine.execute(CommandLine.java:2169)
	at io.micronaut.configuration.picocli.PicocliRunner.run(PicocliRunner.java:137)
	at io.micronaut.configuration.picocli.PicocliRunner.run(PicocliRunner.java:114)
	at io.micronaut.build.examples.RunCommand.main(RunCommand.java:20)
Caused by: io.micronaut.context.exceptions.DependencyInjectionException: Failed to inject value for field [aotEnabled] of class: io.micronaut.build.examples.RunCommand

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@alvarosanchez alvarosanchez added this pull request to the merge queue Sep 5, 2023
Merged via the queue into master with commit c5c70e1 Sep 5, 2023
@alvarosanchez alvarosanchez deleted the cc/upgrade-aot branch September 5, 2023 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade Upgrade a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants