Skip to content

Commit 52f6f39

Browse files
committed
[refactor] Fork Apache WS-Commons
1 parent 590d621 commit 52f6f39

File tree

668 files changed

+624
-73757
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

668 files changed

+624
-73757
lines changed

.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 2.1
2+
3+
jobs:
4+
build-and-test:
5+
docker:
6+
- image: cimg/openjdk:8.0
7+
steps:
8+
- checkout
9+
- restore_cache:
10+
keys:
11+
# when lock file changes, use increasingly general patterns to restore cache
12+
- maven-repo-v1-{{ .Branch }}-{{ checksum "pom.xml" }}
13+
- maven-repo-v1-{{ .Branch }}-
14+
- maven-repo-v1-
15+
- run:
16+
name: Build
17+
command: mvn -B -DskipTests clean site package
18+
- run:
19+
name: Test
20+
command: mvn verify
21+
- save_cache:
22+
paths:
23+
- ~/.m2
24+
key: maven-repo-v1-{{ .Branch }}-{{ checksum "pom.xml" }}
25+
26+
workflows:
27+
ci:
28+
jobs:
29+
- build-and-test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
target/
2+
.idea/
File renamed without changes.

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Fork of Apache Web Services Commons
2+
[![CircleCI](https://circleci.com/gh/evolvedbinary/apache-ws-commons/tree/main.svg?style=svg)](https://circleci.com/gh/evolvedbinary/apache-ws-commons/tree/main)
3+
[![Java 8](https://img.shields.io/badge/java-8+-blue.svg)](https://adoptopenjdk.net/)
4+
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://opensource.org/licenses/Apache2.0)
5+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.evolvedbinary.thirdparty.org.apache.ws.commons.util/ws-commons-util/badge.svg)](https://search.maven.org/search?q=g:com.evolvedbinary.thirdparty.org.apache.ws.commons.util)
6+
7+
8+
[Apache WS-Commons](https://ws.apache.org/commons/) is no longer officially maintained by Apache.
9+
This is a simple fork for the purposes of:
10+
1. Providing a new bug free implementation of `org.apache.ws.commons.util.NamespaceContextImpl`
11+
12+
* The Apache WS-Commons source code was imported to Git from the archived SVN Apache WS-Common repository at: https://svn.apache.org/repos/asf/webservices/commons/
13+
14+
*NOTE*: This fork was created for our own purposes, and we offer no guarantee that we will maintain it beyond our own requirements.
15+
16+
*NOTE*: As the SVN release tags appear to have been deleted, we have tried to reconstruct the following git tags:
17+
* `ws-commons-util-1.0.2` contains only the original source code that we have inferred made up the last Apache release of WS-Commons Util.
18+
* `ws-commons-1.0.1` contains only the original source code that we have inferred made up the last Apache release of WS-Commons Util and Java 5.
19+
20+
However, if you want an Apache WS-Commons that has been improved over the last Apache version, then this fork's artifacts are available from Maven Central as:
21+
22+
## WS-Commons Util
23+
```xml
24+
<dependency>
25+
<groupId>com.evolvedbinary.thirdparty.org.apache.ws.commons.util</groupId>
26+
<artifactId>ws-commons-util</artifactId>
27+
<version>1.1.0</version>
28+
</dependency>
29+
```
30+
31+
## WS-Commons Java 5
32+
```xml
33+
<dependency>
34+
<groupId>com.evolvedbinary.thirdparty.org.apache.ws.commons.java5</groupId>
35+
<artifactId>ws-commons-java5</artifactId>
36+
<version>1.1.0</version>
37+
</dependency>
38+
```
39+
40+
## Perfoming a Release
41+
To release a new version for Evolved Binary to Maven Central, simply run:
42+
``` bash
43+
mvn -Dmaven.site.skip=true -Dmaven.site.deploy.skip=true -Dgpg.keyname=D4A08A8AB731BF576354A8183EF2B4866A540119 -Darguments="-Dmaven.site.skip=true -Dmaven.site.deploy.skip=true -Dgpg.keyname=D4A08A8AB731BF576354A8183EF2B4866A540119" release:prepare
44+
45+
...
46+
47+
mvn -Dmaven.site.skip=true -Dmaven.site.deploy.skip=true -Dgpg.keyname=D4A08A8AB731BF576354A8183EF2B4866A540119 -Darguments="-Dmaven.site.skip=true -Dmaven.site.deploy.skip=true -Dgpg.keyname=D4A08A8AB731BF576354A8183EF2B4866A540119" release:perform
48+
```
49+
50+
Then visit https://central.sonatype.com/ and login, and release the staged artifacts to Maven Central
51+

java5/pom.xml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
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">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<parent>
6+
<groupId>com.evolvedbinary.thirdparty.org.apache.ws.commons</groupId>
7+
<artifactId>ws-commons</artifactId>
8+
<version>1.1.0-SNAPSHOT</version>
9+
</parent>
10+
11+
<groupId>com.evolvedbinary.thirdparty.org.apache.ws.commons.java5</groupId>
12+
<artifactId>ws-commons-java5</artifactId>
13+
<packaging>jar</packaging>
14+
15+
<name>Apache WebServices Java 5 Classes</name>
16+
<!-- Be sure, that the following is a single line. See
17+
http://jira.codehaus.org/browse/MJAR-39
18+
for the reason. -->
19+
<description>This is a small collection of classes, which are part of the Java 5 Core. In other words, you do not need this library, if you are running Java 5, or later. The Java 5 classes are used by projects like Apache JaxMe, Apache XML-RPC, or the the ws-common-utils.</description>
20+
<url>https://ws.apache.org/commons/ws-commons-java5/</url>
21+
22+
<scm>
23+
<connection>scm:git:https://github.com/evolvedbinary/apache-ws-commons.git</connection>
24+
<developerConnection>scm:git:https://github.com/evolvedbinary/apache-ws-commons.git</developerConnection>
25+
<url>scm:git:https://github.com/evolvedbinary/apache-ws-commons.git</url>
26+
</scm>
27+
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>com.github.monkeywie</groupId>
32+
<artifactId>copy-rename-maven-plugin</artifactId>
33+
<executions>
34+
<execution>
35+
<id>copy-supporting-files-for-assembly</id>
36+
<phase>package</phase>
37+
<goals>
38+
<goal>copy</goal>
39+
</goals>
40+
<configuration>
41+
<fileSets>
42+
<fileSet>
43+
<sourceFile>${project.basedir}/../LICENSE</sourceFile>
44+
<destinationFile>${project.build.directory}/LICENSE</destinationFile>
45+
</fileSet>
46+
<fileSet>
47+
<sourceFile>${project.basedir}/../README.md</sourceFile>
48+
<destinationFile>${project.build.directory}/README.md</destinationFile>
49+
</fileSet>
50+
<fileSet>
51+
<sourceFile>${project.basedir}/../.gitignore</sourceFile>
52+
<destinationFile>${project.build.directory}/.gitignore</destinationFile>
53+
</fileSet>
54+
</fileSets>
55+
</configuration>
56+
</execution>
57+
</executions>
58+
</plugin>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-assembly-plugin</artifactId>
62+
<executions>
63+
<execution>
64+
<id>create-java5-assemblies</id>
65+
<phase>package</phase>
66+
<goals>
67+
<goal>single</goal>
68+
</goals>
69+
<configuration>
70+
<descriptors>
71+
<descriptor>src/main/assembly/bin.xml</descriptor>
72+
<descriptor>src/main/assembly/src.xml</descriptor>
73+
</descriptors>
74+
<tarLongFileMode>gnu</tarLongFileMode>
75+
</configuration>
76+
</execution>
77+
</executions>
78+
</plugin>
79+
</plugins>
80+
</build>
81+
82+
<dependencies>
83+
<dependency>
84+
<groupId>xml-apis</groupId>
85+
<artifactId>xml-apis</artifactId>
86+
</dependency>
87+
</dependencies>
88+
89+
</project>

java5/src/main/assembly/bin.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<assembly>
2+
<id>bin</id>
3+
<formats>
4+
<format>tar.gz</format>
5+
</formats>
6+
<includeSiteDirectory>true</includeSiteDirectory>
7+
<fileSets>
8+
<fileSet>
9+
<outputDirectory></outputDirectory>
10+
<includes>
11+
<include>LICENSE</include>
12+
<include>README.md</include>
13+
</includes>
14+
<directory>${project.build.directory}</directory>
15+
</fileSet>
16+
<fileSet>
17+
<directory>target</directory>
18+
<outputDirectory>/lib</outputDirectory>
19+
<includes>
20+
<include>*.jar</include>
21+
</includes>
22+
</fileSet>
23+
</fileSets>
24+
</assembly>

java5/src/main/assembly/src.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<assembly>
2+
<id>src</id>
3+
<formats>
4+
<format>tar.gz</format>
5+
</formats>
6+
<fileSets>
7+
<fileSet>
8+
<includes>
9+
<include>pom.xml</include>
10+
</includes>
11+
</fileSet>
12+
<fileSet>
13+
<outputDirectory></outputDirectory>
14+
<includes>
15+
<include>LICENSE</include>
16+
<include>README.md</include>
17+
<include>.gitignore</include>
18+
</includes>
19+
<directory>${project.build.directory}</directory>
20+
</fileSet>
21+
<fileSet>
22+
<directory>src</directory>
23+
</fileSet>
24+
</fileSets>
25+
</assembly>

0 commit comments

Comments
 (0)