Skip to content

Commit 2fefdf7

Browse files
committed
changing build for upcoming deploy
default do javadoc jar do not do jar-with-depencides by default remove final artifact name
1 parent d5af69f commit 2fefdf7

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

BUILD.rest

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Building
22
--------
33

44
Maven is used as build tool for jrobotremoteserver.
5-
You can simply do a 'mvn clean package javadoc:jar' in the project directory.
5+
You can simply do a 'mvn clean package assembly:single' in the project directory.
66

77
Robot Tests
88
-----------

pom.xml

+13-10
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
<email>[email protected]</email>
2525
</developer>
2626
</developers>
27+
<parent>
28+
<groupId>org.sonatype.oss</groupId>
29+
<artifactId>oss-parent</artifactId>
30+
<version>7</version>
31+
</parent>
2732
<properties>
2833
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2934
</properties>
@@ -67,24 +72,15 @@
6772
</dependency>
6873
</dependencies>
6974
<build>
70-
<finalName>jrobotremoteserver</finalName>
7175
<plugins>
7276
<plugin>
7377
<artifactId>maven-assembly-plugin</artifactId>
78+
<version>2.2-beta-5</version>
7479
<configuration>
7580
<descriptorRefs>
7681
<descriptorRef>jar-with-dependencies</descriptorRef>
7782
</descriptorRefs>
7883
</configuration>
79-
<executions>
80-
<execution>
81-
<id>make-my-jar-with-dependencies</id>
82-
<phase>package</phase>
83-
<goals>
84-
<goal>single</goal>
85-
</goals>
86-
</execution>
87-
</executions>
8884
</plugin>
8985
<plugin>
9086
<groupId>org.apache.maven.plugins</groupId>
@@ -103,6 +99,13 @@
10399
<groupId>org.apache.maven.plugins</groupId>
104100
<artifactId>maven-javadoc-plugin</artifactId>
105101
<version>2.8.1</version>
102+
<executions>
103+
<execution>
104+
<goals>
105+
<goal>jar</goal>
106+
</goals>
107+
</execution>
108+
</executions>
106109
</plugin>
107110
</plugins>
108111
</build>

0 commit comments

Comments
 (0)