Skip to content

Commit d863f6f

Browse files
committed
init
0 parents  commit d863f6f

File tree

20 files changed

+775
-0
lines changed

20 files changed

+775
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target
2+
.settings
3+
.idea

async.0.1.iml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_10">
4+
<output url="file://$MODULE_DIR$/target/classes" />
5+
<output-test url="file://$MODULE_DIR$/target/test-classes" />
6+
<content url="file://$MODULE_DIR$">
7+
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8+
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9+
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
10+
<excludeFolder url="file://$MODULE_DIR$/target" />
11+
</content>
12+
<orderEntry type="inheritedJdk" />
13+
<orderEntry type="sourceFolder" forTests="false" />
14+
<orderEntry type="library" scope="TEST" name="Maven: io.vertx:vertx-web:3.6.2" level="project" />
15+
<orderEntry type="library" scope="TEST" name="Maven: io.vertx:vertx-web-common:3.6.0" level="project" />
16+
<orderEntry type="library" scope="TEST" name="Maven: io.vertx:vertx-auth-common:3.6.0" level="project" />
17+
<orderEntry type="library" scope="TEST" name="Maven: io.vertx:vertx-bridge-common:3.6.0" level="project" />
18+
<orderEntry type="library" scope="TEST" name="Maven: io.vertx:vertx-core:3.6.0" level="project" />
19+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-common:4.1.30.Final" level="project" />
20+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-buffer:4.1.30.Final" level="project" />
21+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-transport:4.1.30.Final" level="project" />
22+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-handler:4.1.30.Final" level="project" />
23+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-codec:4.1.30.Final" level="project" />
24+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-handler-proxy:4.1.30.Final" level="project" />
25+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-codec-socks:4.1.30.Final" level="project" />
26+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-codec-http:4.1.30.Final" level="project" />
27+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-codec-http2:4.1.30.Final" level="project" />
28+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-resolver:4.1.30.Final" level="project" />
29+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-resolver-dns:4.1.30.Final" level="project" />
30+
<orderEntry type="library" scope="TEST" name="Maven: io.netty:netty-codec-dns:4.1.30.Final" level="project" />
31+
<orderEntry type="library" scope="TEST" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.7" level="project" />
32+
<orderEntry type="library" scope="TEST" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.7" level="project" />
33+
<orderEntry type="library" scope="TEST" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.7" level="project" />
34+
<orderEntry type="library" scope="TEST" name="Maven: io.vertx:vertx-unit:3.6.0" level="project" />
35+
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
36+
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
37+
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
38+
<orderEntry type="library" scope="TEST" name="Maven: log4j:log4j:1.2.17" level="project" />
39+
</component>
40+
</module>

copy.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
4+
source=`dirname "$0"`
5+
dest="$HOME/codes/oresoftware/reloader.java"
6+
7+
rsync --exclude=.git --exclude=.idea -r "$source/" "$dest/"

log4j.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Root logger option
2+
log4j.rootLogger=DEBUG, stdout
3+
4+
# Direct log messages to stdout
5+
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
6+
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
7+
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n

pom.xml

Lines changed: 301 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,301 @@
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/maven-v4_0_0.xsd">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.oresoftware</groupId>
6+
<artifactId>reloader.0.1</artifactId>
7+
<packaging>jar</packaging>
8+
<version>0.1.1012</version>
9+
<name>org.ores.reload.Reloader</name>
10+
<url>https://github.com/ORESoftware/reloader.java</url>
11+
12+
<properties>
13+
<vertx.version>3.6.0</vertx.version>
14+
<jdk.version>10</jdk.version>
15+
<log4j.version>1.2.17</log4j.version>
16+
<oleg.skip>true</oleg.skip>
17+
</properties>
18+
19+
<dependencyManagement>
20+
<dependencies>
21+
<dependency>
22+
<groupId>io.vertx</groupId>
23+
<artifactId>vertx-stack-depchain</artifactId>
24+
<version>${vertx.version}</version>
25+
<type>pom</type>
26+
<scope>import</scope>
27+
</dependency>
28+
</dependencies>
29+
</dependencyManagement>
30+
31+
<distributionManagement>
32+
<snapshotRepository>
33+
<id>ossrh</id>
34+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
35+
</snapshotRepository>
36+
<repository>
37+
<id>ossrh</id>
38+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
39+
</repository>
40+
</distributionManagement>
41+
42+
<licenses>
43+
<license>
44+
<name>MIT License</name>
45+
<url>http://www.opensource.org/licenses/mit-license.php</url>
46+
</license>
47+
</licenses>
48+
49+
<developers>
50+
<developer>
51+
<name>Alexander Mills</name>
52+
<email>alex@oresoftware.com</email>
53+
<organization>ORESoftware</organization>
54+
<organizationUrl>https://github.com/oresoftware</organizationUrl>
55+
</developer>
56+
</developers>
57+
58+
<description>
59+
A Java port of the async library for Node.js. This lib is designed to be used with Vert.x and Akka.
60+
</description>
61+
62+
63+
<profiles>
64+
<profile>
65+
<id>xxx</id>
66+
</profile>
67+
</profiles>
68+
69+
70+
<scm>
71+
<connection>scm:git:https://github.com/ORESoftware/async.java.git</connection>
72+
<developerConnection>scm:git:ssh://github.com:ORESoftware/async.java.git</developerConnection>
73+
<url>https://github.com/ORESoftware/async.java/tree/master</url>
74+
</scm>
75+
76+
<dependencies>
77+
<dependency>
78+
<groupId>io.vertx</groupId>
79+
<artifactId>vertx-web</artifactId>
80+
<version>3.6.2</version>
81+
<scope>test</scope>
82+
</dependency>
83+
84+
<dependency>
85+
<groupId>io.vertx</groupId>
86+
<artifactId>vertx-core</artifactId>
87+
<scope>test</scope>
88+
</dependency>
89+
<dependency>
90+
<groupId>io.vertx</groupId>
91+
<artifactId>vertx-unit</artifactId>
92+
<scope>test</scope>
93+
</dependency>
94+
<dependency>
95+
<groupId>junit</groupId>
96+
<artifactId>junit</artifactId>
97+
<version>4.12</version>
98+
<scope>test</scope>
99+
</dependency>
100+
101+
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
102+
<dependency>
103+
<groupId>org.slf4j</groupId>
104+
<artifactId>slf4j-api</artifactId>
105+
<version>1.7.25</version>
106+
</dependency>
107+
108+
109+
<dependency>
110+
<groupId>log4j</groupId>
111+
<artifactId>log4j</artifactId>
112+
<version>${log4j.version}</version>
113+
<scope>test</scope>
114+
</dependency>
115+
</dependencies>
116+
117+
118+
119+
<build>
120+
121+
<finalName>reloader</finalName>
122+
123+
<plugins>
124+
125+
<plugin>
126+
<groupId>org.sonatype.plugins</groupId>
127+
<artifactId>nexus-staging-maven-plugin</artifactId>
128+
<version>1.6.8</version>
129+
<extensions>true</extensions>
130+
<configuration>
131+
<serverId>ossrh</serverId>
132+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
133+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
134+
</configuration>
135+
</plugin>
136+
137+
<plugin>
138+
<groupId>org.apache.maven.plugins</groupId>
139+
<artifactId>maven-gpg-plugin</artifactId>
140+
<version>1.6</version>
141+
<configuration>
142+
<skip>${oleg.skip}</skip>
143+
</configuration>
144+
<executions>
145+
146+
<execution>
147+
<id>sign-artifacts</id>
148+
<phase>verify</phase>
149+
<goals>
150+
<goal>sign</goal>
151+
</goals>
152+
</execution>
153+
</executions>
154+
</plugin>
155+
156+
<plugin>
157+
<groupId>org.apache.maven.plugins</groupId>
158+
<artifactId>maven-jar-plugin</artifactId>
159+
<version>2.4</version>
160+
<executions>
161+
<execution>
162+
<id>default-jar</id>
163+
<phase>none</phase>
164+
</execution>
165+
</executions>
166+
</plugin>
167+
168+
<!-- Make this jar executable -->
169+
<!--<plugin>-->
170+
<!--<groupId>org.apache.maven.plugins</groupId>-->
171+
<!--<artifactId>maven-jar-plugin</artifactId>-->
172+
173+
174+
<!--<executions>-->
175+
<!--<execution>-->
176+
<!--<phase>none</phase>-->
177+
<!--</execution>-->
178+
<!--</executions>-->
179+
180+
<!--<configuration>-->
181+
182+
<!--<skip>${oleg.skip}</skip>-->
183+
184+
<!--<excludes>-->
185+
<!--<exclude>**/log4j.properties</exclude>-->
186+
<!--</excludes>-->
187+
188+
<!--<archive>-->
189+
<!--<manifest>-->
190+
<!--<addClasspath>true</addClasspath>-->
191+
<!--<mainClass>com.mkyong.App</mainClass>-->
192+
<!--<classpathPrefix>dependency-jars/</classpathPrefix>-->
193+
<!--</manifest>-->
194+
<!--</archive>-->
195+
<!--</configuration>-->
196+
<!--</plugin>-->
197+
198+
<!--<plugin>-->
199+
<!--<groupId>org.apache.maven.plugins</groupId>-->
200+
<!--<artifactId>maven-javadoc-plugin</artifactId>-->
201+
<!--<version>3.0.1</version>-->
202+
203+
<!--<configuration>-->
204+
<!--<skip>${oleg.skip}</skip>-->
205+
<!--</configuration>-->
206+
207+
<!--<executions>-->
208+
<!--<execution>-->
209+
<!--<id>attach-javadocs</id>-->
210+
<!--<phase>none</phase>-->
211+
<!--<goals>-->
212+
<!--<goal>jar</goal>-->
213+
<!--</goals>-->
214+
<!--</execution>-->
215+
<!--</executions>-->
216+
<!--</plugin>-->
217+
218+
<!--<plugin>-->
219+
<!--<groupId>org.apache.maven.plugins</groupId>-->
220+
<!--<artifactId>maven-source-plugin</artifactId>-->
221+
<!--<version>3.0.1</version>-->
222+
223+
<!--<executions>-->
224+
<!--<execution>-->
225+
<!--<phase>none</phase>-->
226+
<!--<id>attach-sources</id>-->
227+
<!--<goals>-->
228+
<!--<goal>jar</goal>-->
229+
<!--</goals>-->
230+
<!--</execution>-->
231+
<!--</executions>-->
232+
<!--</plugin>-->
233+
234+
<!-- download source code in Eclipse, best practice -->
235+
236+
<!--<plugin>-->
237+
<!--<groupId>org.apache.maven.plugins</groupId>-->
238+
<!--<artifactId>maven-eclipse-plugin</artifactId>-->
239+
240+
<!--<version>2.9</version>-->
241+
<!--<configuration>-->
242+
<!--<skip>${oleg.skip}</skip>-->
243+
<!--<downloadSources>true</downloadSources>-->
244+
<!--<downloadJavadocs>false</downloadJavadocs>-->
245+
<!--</configuration>-->
246+
<!--</plugin>-->
247+
248+
<!-- Set a compiler level -->
249+
<plugin>
250+
<groupId>org.apache.maven.plugins</groupId>
251+
<artifactId>maven-compiler-plugin</artifactId>
252+
253+
<version>2.3.2</version>
254+
<configuration>
255+
<skip>${oleg.skip}</skip>
256+
<source>${jdk.version}</source>
257+
<target>${jdk.version}</target>
258+
</configuration>
259+
</plugin>
260+
261+
262+
<plugin>
263+
<groupId>org.codehaus.mojo</groupId>
264+
<artifactId>exec-maven-plugin</artifactId>
265+
<version>1.5.0</version>
266+
<configuration>
267+
<mainClass>org.ores.reload.Reloader</mainClass>
268+
<arguments>
269+
</arguments>
270+
</configuration>
271+
</plugin>
272+
273+
<!-- Copy project dependency -->
274+
<!--<plugin>-->
275+
<!--<groupId>org.apache.maven.plugins</groupId>-->
276+
<!--<artifactId>maven-dependency-plugin</artifactId>-->
277+
<!--<version>2.5.1</version>-->
278+
<!--<configuration>-->
279+
<!--<skip>${oleg.skip}</skip>-->
280+
<!--</configuration>-->
281+
<!--<executions>-->
282+
<!--<execution>-->
283+
<!--<id>copy-dependencies</id>-->
284+
<!--<phase>package</phase>-->
285+
<!--<goals>-->
286+
<!--<goal>copy-dependencies</goal>-->
287+
<!--</goals>-->
288+
<!--<configuration>-->
289+
<!--&lt;!&ndash; exclude junit, we need runtime dependency only &ndash;&gt;-->
290+
291+
<!--<includeScope>runtime</includeScope>-->
292+
<!--<outputDirectory>${project.build.directory}/dependency-jars/</outputDirectory>-->
293+
<!--</configuration>-->
294+
<!--</execution>-->
295+
<!--</executions>-->
296+
<!--</plugin>-->
297+
298+
</plugins>
299+
</build>
300+
301+
</project>

scripts/all.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
4+
mvn -T 5 -offline \
5+
clean \
6+
package \
7+
exec:java \
8+
-DskipTests -Dmaven.javadoc.skip=true -Dmaven.test.skip

scripts/gpg.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
3+
4+
#gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys f1418e089845027e
5+
#gpg --keyserver hkp://keyserver.ubuntu.com --send-keys f1418e089845027e
6+
7+
8+
gpg --keyserver http://pool.sks-keyservers.net --recv-keys f1418e089845027e
9+
gpg --keyserver http://keyserver.ubuntu.com --send-keys f1418e089845027e
10+
gpg --keyserver http://pool.sks-keyservers.net --recv-keys f1418e089845027e
11+
gpg --keyserver http://keyserver.ubuntu.com --send-keys f1418e089845027e

scripts/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
4+
mvn clean install exec:java -DskipTests

0 commit comments

Comments
 (0)