diff options
Diffstat (limited to 'maven/03-hello2-form-submission-webapp/pom.xml')
| -rw-r--r-- | maven/03-hello2-form-submission-webapp/pom.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/maven/03-hello2-form-submission-webapp/pom.xml b/maven/03-hello2-form-submission-webapp/pom.xml new file mode 100644 index 0000000..0091cbf --- /dev/null +++ b/maven/03-hello2-form-submission-webapp/pom.xml @@ -0,0 +1,49 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>com.example.servletapp</groupId> + <artifactId>hello2</artifactId> + <packaging>war</packaging> + <version>1.0-SNAPSHOT</version> + <name>hello2 Maven Webapp</name> + <url>http://maven.apache.org</url> + + <properties> + <maven.compiler.source>25</maven.compiler.source> + <maven.compiler.target>25</maven.compiler.target> + </properties> + + <dependencies> + <!-- Jakarta EE 11 API --> + <dependency> + <groupId>jakarta.platform</groupId> + <artifactId>jakarta.jakartaee-api</artifactId> + <version>11.0.0</version> <!-- Use latest 11 release --> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <finalName>hello2</finalName> + + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.13.0</version> + <configuration> + <source>${maven.compiler.source}</source> + <target>${maven.compiler.target}</target> + </configuration> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file |
