Last active
June 25, 2020 20:40
-
-
Save bmatthews68/8205812 to your computer and use it in GitHub Desktop.
How to set system properties for the Jetty and Tomcat 7 Maven Plugins.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.eclipse.jetty</groupId> | |
| <artifactId>jetty-maven-plugin</artifactId> | |
| <configuration> | |
| <systemProperties> | |
| <systemProperty> | |
| <name>property.name</name> | |
| <value>property.value</value> | |
| </systemProperty> | |
| </systemProperties> | |
| </configuration> | |
| </plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.apache.tomcat.maven</groupId> | |
| <artifactId>tomcat7-maven-plugin</artifactId> | |
| <configuration> | |
| <property.name>property.value</property.name> | |
| </configuration> | |
| </plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tomcat example is incorrect. It should also be nested inside system properties like this: