Package io.micronaut.maven.services
Class ApplicationConfigurationService
java.lang.Object
io.micronaut.maven.services.ApplicationConfigurationService
Parses the Micronaut application configuration.
- Since:
- 1.1
- Author:
- Álvaro Sánchez-Mariscal
-
Field Summary
-
Constructor Summary
ConstructorDescriptionApplicationConfigurationService
(org.apache.maven.project.MavenProject mavenProject) -
Method Summary
Modifier and TypeMethodDescriptionDetermines the application port by looking at theMICRONAUT_SERVER_PORT
environment variable, themicronaut.server.port
configuration property, or falls back to a default port.
-
Field Details
-
DEFAULT_PORT
- See Also:
-
-
Constructor Details
-
ApplicationConfigurationService
-
-
Method Details
-
getServerPort
Determines the application port by looking at theMICRONAUT_SERVER_PORT
environment variable, themicronaut.server.port
configuration property, or falls back to a default port.- Returns:
- The application port
-