Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up CI with Azure Pipelines [skip ci] #3

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Maven
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java

trigger:
- master

pool:
vmImage: 'Ubuntu-16.04'

steps:
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'package'
4 changes: 2 additions & 2 deletions easy-blockchain-lib-main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.sphereon.public</groupId>
<artifactId>easy-blockchain-lib-modules</artifactId>
<version>0.1.4-SNAPSHOT</version>
<version>0.1.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>easy-blockchain-lib-main</artifactId>
Expand All @@ -38,4 +38,4 @@
<artifactId>swagger-annotations</artifactId>
</dependency>
</dependencies>
</project>
</project>
4 changes: 2 additions & 2 deletions easy-blockchain-lib-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>com.sphereon.public</groupId>
<artifactId>easy-blockchain-lib-modules</artifactId>
<version>0.1.4-SNAPSHOT</version>
<version>0.1.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>easy-blockchain-lib-osgi</artifactId>
Expand Down Expand Up @@ -71,4 +71,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
4 changes: 2 additions & 2 deletions easy-blockchain-lib-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>com.sphereon.public</groupId>
<artifactId>easy-blockchain-lib-modules</artifactId>
<version>0.1.4-SNAPSHOT</version>
<version>0.1.5-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>easy-blockchain-lib-spring</artifactId>
Expand All @@ -42,4 +42,4 @@
</dependency>
</dependencies>

</project>
</project>
34 changes: 26 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>com.sphereon.public</groupId>
<artifactId>easy-blockchain-lib-modules</artifactId>
<version>0.1.4-SNAPSHOT</version>
<version>0.1.5-SNAPSHOT</version>

<packaging>pom</packaging>

Expand Down Expand Up @@ -68,18 +68,36 @@
<organizationUrl>https://sphereon.com</organizationUrl>
</developer>
</developers>

<repositories>
<repository>
<id>dev.azure.com-mseng-zcalvinmaven</id>
<url>https://pkgs.dev.azure.com/mseng/_packaging/zCalvinMaven2/maven/v1</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<distributionManagement>
<snapshotRepository>
<id>sphereon-opensource-snapshots</id>
<id>dev-azure-com-sphereonbv-mavenartifacts</id>
<name>Sphereon Public Snapshots</name>
<url>http://nexus.qa.sphereon.com/repository/sphereon-opensource-snapshots/</url>
<url>https://pkgs.dev.azure.com/sphereonbv/_packaging/MavenArtifacts/maven/v1/</url>
</snapshotRepository>
<repository>
<id>sphereon-opensource-releases</id>
<name>Sphereon Public Releases</name>
<url>http://nexus.qa.sphereon.com/repository/sphereon-opensource-releases/</url>
</repository>
<id>dev-azure-com-sphereonbv-mavenartifacts</id>
<url>https://pkgs.dev.azure.com/sphereonbv/_packaging/MavenArtifacts/maven/v1</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</distributionManagement>


Expand Down Expand Up @@ -149,4 +167,4 @@

</plugins>
</build>
</project>
</project>