Skip to content

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Kruger <[email protected]>
  • Loading branch information
phillip-kruger committed Sep 5, 2024
1 parent 4bed979 commit 97114d6
Show file tree
Hide file tree
Showing 10 changed files with 457 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apiee-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.phillip-kruger</groupId>
<artifactId>apiee</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.0.2-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>

Expand Down
93 changes: 93 additions & 0 deletions apiee-core/pom.xml.versionsBackup
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>
2 changes: 1 addition & 1 deletion apiee-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.github.phillip-kruger</groupId>
<artifactId>apiee</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.0.2-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>

Expand Down
146 changes: 146 additions & 0 deletions apiee-example/pom.xml.versionsBackup
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>
2 changes: 1 addition & 1 deletion apiee-lite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.phillip-kruger</groupId>
<artifactId>apiee</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.0.2-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>

Expand Down
33 changes: 33 additions & 0 deletions apiee-lite/pom.xml.versionsBackup
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>
2 changes: 1 addition & 1 deletion apiee-providers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.phillip-kruger</groupId>
<artifactId>apiee</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.0.2-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>

Expand Down
17 changes: 17 additions & 0 deletions apiee-providers/pom.xml.versionsBackup
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>
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.github.phillip-kruger</groupId>
<artifactId>apiee</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.0.2-SNAPSHOT</version>
<packaging>pom</packaging>

<name>apiee</name>
Expand Down Expand Up @@ -100,7 +100,7 @@
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<serverId>oss.sonatype.org</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
Expand Down
Loading

0 comments on commit 97114d6

Please sign in to comment.