108 lines
4.1 KiB
XML
108 lines
4.1 KiB
XML
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>jakarta-ee</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>jakarta-ee</name>
|
|
<packaging>war</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>jakarta.platform</groupId>
|
|
<artifactId>jakarta.jakartaee-web-api</artifactId>
|
|
<version>${jakartaee-api.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.mvc</groupId>
|
|
<artifactId>jakarta.mvc-api</artifactId>
|
|
<version>${jakarta.mvc-api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.krazo</groupId>
|
|
<artifactId>krazo-jersey</artifactId>
|
|
<version>${krazo.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>${junit.jupiter.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>mvc-2.0</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.glassfish.maven.plugin</groupId>
|
|
<artifactId>maven-glassfish-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<configuration>
|
|
<glassfishDirectory>${local.glassfish.home}</glassfishDirectory>
|
|
<user>admin</user>
|
|
<!-- <passwordFile>${local.glassfish.passfile}</passwordFile> -->
|
|
<adminPassword>password</adminPassword>
|
|
|
|
<domain>
|
|
<name>${local.glassfish.domain}</name>
|
|
<httpPort>8080</httpPort>
|
|
<adminPort>4848</adminPort>
|
|
|
|
</domain>
|
|
<components>
|
|
<component>
|
|
<name>${project.artifactId}</name>
|
|
<artifact>target/${project.build.finalName}.war</artifact>
|
|
|
|
</component>
|
|
</components>
|
|
<debug>true</debug>
|
|
<terse>false</terse>
|
|
<echo>true</echo>
|
|
|
|
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<jakartaee-api.version>9.0.0</jakartaee-api.version>
|
|
<krazo.version>2.0.0</krazo.version>
|
|
<jakarta.mvc-api.version>2.0.0</jakarta.mvc-api.version>
|
|
<junit.jupiter.version>5.8.2</junit.jupiter.version>
|
|
<local.glassfish.home>C:/glassfish6</local.glassfish.home>
|
|
<local.glassfish.user>admin</local.glassfish.user>
|
|
<local.glassfish.domain>mvn-domain</local.glassfish.domain>
|
|
<mockito.version>1.10.19</mockito.version>
|
|
<local.glassfish.passfile>
|
|
${local.glassfish.home}\\domains\\${local.glassfish.domain}\\config\\domain-passwords
|
|
</local.glassfish.passfile>
|
|
</properties>
|
|
|
|
</project> |