aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-26 13:56:32 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-26 13:56:32 +0100
commit0f29016748476803ee4542ab9298b3ccae32bd23 (patch)
tree0b28dfd871be0549a7e4019190cd9f2e613fc49a
parent3540c9b84b11338554ec66cf2bb3a4cc4fc7c4d5 (diff)
downloadapp.sh-booter-jetty-0f29016748476803ee4542ab9298b3ccae32bd23.tar.gz
app.sh-booter-jetty-0f29016748476803ee4542ab9298b3ccae32bd23.tar.bz2
app.sh-booter-jetty-0f29016748476803ee4542ab9298b3ccae32bd23.tar.xz
app.sh-booter-jetty-0f29016748476803ee4542ab9298b3ccae32bd23.zip
o Adding sources plugin to always get the sources installed.
-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>