-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Phillip Kruger <[email protected]>
- Loading branch information
1 parent
4bed979
commit 97114d6
Showing
10 changed files
with
457 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?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-SNAPSHOT</version> | ||
<relativePath>../</relativePath> | ||
</parent> | ||
|
||
<artifactId>apiee-core</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<name>apiee-core</name> | ||
<description>A library to add generated swagger doc to your Java EE systems</description> | ||
|
||
<properties> | ||
<swagger.ui.version>3.23.11</swagger.ui.version> | ||
<swagger.ui.themes.version>3.0.0</swagger.ui.themes.version> | ||
<swagger.version>2.2.19</swagger.version> | ||
</properties> | ||
|
||
<dependencies> | ||
<!-- Swagger UI --> | ||
<dependency> | ||
<groupId>org.webjars</groupId> | ||
<artifactId>swagger-ui</artifactId> | ||
<version>${swagger.ui.version}</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.webjars.npm</groupId> | ||
<artifactId>swagger-ui-themes</artifactId> | ||
<version>${swagger.ui.themes.version}</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
|
||
<!-- Swagger - For Endpoint documentation --> | ||
<dependency> | ||
<groupId>io.swagger.core.v3</groupId> | ||
<artifactId>swagger-annotations</artifactId> | ||
<version>${swagger.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.swagger.core.v3</groupId> | ||
<artifactId>swagger-jaxrs2-jakarta</artifactId> | ||
<version>${swagger.version}</version> | ||
|
||
<exclusions> | ||
<exclusion> | ||
<groupId>javax.ws.rs</groupId> | ||
<artifactId>*</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>javax.validation</groupId> | ||
<artifactId>*</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
|
||
<!-- Copy all web content files META-INF folder, and push it though a filter to replace maven properties --> | ||
<resources> | ||
<resource> | ||
<directory>${basedir}/src/main/resources</directory> | ||
</resource> | ||
<resource> | ||
<directory>${basedir}/src/main/webapp</directory> | ||
<targetPath>${project.build.directory}/classes/META-INF/resources</targetPath> | ||
<filtering>true</filtering> | ||
<includes> | ||
<include>**/*.css</include> | ||
<include>**/*.html</include> | ||
</includes> | ||
</resource> | ||
<resource> | ||
<directory>${basedir}/src/main/webapp</directory> | ||
<targetPath>${project.build.directory}/classes/META-INF/resources</targetPath> | ||
<filtering>false</filtering> | ||
<excludes> | ||
<exclude>**/*.css</exclude> | ||
<exclude>**/*.html</exclude> | ||
</excludes> | ||
</resource> | ||
</resources> | ||
|
||
</build> | ||
|
||
</project> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
<?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-SNAPSHOT</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> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?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-SNAPSHOT</version> | ||
<relativePath>../</relativePath> | ||
</parent> | ||
|
||
<artifactId>apiee-lite</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<name>apiee-lite</name> | ||
<description>Apiee Core with no dependencies, assume they are provided</description> | ||
|
||
<dependencies> | ||
<!-- Apiee Core--> | ||
<dependency> | ||
<groupId>com.github.phillip-kruger</groupId> | ||
<artifactId>apiee-core</artifactId> | ||
<version>${project.version}</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>io.swagger.core.v3</groupId> | ||
<artifactId>*</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
</project> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?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-SNAPSHOT</version> | ||
<relativePath>../</relativePath> | ||
</parent> | ||
|
||
<artifactId>apiee-providers</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<name>apiee-providers</name> | ||
<description>Some general Exception mappers</description> | ||
|
||
</project> |
This file contains 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
Oops, something went wrong.