Skip to content

Commit fceefdd

Browse files
committed
[Refactor/Feature] Change versioning to reflect change of Maven Repository./Add possible CI replacement Travic-CI.
1 parent f235f36 commit fceefdd

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Source language and JDK version to use.
2+
language: java
3+
jdk: oraclejdk7
4+
5+
# Compile and package JAR and set build properties.
6+
install: mvn package -Dbuild.number=$TRAVIS_BUILD_NUMBER
7+
after_success:
8+
# Get files for use with build, namely the custom Maven settings.xml.
9+
- "git clone https://github.com/Q0rDev/travis-ci-resources.git target/travis"
10+
# Check if commit s not a pull request, if git repo is official, and if branch is master. If checks pass, deploy artifacts to Maven repository.
11+
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == Q0rDev/MChannels ]] && [[ $TRAVIS_BRANCH == master ]] && mvn deploy --settings target/travis/settings.xml"
12+
13+
notifications:
14+
# Disable build status email notifications, until the issue with forks is fixed.
15+
email: false

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- Project information -->
55
<groupId>ca.q0r</groupId>
66
<artifactId>MChannels</artifactId>
7-
<version>1.6.4-R0.7</version>
7+
<version>1.6.4-R1.0-SNAPSHOT</version>
88
<name>MChannels</name>
99
<url>http://q0r.ca/</url>
1010
<description>MChat's Channel Implementation</description>
@@ -30,12 +30,12 @@
3030
<!-- Maven repository -->
3131
<distributionManagement>
3232
<repository>
33-
<id>q0r-rel</id>
33+
<id>q0r-nexus-release</id>
3434
<name>nexus.q0r.org Releases</name>
3535
<url>http://nexus.q0r.ca/content/repositories/releases/</url>
3636
</repository>
3737
<snapshotRepository>
38-
<id>q0r-snap</id>
38+
<id>q0r-nexus-snapshot</id>
3939
<name>nexus.q0r.org Snapshots</name>
4040
<url>http://nexus.q0r.ca/content/repositories/snapshots/</url>
4141
</snapshotRepository>
@@ -66,7 +66,7 @@
6666
</repositories>
6767

6868
<build>
69-
<defaultGoal>clean install</defaultGoal>
69+
<defaultGoal>package</defaultGoal>
7070
<!-- Resources -->
7171
<resources>
7272
<resource>

0 commit comments

Comments
 (0)