Skip to content

Commit 828af3c

Browse files
committed
[jgitflow-maven-plugin] merging 'release/1.0.0' into 'master'
2 parents 7765fbd + 377de85 commit 828af3c

File tree

17 files changed

+1412
-0
lines changed

17 files changed

+1412
-0
lines changed

.travis.maven-settings.xml

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
#%L
4+
wcm.io
5+
%%
6+
Copyright (C) 2014 wcm.io
7+
%%
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
19+
#L%
20+
-->
21+
22+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
23+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
25+
26+
<profiles>
27+
<profile>
28+
<id>default</id>
29+
30+
<repositories>
31+
32+
<repository>
33+
<id>central</id>
34+
<url>http://repo1.maven.org/maven2/</url>
35+
<layout>default</layout>
36+
<releases>
37+
<enabled>true</enabled>
38+
<updatePolicy>never</updatePolicy>
39+
</releases>
40+
<snapshots>
41+
<enabled>false</enabled>
42+
</snapshots>
43+
</repository>
44+
45+
<repository>
46+
<id>wcm-io-apache-intermediate-release</id>
47+
<url>http://wcm.io/maven/repositories/apache-intermediate-release</url>
48+
<layout>default</layout>
49+
<releases>
50+
<enabled>true</enabled>
51+
<updatePolicy>never</updatePolicy>
52+
</releases>
53+
<snapshots>
54+
<enabled>false</enabled>
55+
</snapshots>
56+
</repository>
57+
58+
<repository>
59+
<id>oss-snapshots</id>
60+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
61+
<layout>default</layout>
62+
<releases>
63+
<enabled>false</enabled>
64+
</releases>
65+
<snapshots>
66+
<enabled>true</enabled>
67+
<updatePolicy>always</updatePolicy>
68+
</snapshots>
69+
</repository>
70+
71+
<repository>
72+
<id>apache-snapshots</id>
73+
<url>http://repository.apache.org/snapshots</url>
74+
<layout>default</layout>
75+
<releases>
76+
<enabled>false</enabled>
77+
</releases>
78+
<snapshots>
79+
<enabled>true</enabled>
80+
<updatePolicy>always</updatePolicy>
81+
</snapshots>
82+
</repository>
83+
84+
</repositories>
85+
86+
<pluginRepositories>
87+
88+
<pluginRepository>
89+
<id>central</id>
90+
<url>http://repo1.maven.org/maven2/</url>
91+
<layout>default</layout>
92+
<releases>
93+
<enabled>true</enabled>
94+
<updatePolicy>never</updatePolicy>
95+
</releases>
96+
<snapshots>
97+
<enabled>false</enabled>
98+
</snapshots>
99+
</pluginRepository>
100+
101+
<pluginRepository>
102+
<id>wcm-io-apache-intermediate-release</id>
103+
<url>http://wcm.io/maven/repositories/apache-intermediate-release</url>
104+
<layout>default</layout>
105+
<releases>
106+
<enabled>true</enabled>
107+
<updatePolicy>never</updatePolicy>
108+
</releases>
109+
<snapshots>
110+
<enabled>false</enabled>
111+
</snapshots>
112+
</pluginRepository>
113+
114+
<pluginRepository>
115+
<id>oss-snapshots</id>
116+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
117+
<layout>default</layout>
118+
<releases>
119+
<enabled>false</enabled>
120+
</releases>
121+
<snapshots>
122+
<enabled>true</enabled>
123+
<updatePolicy>always</updatePolicy>
124+
</snapshots>
125+
</pluginRepository>
126+
127+
<pluginRepository>
128+
<id>apache-snapshots</id>
129+
<url>http://repository.apache.org/snapshots</url>
130+
<layout>default</layout>
131+
<releases>
132+
<enabled>false</enabled>
133+
</releases>
134+
<snapshots>
135+
<enabled>true</enabled>
136+
<updatePolicy>always</updatePolicy>
137+
</snapshots>
138+
</pluginRepository>
139+
140+
</pluginRepositories>
141+
142+
</profile>
143+
144+
</profiles>
145+
146+
<activeProfiles>
147+
<activeProfile>default</activeProfile>
148+
</activeProfiles>
149+
150+
</settings>

.travis.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# #%L
2+
# wcm.io
3+
# %%
4+
# Copyright (C) 2015 wcm.io
5+
# %%
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
# #L%
18+
#
19+
20+
language: java
21+
22+
jdk:
23+
- oraclejdk8
24+
25+
# Make sure travis can use container-based infrastructure
26+
sudo: false
27+
28+
install: "mvn -s ./.travis.maven-settings.xml clean"
29+
30+
script:
31+
- "mvn -s ./.travis.maven-settings.xml -Pcontinuous-integration -U -Dmaven.javadoc.skip=true install"
32+
# Remove wcm.io artefacts from repository before cache
33+
- rm -rf $HOME/.m2/repository/io/wcm
34+
35+
# exlude release tags like xyz-1.0.0 or xyz-1
36+
branches:
37+
except:
38+
- /^.*\-\d+(\.\d+\.\d+)?(\..*|\-.*)?$/
39+
40+
# Cache Maven Repository
41+
cache:
42+
directories:
43+
- '$HOME/.m2/repository'
44+
45+
# this will not work yet with a google groups mailing list - see https://github.com/travis-ci/travis-ci/issues/2513
46+
#notifications:
47+
# email:
48+
# recipients:
49+
# - wcm-io-dev@googlegroups.com
50+
# on_success: change
51+
# on_failure: always

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
<img src="http://wcm.io/images/favicon-16@2x.png"/> Maven NodeJS Proxy
22
======
3+
[![Build Status](https://travis-ci.org/wcm-io-devops/maven-nodejs-proxy.png?branch=develop)](https://travis-ci.org/wcm-io-devops/maven-nodejs-proxy)
34

45
Maven proxy to download NodeJS binaries as Maven artifacts.
6+
7+
This is a Maven Artifact Proxy for NodeJS binaries located at: https://nodejs.org/dist. Every call to this repository is routed directly to this URL, so it should not be used directly as Maven Repository, but cached by your own Maven Artifact Manager.
8+
9+
Steps to build and start the proxy:
10+
11+
- Go to maven-nodejs-proxy directory
12+
- Build server with `mvn clean install`
13+
- Start server with<br/>
14+
`java -jar target/io.wcm.devops.maven.nodejs-proxy-<version>.jar server config.yml`
15+
- Go to [http://localhost:8080](http://localhost:8080) for further instructions
16+
17+
---
18+
19+
A public instance of this proxy is available at: https://maven-nodejs-proxy.pvtool.org/

changes.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
#%L
4+
wcm.io
5+
%%
6+
Copyright (C) 2015 wcm.io
7+
%%
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
19+
#L%
20+
-->
21+
22+
<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/changes/1.0.0"
23+
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
24+
<body>
25+
26+
<release version="1.0.0" date="2015-09-03">
27+
<action type="add" dev="sseifert">
28+
Initial release.
29+
</action>
30+
</release>
31+
32+
</body>
33+
</document>

maven-nodejs-proxy/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dependency-reduced-pom.xml

maven-nodejs-proxy/config.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Group Id to publish artifacts to
2+
groupId: org.nodejs.dist
3+
4+
# Artifact Id to publish NodeJS binaries
5+
nodeJsArtifactId: nodejs-binaries
6+
7+
# Artifact Id to publish NPM binaries
8+
npmArtifactId: npm-binaries
9+
10+
# Root URL to download NodeJS binaries from
11+
nodeJsBinariesRootUrl: "https://nodejs.org/dist"
12+
13+
# Url parts to download the different artifacts
14+
nodeJsBinariesUrl: "/v${version}/node-v${version}-${os}-${arch}.${type}"
15+
nodeJsBinariesUrlWindows: "/v${version}/${arch}/node.${type}"
16+
nodeJsBinariesUrlWindowsX86: "/v${version}/node.${type}"
17+
npmBinariesUrl: "/npm/npm-${version}.${type}"
18+
19+
# SHA-1 checksums file
20+
nodeJsChecksumUrl: "/v${version}/SHASUMS.txt"
21+
22+
# HTTP Client settings
23+
httpClient:
24+
connectionTimeout: 2s
25+
timeout: 5s
26+
timeToLive: 1h
27+
cookiesEnabled: false
28+
retries: 2
29+
userAgent: Maven NodeJS Proxy
30+
31+
# Jetty configuration
32+
server:
33+
# Disable gzip compression to avoid corruption of tar.gz files
34+
gzip:
35+
enabled: false
36+
37+
# Logging configuration
38+
logging:
39+
level: INFO
40+
appenders:
41+
- type: file
42+
currentLogFilename: target/logs/maven-nodejs-proxy.log
43+
threshold: ALL
44+
archive: true
45+
archivedLogFilenamePattern: target/logs/maven-nodejs-proxy-%d.log
46+
archivedFileCount: 5

0 commit comments

Comments
 (0)