Skip to content

Commit

Permalink
Merge pull request #31 from AlanRoth/FISH-326
Browse files Browse the repository at this point in the history
FISH-326 Add Profile to Deploy Internal JARs
  • Loading branch information
Alan authored Sep 29, 2020
2 parents c00373a + 427d50f commit d30848b
Show file tree
Hide file tree
Showing 12 changed files with 145 additions and 37 deletions.
1 change: 1 addition & 0 deletions api/payara-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -825,4 +825,5 @@
</plugin>
</plugins>
</build>

</project>
13 changes: 13 additions & 0 deletions appserver/distributions/payara-ml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,19 @@
</plugins>
</build>
</profile>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
Expand Down
13 changes: 13 additions & 0 deletions appserver/distributions/payara-web-ml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,19 @@
</plugins>
</build>
</profile>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
Expand Down
13 changes: 13 additions & 0 deletions appserver/distributions/payara-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,19 @@
</plugins>
</build>
</profile>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
Expand Down
13 changes: 13 additions & 0 deletions appserver/distributions/payara/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,19 @@
</plugins>
</build>
</profile>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
Expand Down
16 changes: 16 additions & 0 deletions appserver/ejb/ejb-http-remoting/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,22 @@
</plugins>
</build>

<profiles>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
Expand Down
13 changes: 13 additions & 0 deletions appserver/extras/embedded/all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -468,5 +468,18 @@
</plugins>
</build>
</profile>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
13 changes: 13 additions & 0 deletions appserver/extras/embedded/web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,19 @@
</dependencies>

<profiles>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jdk8</id>
<activation>
Expand Down
13 changes: 13 additions & 0 deletions appserver/extras/payara-micro/payara-micro-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -523,5 +523,18 @@
<product.name>Payara Micro Enterprise</product.name>
</properties>
</profile>
<profile>
<id>deployinternals</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
7 changes: 6 additions & 1 deletion nucleus/distributions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,12 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>

36 changes: 6 additions & 30 deletions nucleus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,12 @@ Parent is ${project.parent}</echo>
</dependencyManagement>

<profiles>
<profile>
<id>deployinternals</id>
<properties>
<deploy.skip>false</deploy.skip>
</properties>
</profile>
<profile>
<id>ci</id>
<modules>
Expand Down Expand Up @@ -1162,36 +1168,6 @@ Parent is ${project.parent}</echo>
</properties>
</profile>

<profile>
<id>DeploySnapshot-Internal</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>

<distributionManagement>
<snapshotRepository>
<id>payara-nexus</id>
<url>https://nexus.payara.fish/content/repositories/payara-snapshots</url>
</snapshotRepository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>payara-nexus</serverId>
<nexusUrl>https://nexus.payara.fish/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>DeploySnapshot-Sonatype</id>
<activation>
Expand Down
31 changes: 25 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@
<tag>payara-server-5.2020.5-SNAPSHOT</tag>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<issueManagement>
<system>Github</system>
<url>https://github.com/payara/Payara/issues</url>
Expand Down Expand Up @@ -347,6 +341,31 @@
</build>
</profile>

<profile>
<id>deployinternals</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>

<distributionManagement>
<repository>
<id>payara-nexus</id>
<url>https://nexus.payara.fish/repository/payara-artifacts/</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>

</profiles>

<build>
Expand Down

0 comments on commit d30848b

Please sign in to comment.