Skip to content

Commit 4f4c16c

Browse files
committed
Added launch files.
1 parent e320fb1 commit 4f4c16c

File tree

3 files changed

+65
-7
lines changed

3 files changed

+65
-7
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
33
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false" />
4-
<stringAttribute key="M2_GOALS" value="clean deploy" />
4+
<stringAttribute key="M2_GOALS"
5+
value="clean deploy -Dmaven.test.skip=true -Pdeploy-release" />
56
<booleanAttribute key="M2_NON_RECURSIVE" value="false" />
67
<booleanAttribute key="M2_OFFLINE" value="false" />
78
<stringAttribute key="M2_PROFILES" value="" />
89
<listAttribute key="M2_PROPERTIES" />
910
<stringAttribute key="M2_RUNTIME" value="EMBEDDED" />
10-
<booleanAttribute key="M2_SKIP_TESTS" value="true" />
11+
<booleanAttribute key="M2_SKIP_TESTS" value="false" />
12+
<intAttribute key="M2_THREADS" value="1" />
1113
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false" />
14+
<stringAttribute key="M2_USER_SETTINGS" value="" />
1215
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false" />
1316
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY"
1417
value="${project_path}" />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
3+
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false" />
4+
<stringAttribute key="M2_GOALS"
5+
value="clean deploy -Dmaven.test.skip=true -Pdeploy-snapshot" />
6+
<booleanAttribute key="M2_NON_RECURSIVE" value="false" />
7+
<booleanAttribute key="M2_OFFLINE" value="false" />
8+
<stringAttribute key="M2_PROFILES" value="" />
9+
<listAttribute key="M2_PROPERTIES" />
10+
<stringAttribute key="M2_RUNTIME" value="EMBEDDED" />
11+
<booleanAttribute key="M2_SKIP_TESTS" value="false" />
12+
<intAttribute key="M2_THREADS" value="1" />
13+
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false" />
14+
<stringAttribute key="M2_USER_SETTINGS" value="" />
15+
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false" />
16+
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY"
17+
value="${project_path}" />
18+
</launchConfiguration>

pom.xml

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@
6767
</distributionManagement>
6868

6969
<dependencies>
70-
<dependency>
71-
<groupId>commons-io</groupId>
72-
<artifactId>commons-io</artifactId>
73-
<version>2.5</version>
74-
</dependency>
7570
<dependency>
7671
<groupId>org.apache.logging.log4j</groupId>
7772
<artifactId>log4j-api</artifactId>
@@ -100,6 +95,12 @@
10095
<version>3.1.3</version>
10196
<scope>test</scope>
10297
</dependency>
98+
<dependency>
99+
<groupId>commons-io</groupId>
100+
<artifactId>commons-io</artifactId>
101+
<version>2.5</version>
102+
<scope>test</scope>
103+
</dependency>
103104
</dependencies>
104105

105106
<build>
@@ -283,6 +284,42 @@
283284
</plugins>
284285
</build>
285286

287+
<profiles>
288+
<profile>
289+
<id>deploy-release</id>
290+
<build>
291+
<plugins>
292+
<plugin>
293+
<groupId>org.sonatype.plugins</groupId>
294+
<artifactId>nexus-staging-maven-plugin</artifactId>
295+
<extensions>true</extensions>
296+
<configuration>
297+
<serverId>ossrh-releases</serverId>
298+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
299+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
300+
</configuration>
301+
</plugin>
302+
</plugins>
303+
</build>
304+
</profile>
305+
<profile>
306+
<id>deploy-snapshot</id>
307+
<build>
308+
<plugins>
309+
<plugin>
310+
<groupId>org.sonatype.plugins</groupId>
311+
<artifactId>nexus-staging-maven-plugin</artifactId>
312+
<extensions>true</extensions>
313+
<configuration>
314+
<serverId>ossrh-snapshots</serverId>
315+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
316+
</configuration>
317+
</plugin>
318+
</plugins>
319+
</build>
320+
</profile>
321+
</profiles>
322+
286323
<pluginRepositories>
287324
<pluginRepository>
288325
<id>clojars.org</id>

0 commit comments

Comments
 (0)