Skip to content

Commit 4afdaeb

Browse files
committed
pom corrections and ci
1 parent b504abb commit 4afdaeb

File tree

3 files changed

+54
-50
lines changed

3 files changed

+54
-50
lines changed

Jenkinsfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
*/
1616

1717
//Jenkins integration.
18-
//See https://svn.terracotta.org/repo/internal/infrastructure/jenkins-pipeline-job-builder/trunk/shared/vars/
19-
mavenBuild maven_goal: '-V clean deploy -Ptc-publish,fullmode -Djenkins.publisher=true -Dsag-deps=true'
20-
2118

19+
mavenBuild.performRelease increment_pom_version_digit: -1 // increment last digit after release
2220

azure-pipelines.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# Copyright Terracotta, Inc.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
# See shared code location for steps and parameters:
18+
# https://dev.azure.com/TerracottaCI/_git/terracotta
19+
20+
resources:
21+
repositories:
22+
- repository: templates
23+
type: git
24+
name: terracotta/terracotta
25+
26+
jobs:
27+
- template: build-templates/maven-common.yml@templates
28+
parameters:
29+
jobName: Linux_Java_8
30+
options: -B -Djava.test.version=1.8 -Djava.test.vendor=zulu -Ptc-publish,fullmode -Dsag-deps=true
31+
mavenGoals: 'clean verify'

pom.xml

Lines changed: 22 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--
2-
Apache Maven 2 POM generated by Apache Ivy
3-
http://ant.apache.org/ivy/
4-
Apache Ivy version: 2.2.0 20100923230623
5-
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
63

74
<modelVersion>4.0.0</modelVersion>
85

96
<parent>
107
<groupId>org.terracotta.forge</groupId>
118
<artifactId>forge-parent</artifactId>
12-
<version>4.13</version>
9+
<version>4.17</version>
1310
</parent>
1411

1512
<groupId>org.terracotta</groupId>
@@ -23,59 +20,37 @@
2320

2421
<dependencies>
2522
<dependency>
26-
<groupId>com.terracottatech</groupId>
23+
<groupId>org.terracotta</groupId>
2724
<artifactId>search</artifactId>
28-
<version>1.5.11</version>
25+
<version>1.5.13</version>
2926
</dependency>
30-
</dependencies>
3127

32-
<build>
33-
<plugins>
34-
<plugin>
35-
<groupId>org.terracotta</groupId>
36-
<artifactId>maven-forge-plugin</artifactId>
37-
<executions>
38-
<execution>
39-
<id>default-test</id>
40-
<phase>test</phase>
41-
<goals>
42-
<goal>test</goal>
43-
</goals>
44-
</execution>
45-
</executions>
46-
</plugin>
47-
</plugins>
48-
</build>
28+
<!-- test deps, versions in parent -->
29+
<dependency>
30+
<groupId>junit</groupId>
31+
<artifactId>junit</artifactId>
32+
</dependency>
33+
<dependency>
34+
<groupId>org.mockito</groupId>
35+
<artifactId>mockito-core</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>org.hamcrest</groupId>
39+
<artifactId>hamcrest</artifactId>
40+
</dependency>
41+
</dependencies>
4942

5043
<scm>
5144
<connection>scm:git:[email protected]:Terracotta-OSS/tc-messaging.git</connection>
5245
<developerConnection>scm:git:https://github.com/Terracotta-OSS/tc-messaging.git</developerConnection>
5346
</scm>
5447

55-
<distributionManagement>
56-
<repository>
57-
<id>terracotta-ee-releases</id>
58-
<name>Terracotta EE Releases Repository</name>
59-
<url>${terracotta-ee-releases-url}</url>
60-
</repository>
61-
<snapshotRepository>
62-
<id>terracotta-ee-snapshots</id>
63-
<uniqueVersion>false</uniqueVersion>
64-
<name>Terracotta Snapshots Repository</name>
65-
<url>${terracotta-ee-snapshots-url}</url>
66-
</snapshotRepository>
67-
</distributionManagement>
68-
48+
<!-- minimal set to find the parent -->
6949
<repositories>
7050
<repository>
7151
<id>terracotta-releases</id>
72-
<url>http://www.terracotta.org/download/reflector/releases</url>
52+
<url>https://repo.terracotta.org/maven2</url>
7353
</repository>
7454
</repositories>
75-
<pluginRepositories>
76-
<pluginRepository>
77-
<id>terracotta-releases</id>
78-
<url>http://www.terracotta.org/download/reflector/releases</url>
79-
</pluginRepository>
80-
</pluginRepositories>
55+
8156
</project>

0 commit comments

Comments
 (0)