Skip to content

Commit

Permalink
PAYARA-1875 (#1818)
Browse files Browse the repository at this point in the history
* PAYARA-1875 First pass at JDK8 profile

* PAYARA-1875 Fix missing "profiles" tags
  • Loading branch information
Pandrex247 authored Jul 31, 2017
1 parent 5c6a68a commit 2bcb206
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 43 deletions.
40 changes: 24 additions & 16 deletions appserver/extras/payara-micro/payara-micro-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -427,22 +427,6 @@
<version>${jackson.version}</version>
<optional>true</optional>
</dependency>
<!-- Add Microprofile 1.1 apis -->
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
<version>1.0-RC2</version>
</dependency>
<dependency>
<groupId>fish.payara.nucleus.microprofile.config</groupId>
<artifactId>microprofile-config-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>fish.payara.microprofile.config</groupId>
<artifactId>microprofile-config</artifactId>
<version>${project.version}</version>
</dependency>
<!-- JMS Annotation handlers -->
<dependency>
<groupId>org.glassfish.main.jms</groupId>
Expand Down Expand Up @@ -503,5 +487,29 @@
</build>
</profile>

<profile>
<id>jdk8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<dependencies>
<!-- Add Microprofile 1.1 apis -->
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
<version>1.0-RC2</version>
</dependency>
<dependency>
<groupId>fish.payara.nucleus.microprofile.config</groupId>
<artifactId>microprofile-config-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>fish.payara.microprofile.config</groupId>
<artifactId>microprofile-config</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -979,22 +979,6 @@
<version>${project.version}</version>
<type>jar</type>
</dependency>
<!-- Add Microprofile 1.1 apis -->
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
<version>1.0-RC2</version>
</dependency>
<dependency>
<groupId>fish.payara.nucleus.microprofile.config</groupId>
<artifactId>microprofile-config-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>fish.payara.microprofile.config</groupId>
<artifactId>microprofile-config</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
Expand Down Expand Up @@ -1048,5 +1032,29 @@
</plugins>
</build>
</profile>
<profile>
<id>jdk8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<dependencies>
<!-- Add Microprofile 1.1 apis -->
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
<version>1.0-RC2</version>
</dependency>
<dependency>
<groupId>fish.payara.nucleus.microprofile.config</groupId>
<artifactId>microprofile-config-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>fish.payara.microprofile.config</groupId>
<artifactId>microprofile-config</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
27 changes: 19 additions & 8 deletions appserver/featuresets/payara-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,23 @@
<version>${project.version}</version>
<type>zip</type>
</dependency>
<!-- Microprofile -->
<dependency>
<groupId>org.glassfish.main.packager</groupId>
<artifactId>microprofile-package</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
</dependencies>
</project>

<profiles>
<profile>
<id>jdk8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<dependencies>
<!-- Microprofile -->
<dependency>
<groupId>org.glassfish.main.packager</groupId>
<artifactId>microprofile-package</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
13 changes: 12 additions & 1 deletion appserver/packager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,20 @@
<module>environment-warning</module>
<module>payara-rest-endpoints</module>
<module>payara-fang</module>
<module>microprofile-package</module>
</modules>

<profiles>
<profile>
<id>jdk8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<modules>
<module>microprofile-package</module>
</modules>
</profile>
</profiles>

<build>
<outputDirectory>${temp.dir}</outputDirectory>
<pluginManagement>
Expand Down
13 changes: 12 additions & 1 deletion appserver/payara-appserver-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@
<module>environment-warning</module>
<module>payara-rest-endpoints</module>
<module>payara-fang</module>
<module>microprofile</module>
</modules>

<profiles>
<profile>
<id>jdk8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<modules>
<module>microprofile</module>
</modules>
</profile>
</profiles>
</project>
13 changes: 12 additions & 1 deletion nucleus/payara-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,19 @@ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
<module>asadmin-recorder</module>
<module>service-exemplar</module>
<module>notification-eventbus-core</module>
<module>nucleus-microprofile</module>
<module>notification-cdi-eventbus-core</module>
<module>jsr107-repackaged</module>
</modules>

<profiles>
<profile>
<id>jdk8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<modules>
<module>nucleus-microprofile</module>
</modules>
</profile>
</profiles>
</project>

0 comments on commit 2bcb206

Please sign in to comment.