Skip to content

Commit e45f367

Browse files
committed
Maven issues
1 parent 78b7fe8 commit e45f367

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: groovy
22

33
jdk:
4-
- oraclejdk7
4+
- oraclejdk8
55

66
notifications:
77
email: false

build.gradle

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,27 @@ try {
5151
println "Could not load Maven Properties... You are not a developer!"
5252
}
5353

54-
uploadArchives {
55-
repositories.mavenDeployer {
56-
configuration = configurations.deployerJars
57-
repository(url: mavenProps.jaci.url) {
58-
authentication(userName: mavenProps.jaci.user, password: mavenProps.jaci.auth)
59-
}
54+
try {
55+
uploadArchives {
56+
repositories.mavenDeployer {
57+
configuration = configurations.deployerJars
58+
repository(url: mavenProps.jaci.url) {
59+
authentication(userName: mavenProps.jaci.user, password: mavenProps.jaci.auth)
60+
}
6061

61-
pom {
62-
groupId = project.group
63-
version = project.version
64-
artifactId = project.archivesBaseName
65-
project {
66-
name project.archivesBaseName
67-
packaging 'jar'
68-
description 'Build Plugin'
69-
}
70-
}
71-
}
72-
}
62+
pom {
63+
groupId = project.group
64+
version = project.version
65+
artifactId = project.archivesBaseName
66+
project {
67+
name project.archivesBaseName
68+
packaging 'jar'
69+
description 'Build Plugin'
70+
}
71+
}
72+
}
73+
}
74+
} catch (Exception e) {}
7375

7476
class BuildGradle implements Plugin<Project> {
7577
void apply(Project project) {

0 commit comments

Comments
 (0)