You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/04/11 05:38:48 UTC

[isis] branch master updated: ISIS-2445: single stage deploy nightly-localfs-repo

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 9623f18b1c ISIS-2445: single stage deploy nightly-localfs-repo
9623f18b1c is described below

commit 9623f18b1c806af1776f6694b34d29493e0ed8b8
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Apr 11 07:38:44 2022 +0200

    ISIS-2445: single stage deploy nightly-localfs-repo
---
 isis-parent/pom.xml | 57 +++++------------------------------------------------
 starters/pom.xml    | 57 +++++------------------------------------------------
 2 files changed, 10 insertions(+), 104 deletions(-)

diff --git a/isis-parent/pom.xml b/isis-parent/pom.xml
index b6ab17a565..b249a1363f 100644
--- a/isis-parent/pom.xml
+++ b/isis-parent/pom.xml
@@ -1112,17 +1112,17 @@ under the License.
 		</profile>
 		
 		<profile>
-			<id>nightly-stage1</id>
+			<id>nightly-localfs-repo</id>
 			<activation>
 				<property>
-					<name>nightly-stage1</name>
+					<name>nightly-localfs-repo</name>
 				</property>
 			</activation>
 			<distributionManagement>
 				<repository>
-			        <id>local.staging.repo</id> 
+			        <id>nightly-localfs-repo</id> 
 			        <name>Temporary Local Filesystem Staging Repository</name> 
-			        <url>file://${project.build.directory}/mvn-artifact</url> 
+			        <url>file://${NIGHTLY_ROOT_PATH}/docs/mvn-snapshots</url> 
 			    </repository> 
 			</distributionManagement>
 			<build>
@@ -1132,7 +1132,7 @@ under the License.
 					    <version>2.8.2</version>
 					    <configuration>
 					        <altDeploymentRepository>
-					            local.staging.repo::default::file://${project.build.directory}/mvn-artifact
+					            nightly-localfs-repo::default::file://${NIGHTLY_ROOT_PATH}/docs/mvn-snapshots
 					        </altDeploymentRepository>
 					    </configuration>
 					</plugin>
@@ -1140,53 +1140,6 @@ under the License.
 			</build>
 		</profile>
 		
-		<profile>
-			<id>nightly-stage2</id>
-			<activation>
-				<property>
-					<name>nightly-stage2</name>
-				</property>
-			</activation>
-			<distributionManagement>
-				<repository>
-			        <id>local.staging.repo</id> 
-			        <name>Temporary Local Filesystem Staging Repository</name> 
-			        <url>file://${project.build.directory}/mvn-artifact</url> 
-			    </repository> 
-			</distributionManagement>
-			<build>
-				<plugins>
-					<plugin>
-					    <groupId>com.github.github</groupId>
-					    <artifactId>site-maven-plugin</artifactId>
-					    <version>0.12</version>
-					    <configuration>
-					        <message>Maven artifacts for ${project.version}</message>
-					        <noJekyll>true</noJekyll>
-					        <outputDirectory>${project.build.directory}</outputDirectory>
-					        <branch>refs/heads/master</branch>
-					        <includes>
-					            <include>**/*</include>
-					        </includes>
-					        <merge>true</merge>
-					        <repositoryName>apache-isis-committers</repositoryName>
-					        <repositoryOwner>isis-nightly</repositoryOwner>
-					        <server>github</server>
-					    </configuration>
-					    <executions>
-					        <execution>
-					            <goals>
-					                <goal>site</goal>
-					            </goals>
-					            <phase>site</phase>
-					        </execution>
-					    </executions>
-					</plugin>
-				</plugins>
-			</build>
-			
-		</profile>
-		
 		
 
 		<!-- APACHE ISIS customisation 15/15: end -->
diff --git a/starters/pom.xml b/starters/pom.xml
index 6a82755366..259993a15f 100644
--- a/starters/pom.xml
+++ b/starters/pom.xml
@@ -481,17 +481,17 @@
 		</profile>
 		
 		<profile>
-			<id>nightly-stage1</id>
+			<id>nightly-localfs-repo</id>
 			<activation>
 				<property>
-					<name>nightly-stage1</name>
+					<name>nightly-localfs-repo</name>
 				</property>
 			</activation>
 			<distributionManagement>
 				<repository>
-			        <id>local.staging.repo</id> 
+			        <id>nightly-localfs-repo</id> 
 			        <name>Temporary Local Filesystem Staging Repository</name> 
-			        <url>file://${project.build.directory}/mvn-artifact</url> 
+			        <url>file://${NIGHTLY_ROOT_PATH}/docs/mvn-snapshots</url> 
 			    </repository> 
 			</distributionManagement>
 			<build>
@@ -501,60 +501,13 @@
 					    <version>2.8.2</version>
 					    <configuration>
 					        <altDeploymentRepository>
-					            local.staging.repo::default::file://${project.build.directory}/mvn-artifact
+					            nightly-localfs-repo::default::file://${NIGHTLY_ROOT_PATH}/docs/mvn-snapshots
 					        </altDeploymentRepository>
 					    </configuration>
 					</plugin>
 				</plugins>
 			</build>
 		</profile>
-		
-		<profile>
-			<id>nightly-stage2</id>
-			<activation>
-				<property>
-					<name>nightly-stage2</name>
-				</property>
-			</activation>
-			<distributionManagement>
-				<repository>
-			        <id>local.staging.repo</id> 
-			        <name>Temporary Local Filesystem Staging Repository</name> 
-			        <url>file://${project.build.directory}/mvn-artifact</url> 
-			    </repository> 
-			</distributionManagement>
-			<build>
-				<plugins>
-					<plugin>
-					    <groupId>com.github.github</groupId>
-					    <artifactId>site-maven-plugin</artifactId>
-					    <version>0.12</version>
-					    <configuration>
-					        <message>Maven artifacts for ${project.version}</message>
-					        <noJekyll>true</noJekyll>
-					        <outputDirectory>${project.build.directory}</outputDirectory>
-					        <branch>refs/heads/master</branch>
-					        <includes>
-					            <include>**/*</include>
-					        </includes>
-					        <merge>true</merge>
-					        <repositoryName>apache-isis-committers</repositoryName>
-					        <repositoryOwner>isis-nightly</repositoryOwner>
-					        <server>github</server>
-					    </configuration>
-					    <executions>
-					        <execution>
-					            <goals>
-					                <goal>site</goal>
-					            </goals>
-					            <phase>site</phase>
-					        </execution>
-					    </executions>
-					</plugin>
-				</plugins>
-			</build>
-			
-		</profile>
 
 	</profiles>
 </project>