Skip to content

Commit 44d909d

Browse files
author
Younghwan
committed
sonatype released 0.0.1
1 parent a37f625 commit 44d909d

2 files changed

Lines changed: 179 additions & 160 deletions

File tree

README

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ HashMap ==> LinkedHashMap.
44
I know the json spec said it's unordered key-value pairs, but for a human reader
55
for the output json code, we definitely need ordering.
66

7-
7+
8+
Maven dependency registered:
9+
10+
`<dependency>
11+
<groupId>com.github.tsohr</groupId>
12+
<artifactId>json</artifactId>
13+
<version>0.0.1</version>
14+
</dependency>
15+
`
816

917

1018
=======================================================

pom.xml

Lines changed: 170 additions & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -1,159 +1,170 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.github.tsohr</groupId>
5-
<artifactId>json</artifactId>
6-
<version>0.0.1</version>
7-
8-
<name>json-ordered</name>
9-
<description>Ordered version of JSONObject</description>
10-
<url>https://github.com/tsohr/JSON-java</url>
11-
12-
<developers>
13-
<developer>
14-
<name>Younghwan Kim</name>
15-
<email>[email protected]</email>
16-
<organization>Github</organization>
17-
<organizationUrl>https://github.com/tsohr</organizationUrl>
18-
</developer>
19-
</developers>
20-
21-
<scm>
22-
<connection>scm:git:https://github.com/tsohr/JSON-java.git</connection>
23-
<developerConnection>scm:git:https://github.com/tsohr/JSON-java.git</developerConnection>
24-
<url>https://github.com/tsohr/JSON-java</url>
25-
</scm>
26-
27-
<licenses>
28-
<license>
29-
<name>The JSON License</name>
30-
<url>http://json.org/license.html</url>
31-
<distribution>repo</distribution>
32-
<comments>Copyright (c) 2002 JSON.org
33-
34-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
35-
associated documentation files (the "Software"), to deal in the Software without restriction, including
36-
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37-
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
38-
following conditions:
39-
40-
The above copyright notice and this permission notice shall be included in all copies or substantial
41-
portions of the Software.
42-
43-
The Software shall be used for Good, not Evil.
44-
45-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
46-
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
47-
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
48-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
49-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
50-
</comments>
51-
</license>
52-
</licenses>
53-
54-
<properties>
55-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56-
</properties>
57-
58-
<dependencies>
59-
<dependency>
60-
<groupId>junit</groupId>
61-
<artifactId>junit</artifactId>
62-
<version>4.12</version>
63-
<scope>test</scope>
64-
</dependency>
65-
<dependency>
66-
<groupId>com.jayway.jsonpath</groupId>
67-
<artifactId>json-path</artifactId>
68-
<version>2.1.0</version>
69-
<scope>test</scope>
70-
</dependency>
71-
<dependency>
72-
<groupId>org.mockito</groupId>
73-
<artifactId>mockito-core</artifactId>
74-
<version>1.9.5</version>
75-
<scope>test</scope>
76-
</dependency>
77-
</dependencies>
78-
79-
<build>
80-
<sourceDirectory>src</sourceDirectory>
81-
<plugins>
82-
<plugin>
83-
<artifactId>maven-compiler-plugin</artifactId>
84-
<version>3.3</version>
85-
<configuration>
86-
<source />
87-
<target />
88-
</configuration>
89-
</plugin>
90-
<plugin>
91-
<groupId>org.apache.felix</groupId>
92-
<artifactId>maven-bundle-plugin</artifactId>
93-
<version>3.0.1</version>
94-
<extensions>true</extensions>
95-
<configuration>
96-
<instructions>
97-
<Export-Package>
98-
org.json
99-
</Export-Package>
100-
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
101-
</instructions>
102-
</configuration>
103-
</plugin>
104-
<plugin>
105-
<groupId>org.apache.maven.plugins</groupId>
106-
<artifactId>maven-source-plugin</artifactId>
107-
<version>2.1.2</version>
108-
<executions>
109-
<execution>
110-
<id>attach-sources</id>
111-
<goals>
112-
<goal>jar-no-fork</goal>
113-
</goals>
114-
</execution>
115-
</executions>
116-
</plugin>
117-
<plugin>
118-
<groupId>org.apache.maven.plugins</groupId>
119-
<artifactId>maven-javadoc-plugin</artifactId>
120-
<version>2.7</version>
121-
<executions>
122-
<execution>
123-
<id>attach-javadocs</id>
124-
<goals>
125-
<goal>jar</goal>
126-
</goals>
127-
<configuration>
128-
<additionalparam>-Xdoclint:none</additionalparam>
129-
</configuration>
130-
</execution>
131-
</executions>
132-
</plugin>
133-
<plugin>
134-
<groupId>org.apache.maven.plugins</groupId>
135-
<artifactId>maven-gpg-plugin</artifactId>
136-
<executions>
137-
<execution>
138-
<id>sign-artifacts</id>
139-
<phase>verify</phase>
140-
<goals>
141-
<goal>sign</goal>
142-
</goals>
143-
</execution>
144-
</executions>
145-
</plugin>
146-
<plugin>
147-
<groupId>org.sonatype.plugins</groupId>
148-
<artifactId>nexus-staging-maven-plugin</artifactId>
149-
<extensions>true</extensions>
150-
<configuration>
151-
<serverId>ossrh</serverId>
152-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
153-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
154-
</configuration>
155-
</plugin>
156-
157-
</plugins>
158-
</build>
159-
</project>
1+
<?xml version="1.0"?>
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/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.github.tsohr</groupId>
5+
<artifactId>json</artifactId>
6+
<version>0.0.1</version>
7+
<name>json-ordered</name>
8+
<description>Ordered version of JSONObject</description>
9+
<url>https://github.com/tsohr/JSON-java</url>
10+
<developers>
11+
<developer>
12+
<name>Younghwan Kim</name>
13+
<email>[email protected]</email>
14+
<organization>Github</organization>
15+
<organizationUrl>https://github.com/tsohr</organizationUrl>
16+
</developer>
17+
</developers>
18+
<scm>
19+
<connection>scm:git:https://github.com/tsohr/JSON-java.git</connection>
20+
<developerConnection>scm:git:https://github.com/tsohr/JSON-java.git</developerConnection>
21+
<url>https://github.com/tsohr/JSON-java</url>
22+
</scm>
23+
<licenses>
24+
<license>
25+
<name>The JSON License</name>
26+
<url>http://json.org/license.html</url>
27+
<distribution>repo</distribution>
28+
<comments>Copyright (c) 2002 JSON.org
29+
30+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
31+
associated documentation files (the "Software"), to deal in the Software without restriction, including
32+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
34+
following conditions:
35+
36+
The above copyright notice and this permission notice shall be included in all copies or substantial
37+
portions of the Software.
38+
39+
The Software shall be used for Good, not Evil.
40+
41+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
42+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
43+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
44+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
45+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46+
</comments>
47+
</license>
48+
</licenses>
49+
<properties>
50+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51+
</properties>
52+
<dependencies>
53+
<dependency>
54+
<groupId>junit</groupId>
55+
<artifactId>junit</artifactId>
56+
<version>4.12</version>
57+
<scope>test</scope>
58+
</dependency>
59+
<dependency>
60+
<groupId>com.jayway.jsonpath</groupId>
61+
<artifactId>json-path</artifactId>
62+
<version>2.1.0</version>
63+
<scope>test</scope>
64+
</dependency>
65+
<dependency>
66+
<groupId>org.mockito</groupId>
67+
<artifactId>mockito-core</artifactId>
68+
<version>1.9.5</version>
69+
<scope>test</scope>
70+
</dependency>
71+
</dependencies>
72+
<build>
73+
<sourceDirectory>src</sourceDirectory>
74+
<plugins>
75+
<plugin>
76+
<artifactId>maven-compiler-plugin</artifactId>
77+
<version>3.3</version>
78+
<configuration>
79+
<source/>
80+
<target/>
81+
</configuration>
82+
</plugin>
83+
<plugin>
84+
<groupId>org.apache.felix</groupId>
85+
<artifactId>maven-bundle-plugin</artifactId>
86+
<version>3.0.1</version>
87+
<extensions>true</extensions>
88+
<configuration>
89+
<instructions>
90+
<Export-Package>
91+
org.json
92+
</Export-Package>
93+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
94+
</instructions>
95+
</configuration>
96+
</plugin>
97+
<plugin>
98+
<groupId>org.apache.maven.plugins</groupId>
99+
<artifactId>maven-source-plugin</artifactId>
100+
<version>2.1.2</version>
101+
<executions>
102+
<execution>
103+
<id>attach-sources</id>
104+
<goals>
105+
<goal>jar-no-fork</goal>
106+
</goals>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-javadoc-plugin</artifactId>
113+
<version>2.7</version>
114+
<executions>
115+
<execution>
116+
<id>attach-javadocs</id>
117+
<goals>
118+
<goal>jar</goal>
119+
</goals>
120+
<configuration>
121+
<additionalparam>-Xdoclint:none</additionalparam>
122+
</configuration>
123+
</execution>
124+
</executions>
125+
</plugin>
126+
<plugin>
127+
<groupId>org.apache.maven.plugins</groupId>
128+
<artifactId>maven-gpg-plugin</artifactId>
129+
<executions>
130+
<execution>
131+
<id>sign-artifacts</id>
132+
<phase>verify</phase>
133+
<goals>
134+
<goal>sign</goal>
135+
</goals>
136+
</execution>
137+
</executions>
138+
</plugin>
139+
<plugin>
140+
<groupId>org.apache.maven.plugins</groupId>
141+
<artifactId>maven-release-plugin</artifactId>
142+
<configuration>
143+
<mavenExecutorId>forked-path</mavenExecutorId>
144+
<useReleaseProfile>false</useReleaseProfile>
145+
<arguments>-Psonatype-oss-release</arguments>
146+
</configuration>
147+
</plugin>
148+
<plugin>
149+
<groupId>org.sonatype.plugins</groupId>
150+
<artifactId>nexus-staging-maven-plugin</artifactId>
151+
<extensions>true</extensions>
152+
<configuration>
153+
<serverId>ossrh</serverId>
154+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
155+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
156+
</configuration>
157+
</plugin>
158+
</plugins>
159+
</build>
160+
<distributionManagement>
161+
<snapshotRepository>
162+
<id>ossrh</id>
163+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
164+
</snapshotRepository>
165+
<repository>
166+
<id>ossrh</id>
167+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
168+
</repository>
169+
</distributionManagement>
170+
</project>

0 commit comments

Comments
 (0)