Skip to content

Commit 74e4932

Browse files
author
Benjamin Gehrels
committed
Transform the repository into standard maven format and merge the pom.xml of the release repo
1 parent 6b6e8e8 commit 74e4932

23 files changed

+847
-654
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
# ignore Intellij Idea project files
55
.idea
66
*.iml
7+
/target/

pom.xml

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
<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/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
4+
<groupId>org.json</groupId>
5+
<artifactId>json</artifactId>
6+
<version>v20200429-SNAPSHOT</version>
7+
<packaging>bundle</packaging>
8+
9+
<name>JSON in Java</name>
10+
<description>
11+
JSON is a light-weight, language independent, data interchange format.
12+
See http://www.JSON.org/
13+
14+
The files in this package implement JSON encoders/decoders in Java.
15+
It also includes the capability to convert between JSON and XML, HTTP
16+
headers, Cookies, and CDL.
17+
18+
This is a reference implementation. There is a large number of JSON packages
19+
in Java. Perhaps someday the Java community will standardize on one. Until
20+
then, choose carefully.
21+
22+
The license includes this restriction: "The software shall be used for good,
23+
not evil." If your conscience cannot live with that, then choose a different
24+
package.
25+
</description>
26+
<url>https://github.com/douglascrockford/JSON-java</url>
27+
28+
<parent>
29+
<groupId>org.sonatype.oss</groupId>
30+
<artifactId>oss-parent</artifactId>
31+
<version>9</version>
32+
</parent>
33+
34+
<scm>
35+
<url>https://github.com/douglascrockford/JSON-java.git</url>
36+
<connection>scm:git:git://github.com/douglascrockford/JSON-java.git</connection>
37+
<developerConnection>scm:git:[email protected]:douglascrockford/JSON-java.git</developerConnection>
38+
</scm>
39+
40+
<licenses>
41+
<license>
42+
<name>The JSON License</name>
43+
<url>http://json.org/license.html</url>
44+
<distribution>repo</distribution>
45+
<comments>Copyright (c) 2002 JSON.org
46+
47+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
48+
associated documentation files (the "Software"), to deal in the Software without restriction, including
49+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
50+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
51+
following conditions:
52+
53+
The above copyright notice and this permission notice shall be included in all copies or substantial
54+
portions of the Software.
55+
56+
The Software shall be used for Good, not Evil.
57+
58+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
59+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
60+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
61+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
62+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
63+
</comments>
64+
</license>
65+
</licenses>
66+
67+
<developers>
68+
<developer>
69+
<name>Douglas Crockford</name>
70+
<email>[email protected]</email>
71+
</developer>
72+
</developers>
73+
74+
<properties>
75+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76+
</properties>
77+
78+
79+
<dependencies>
80+
<dependency>
81+
<groupId>junit</groupId>
82+
<artifactId>junit</artifactId>
83+
<version>4.12</version>
84+
<scope>test</scope>
85+
</dependency>
86+
<dependency>
87+
<groupId>com.jayway.jsonpath</groupId>
88+
<artifactId>json-path</artifactId>
89+
<version>2.1.0</version>
90+
<scope>test</scope>
91+
</dependency>
92+
<dependency>
93+
<groupId>org.mockito</groupId>
94+
<artifactId>mockito-core</artifactId>
95+
<version>1.9.5</version>
96+
<scope>test</scope>
97+
</dependency>
98+
</dependencies>
99+
100+
<build>
101+
<plugins>
102+
<plugin>
103+
<groupId>org.apache.felix</groupId>
104+
<artifactId>maven-bundle-plugin</artifactId>
105+
<version>3.0.1</version>
106+
<extensions>true</extensions>
107+
<configuration>
108+
<instructions>
109+
<Export-Package>
110+
org.json
111+
</Export-Package>
112+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
113+
</instructions>
114+
</configuration>
115+
</plugin>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-compiler-plugin</artifactId>
119+
<version>2.3.2</version>
120+
<configuration>
121+
<source>1.7</source>
122+
<target>1.7</target>
123+
</configuration>
124+
</plugin>
125+
<plugin>
126+
<groupId>org.apache.maven.plugins</groupId>
127+
<artifactId>maven-source-plugin</artifactId>
128+
<version>2.1.2</version>
129+
<executions>
130+
<execution>
131+
<id>attach-sources</id>
132+
<goals>
133+
<goal>jar-no-fork</goal>
134+
</goals>
135+
</execution>
136+
</executions>
137+
</plugin>
138+
<plugin>
139+
<groupId>org.apache.maven.plugins</groupId>
140+
<artifactId>maven-javadoc-plugin</artifactId>
141+
<version>2.7</version>
142+
<executions>
143+
<execution>
144+
<id>attach-javadocs</id>
145+
<goals>
146+
<goal>jar</goal>
147+
</goals>
148+
<configuration>
149+
<additionalparam>-Xdoclint:none</additionalparam>
150+
</configuration>
151+
</execution>
152+
</executions>
153+
</plugin>
154+
<plugin>
155+
<groupId>org.apache.maven.plugins</groupId>
156+
<artifactId>maven-gpg-plugin</artifactId>
157+
<version>1.5</version>
158+
<executions>
159+
<execution>
160+
<id>sign-artifacts</id>
161+
<phase>verify</phase>
162+
<goals>
163+
<goal>sign</goal>
164+
</goals>
165+
</execution>
166+
</executions>
167+
</plugin>
168+
<plugin>
169+
<groupId>org.sonatype.plugins</groupId>
170+
<artifactId>nexus-staging-maven-plugin</artifactId>
171+
<version>1.6.3</version>
172+
<extensions>true</extensions>
173+
<configuration>
174+
<serverId>ossrh</serverId>
175+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
176+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
177+
</configuration>
178+
</plugin>
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-jar-plugin</artifactId>
182+
<configuration>
183+
<archive>
184+
<manifestEntries>
185+
<Automatic-Module-Name>org.json</Automatic-Module-Name>
186+
</manifestEntries>
187+
</archive>
188+
</configuration>
189+
</plugin>
190+
</plugins>
191+
</build>
192+
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)