Commit 7dbc9436 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Merge branch 'feature-updateCI' into 'dev'

Feature update ci

See merge request redmic-project/third-party/jackson-jsonschema!5
parents 7310fc53 85d23100
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@ target
.classpath
.project
.settings
pom.xml.*
+9 −18
Original line number Diff line number Diff line
include:
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    file: '/maven-building-library.yml'
  - project: 'redmic-project/gitlab-ci-templates'
    ref: master
    file: '/license-listing.yml'

stages:
  - build

maven-build:
  stage: build
  image: registry.gitlab.com/redmic-project/docker/maven
  variables:
    MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
  only:
    - branches
  cache:
    paths:
      - .m2/repository/
  script:
    - mvn deploy -B
  artifacts:
    name: "$CI_PROJECT_NAME"
    expire_in: '6 months'
    paths:
      - target/*.jar
  - license-list
+1 −17
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
	<groupId>es.redmic.lib</groupId>
	<artifactId>jackson-jsonschema</artifactId>
	<packaging>jar</packaging>
	<version>0.7.0</version>
	<version>0.7.0-feature-updateCI</version>
	<name>Jackson JsonSchema</name>
	<description>JsonSchema generator</description>
	
@@ -28,9 +28,6 @@
		
		<!-- PLUGINS -->
		<maven-scala-plugin.version>2.15.2</maven-scala-plugin.version>
		
		<!-- Environment variables -->
		<env.MAVEN_REPO_URL>https://artifactory.redmic.net/artifactory</env.MAVEN_REPO_URL>
	</properties>
	
	<dependencies>
@@ -52,19 +49,6 @@
			<artifactId>slf4j-api</artifactId>
		</dependency>
	</dependencies>
	<distributionManagement>
		<repository>
			<id>central</id>
			<name>redmic-releases</name>
			<url>${env.MAVEN_REPO_URL}/libs-release-local</url>
		</repository>
		<snapshotRepository>
			<id>snapshots</id>
			<name>redmic-snapshots</name>
			<url>${env.MAVEN_REPO_URL}/libs-snapshot-local</url>
			<uniqueVersion>false</uniqueVersion>
		</snapshotRepository>
	</distributionManagement>
	<build>
		<plugins>
			<plugin>