renamed profiles

This commit is contained in:
Willem 2015-06-19 20:30:26 +02:00
parent 3c3c70234b
commit 9dbc2b7a62
2 changed files with 9 additions and 20 deletions

View file

@ -13,21 +13,21 @@
mvn clean test
### Run tests with jacoco
mvn -Ptpquery-test-jacoco clean test
mvn -Ptest-jacoco clean test
## Create build artifacts
mvn -Ptpquery-build clean package;
mvn -Pbuild clean package;
## Change pom.xml versions
mvn versions:set -DnewVersion=2.3.4-SNAPSHOT
## Make release build
mvn -Ptpquery-build clean package;
mvn -Pbuild clean package;
mvn -B -Dusername=(scm_username) clean install release:clean release:prepare release:perform;
## Make site
mvn -Ptpquery-test-jacoco clean test
mvn -Ptpquery-build-site site:site
mvn -Ptest-jacoco clean test
mvn -Pbuild-site site:site
Optional add -DstagingDirectory=/tmp/tpquery-build-fullsite
And then manual upload.

19
pom.xml
View file

@ -205,13 +205,13 @@
</build>
<profiles>
<profile>
<id>tpquery-test-none</id>
<id>test-none</id>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
<profile>
<id>tpquery-test-jacoco</id>
<id>test-jacoco</id>
<build>
<plugins>
<plugin>
@ -275,7 +275,7 @@
</build>
</profile>
<profile>
<id>tpquery-build</id>
<id>build</id>
<build>
<plugins>
<plugin>
@ -285,7 +285,7 @@
</build>
</profile>
<profile>
<id>tpquery-build-site</id>
<id>build-site</id>
<build>
<plugins>
<plugin>
@ -462,16 +462,5 @@
</plugins>
</reporting>
</profile>
<profile>
<id>tpquery-sonar</id>
<properties>
<sonar.jdbc.url>jdbc:postgres://localhost/ff-sonar</sonar.jdbc.url>
<sonar.jdbc.username>ff-sonar</sonar.jdbc.username>
<sonar.jdbc.password>sonar-ff</sonar.jdbc.password>
<sonar.host.url>http://localhost:9000</sonar.host.url>
<sonar.junit.reportsPath>target/surefire-reports</sonar.junit.reportsPath>
<sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
</properties>
</profile>
</profiles>
</project>