aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--pom.xml14
2 files changed, 15 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 2b8c677..b7b1492 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,4 +10,4 @@ install: "mvn -DskipTests -U -B install"
after_success:
- python .travis-addServer.py
# No need to run clean or run tests when simply deploying.
- - mvn -DskipTests deploy -B --settings ~/.m2/mySettings.xml
+ - mvn -DskipTests -B --settings ~/.m2/mySettings.xml deploy
diff --git a/pom.xml b/pom.xml
index 1cdcf93..818c898 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,6 +87,20 @@
<target>1.5</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>