Skip to content

Commit 21bc083

Browse files
authored
Merge pull request #20 from ligangty/1.x
Bump versions
2 parents 3baa3b0 + dbc1b08 commit 21bc083

19 files changed

+77
-22
lines changed

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# build
2+
*.tar.gz
3+
dependency-reduced-pom.xml
4+
scratch
5+
target
6+
7+
# eclipse
8+
.classpath
9+
.project
10+
.settings
11+
12+
# idea
13+
.idea
14+
*.iml
15+
*.iws
16+
*.ipr
17+
18+
# mac
19+
*.DS_Store
20+
21+
22+
*.dat

Jenkinsfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
pipeline {
2+
agent { label 'maven-36-jdk11' }
3+
stages {
4+
stage('Prepare') {
5+
steps {
6+
sh 'printenv'
7+
}
8+
}
9+
stage('Build') {
10+
when {
11+
expression { env.CHANGE_ID != null } // Pull request
12+
}
13+
steps {
14+
sh '${M2_HOME}/bin/mvn -B -V clean verify'
15+
}
16+
}
17+
stage('Deploy') {
18+
when { branch 'master' }
19+
steps {
20+
echo "Deploy"
21+
sh '${M2_HOME}/bin/mvn help:effective-settings -B -V clean deploy -e'
22+
}
23+
}
24+
}
25+
}
26+

pom.xml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
3+
Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -21,15 +21,15 @@
2121
<parent>
2222
<groupId>org.commonjava</groupId>
2323
<artifactId>commonjava</artifactId>
24-
<version>11</version>
24+
<version>18</version>
2525
</parent>
2626

2727
<groupId>org.commonjava.util</groupId>
2828
<artifactId>http-testserver</artifactId>
2929
<version>1.5-SNAPSHOT</version>
3030

3131
<name>http-testserver</name>
32-
<inceptionYear>2015</inceptionYear>
32+
<inceptionYear>2015-2022</inceptionYear>
3333

3434
<scm>
3535
<connection>scm:git:https://github.com/Commonjava/http-testserver.git</connection>
@@ -40,16 +40,18 @@
4040

4141
<properties>
4242
<projectOwner>Red Hat, Inc.</projectOwner>
43-
<javaVersion>1.8</javaVersion>
44-
<undertowVersion>1.1.2.Final</undertowVersion>
43+
<projectEmail>http://github.com/Commonjava/http-testserver</projectEmail>
44+
<javaVersion>11</javaVersion>
45+
<undertowVersion>2.2.26.Final</undertowVersion>
46+
<slf4j.versoin>1.7.25</slf4j.versoin>
4547
</properties>
4648

4749
<dependencyManagement>
4850
<dependencies>
4951
<dependency>
5052
<groupId>org.commonjava.boms</groupId>
5153
<artifactId>web-commons-bom</artifactId>
52-
<version>16</version>
54+
<version>26</version>
5355
<type>pom</type>
5456
<scope>import</scope>
5557
</dependency>
@@ -63,6 +65,11 @@
6365
<artifactId>undertow-servlet</artifactId>
6466
<version>${undertowVersion}</version>
6567
</dependency>
68+
<dependency>
69+
<groupId>org.jboss.logging</groupId>
70+
<artifactId>jboss-logging</artifactId>
71+
<version>3.4.0.Final</version>
72+
</dependency>
6673
</dependencies>
6774
</dependencyManagement>
6875

src/main/java/org/commonjava/test/http/TestHttpServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
2+
* Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/commonjava/test/http/common/CommonMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
2+
* Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/commonjava/test/http/common/HttpServerFixture.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
2+
* Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/commonjava/test/http/expect/ContentResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
2+
* Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/commonjava/test/http/expect/ExpectationHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
2+
* Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/commonjava/test/http/expect/ExpectationServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
2+
* Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/commonjava/test/http/expect/ExpectationServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2015 Red Hat, Inc. (jdcasey@commonjava.org)
2+
* Copyright (C) 2015-2022 Red Hat, Inc. (http://github.com/Commonjava/http-testserver)
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)