Skip to content

Commit

Permalink
Fix pom.xml / Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sinattieng committed Sep 29, 2023
1 parent 8b3d7d2 commit 507dd8b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Maven Compile
on: push
jobs:
compile:
uses: RegioneER/parer-github-template/.github/workflows/compile.yml@v1
with:
java: '8'
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Maven Release
on:
workflow_dispatch:
inputs:
version:
description: "Version number"
required: true
type: string
jobs:
release:
uses: RegioneER/parer-github-template/.github/workflows/release.yml@v1
with:
version: ${{ inputs.version }}
java: '8'
15 changes: 7 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@
</properties>
<name>parer-retry</name>
<description>Libreria utilizzata per effettuare chiamate http configurando meccanismi di retry secondo alcune policy configurate</description>
<url>https://nexus.ente.regione.emr.it/repository/parer-site/parer-retry/${project.version}/</url>

<parent>
<groupId>it.eng.parer</groupId>
<artifactId>parer-pom</artifactId>
<version>4.2.0</version>
</parent>

<distributionManagement>
<site>
<id>site</id>
<url>dav:https://nexus.ente.regione.emr.it/repository/parer-site/parer-retry/${project.version}</url>
</site>
</distributionManagement>
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/RegioneER/parer-framework-parerpom</url>
</repository>
</repositories>

<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -79,7 +78,7 @@
</dependency>
</dependencies>
<scm>
<developerConnection>scm:git:[email protected]:parer/lib/parer-retry.git</developerConnection>
<developerConnection>scm:git:https://github.com/RegioneER/parer-retry.git</developerConnection>
<tag>HEAD</tag>
</scm>
</project>

0 comments on commit 507dd8b

Please sign in to comment.