apiee-example
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.phillip-kruger</groupId> <artifactId>apiee-example</artifactId> <version>2.0.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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>com.github.phillip-kruger</groupId> <artifactId>apiee</artifactId> <version>2.0.1</version> <relativePath>../</relativePath> </parent> <artifactId>apiee-example</artifactId> <packaging>war</packaging> <name>apiee example</name> <description>An example Java EE application that demonstrate Apiee</description> <dependencies> <!-- Apiee Core--> <dependency> <groupId>com.github.phillip-kruger</groupId> <artifactId>apiee-core</artifactId> <version>${project.version}</version> </dependency> </dependencies> <properties> <!-- Logging settings --> <log.level>FINEST</log.level> <log.name>com.github.phillipkruger.apiee</log.name> </properties> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <version>3.4.0</version> </plugin> </plugins> </build> <!-- <profiles> Activate using the wildfly property: mvn clean install -Dwildfly <profile> <id>wildfly</id> <activation> <property> <name>wildfly</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.wildfly.plugins</groupId> <artifactId>wildfly-maven-plugin</artifactId> <version>1.2.0.Alpha5</version> <executions> <execution> <phase>install</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> Activate using the tomee property: mvn clean install -Dtomee <profile> <id>tomee</id> <activation> <property> <name>tomee</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.1.0</version> <configuration> <outputDirectory>/opt/apache-tomee-plus-7.0.3/webapps/</outputDirectory> </configuration> </plugin> </plugins> </build> </profile> Activate using the payara property: mvn clean install -Dpayara <profile> <id>payara</id> <activation> <property> <name>payara</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.1.0</version> <configuration> <outputDirectory>/opt/server/payara5/glassfish/domains/domain1/autodeploy/</outputDirectory> </configuration> </plugin> </plugins> </build> </profile> Activate using the liberty property: mvn clean install -Dliberty <profile> <id>liberty</id> <activation> <property> <name>liberty</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.1.0</version> <configuration> <outputDirectory>/opt/wlp/usr/servers/defaultServer/dropins/</outputDirectory> </configuration> </plugin> </plugins> </build> </profile> </profiles>--> </project>