wildfly-jakartaee-webapp-archetype
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.wildfly.archetype</groupId>
<artifactId>wildfly-jakartaee-webapp-archetype</artifactId>
<version>40.0.0.Final</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may obtain
a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the License. -->
<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>
<parent>
<groupId>org.wildfly.archetype</groupId>
<artifactId>wildfly-archetypes</artifactId>
<version>40.0.0.Final</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>wildfly-jakartaee-webapp-archetype</artifactId>
<packaging>maven-archetype</packaging>
<name>WildFly Archetypes: Jakarta EE Webapp</name>
<description>An archetype that generates a starter Jakarta EE project for JBoss WildFly. The project is a WAR archive. It is prepared for Arquillian driven unit tests.</description>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<!--
The pom.xml that is generated by the archetype is filtered
so that we can inject the versions of the various dependencies and
plugins from the parent's pom.xml.
The properties that must not be filtered in that file (eg project.artifactId)
are prefixed with the escape string "\" so that they will be evaluated
when the project is generated by the archetype:generate goal
-->
<directory>src/main/resources-filtered</directory>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<escapeString>\</escapeString>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<!-- Create a -javadoc.jar to comply with Maven Central requirements -->
<id>javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>