Terms of Service | Privacy Policy | Cookie Policy

Verified Commit c99ccba1 authored by Uwe Plonus's avatar Uwe Plonus

Adjusted project to new infrastructure

parent df219ca5
quality-profile.iml
.idea/
target/
public/
image: registry.sw4j.net/sw4j-net/jdk8-maven3:latest
stages:
- build
- deploy
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
build:
stage: build
script:
- mvn clean install
deploy:
stage: deploy
only:
refs:
- master@sw4j-org/quality-profile
variables:
- $REPO_USER
script:
- mvn $MAVEN_CLI_OPTS deploy
pages:
stage: deploy
only:
refs:
- master@sw4j-org/quality-profile
variables:
- $REPO_USER
script:
- mvn site post-site
artifacts:
paths:
- public
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>release</id>
<properties>
<gpg.executable>gpg2</gpg.executable>
<gpg.keyname>${env.CI_GPG_KEYNAME}</gpg.keyname>
</properties>
</profile>
<profile>
<id>standard</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>ossrh-snapshots</id>
<name>http://central.sonatype.org Snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<layout>default</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>ossrh-snapshots</id>
<name>http://central.sonatype.org Snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<servers>
<server>
<id>ossrh-snapshots</id>
<username>${env.REPO_USER}</username>
<password>${env.REPO_PWD}</password>
</server>
</servers>
</settings>
......@@ -13,28 +13,31 @@
<description>The quality profile (settings for build plugins) for sw4j.org projects.</description>
<url>https://sw4j-org.github.io/quality-profile/</url>
<url>https://sw4j-org.pages.sw4j.net/quality-profile/</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/sw4j-org/quality-profile/issues/</url>
<system>GitLab</system>
<url>https://git.sw4j.net/sw4j-org/quality-profile/issues/</url>
</issueManagement>
<developers>
<developer>
<id>uweplonus</id>
<name>Uwe Plonus</name>
<url>https://github.com/uweplonus</url>
<url>https://git.sw4j.net/uweplonus</url>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<gpg-plugin.version>1.6</gpg-plugin.version>
<project-info-reports-plugin-version>2.8</project-info-reports-plugin-version>
<scm-publish-plugin-version>1.1</scm-publish-plugin-version>
<site-plugin-version>3.4</site-plugin-version>
<gpg.plugin.version>1.6</gpg.plugin.version>
<doxia.markdown.version>1.8</doxia.markdown.version>
<fluido.skin.version>1.7</fluido.skin.version>
<project-info-reports.plugin.version>3.0.0</project-info-reports.plugin.version>
<site.plugin.version>3.7.1</site.plugin.version>
</properties>
<build>
......@@ -50,56 +53,42 @@
</goals>
</execution>
<execution>
<id>stage-for-scm-publish</id>
<id>stage-for-publish</id>
<phase>post-site</phase>
<goals>
<goal>stage</goal>
</goals>
<configuration>
<skipDeploy>false</skipDeploy>
<skipDeploy>true</skipDeploy>
<stagingDirectory>${basedir}/public</stagingDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<scmBranch>gh-pages</scmBranch>
<skipCheckin>true</skipCheckin>
</configuration>
<executions>
<execution>
<id>scm-publish</id>
<phase>site-deploy</phase>
<goals>
<goal>publish-scm</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg-plugin.version}</version>
<version>${gpg.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${project-info-reports-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>${scm-publish-plugin-version}</version>
<version>${project-info-reports.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${site-plugin-version}</version>
<version>${site.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>${doxia.markdown.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
......@@ -118,9 +107,9 @@
<reportSet>
<reports>
<report>summary</report>
<report>project-team</report>
<report>team</report>
<report>scm</report>
<report>issue-tracking</report>
<report>issue-management</report>
<report>plugins</report>
<report>plugin-management</report>
</reports>
......@@ -138,7 +127,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<version>3.1.0</version>
<executions>
<execution>
<id>create-javadoc</id>
......@@ -189,8 +178,8 @@
</profiles>
<scm>
<developerConnection>scm:git:ssh://git@github.com:sw4j-org/quality-profile.git</developerConnection>
<url>https://github.com/sw4j-org/quality-profile</url>
<developerConnection>scm:git:ssh://git@git.sw4j.net:sw4j-org/quality-profile.git</developerConnection>
<url>https://git.sw4j.net/sw4j-org/quality-profile</url>
</scm>
<distributionManagement>
......@@ -203,10 +192,9 @@
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<site>
<id>github</id>
<url>scm:git:git@github.com:sw4j-org/quality-profile.git</url>
<id>public</id>
<url>https://sw4j-org.pages.sw4j.net/quality-profile/</url>
</site>
</distributionManagement>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns='http://maven.apache.org/DECORATION/1.6.0'
xsi:schemaLocation='http://maven.apache.org/DECORATION/1.6.0 https://maven.apache.org/xsd/decoration-1.6.0.xsd'
xmlns='http://maven.apache.org/DECORATION/1.8.0'
xsi:schemaLocation='http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd'
name="sw4j.org Quality Profile">
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>1.4</version>
<version>${fluido.skin.version}</version>
</skin>
<body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment