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

19
pom.xml
View file

@ -205,13 +205,13 @@
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>tpquery-test-none</id> <id>test-none</id>
<properties> <properties>
<skipTests>true</skipTests> <skipTests>true</skipTests>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>tpquery-test-jacoco</id> <id>test-jacoco</id>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -275,7 +275,7 @@
</build> </build>
</profile> </profile>
<profile> <profile>
<id>tpquery-build</id> <id>build</id>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -285,7 +285,7 @@
</build> </build>
</profile> </profile>
<profile> <profile>
<id>tpquery-build-site</id> <id>build-site</id>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -462,16 +462,5 @@
</plugins> </plugins>
</reporting> </reporting>
</profile> </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> </profiles>
</project> </project>