Skip to content

Commit

Permalink
Maven issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JaciBrunning committed May 14, 2015
1 parent 78b7fe8 commit e45f367
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: groovy

jdk:
- oraclejdk7
- oraclejdk8

notifications:
email: false
38 changes: 20 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,27 @@ try {
println "Could not load Maven Properties... You are not a developer!"
}

uploadArchives {
repositories.mavenDeployer {
configuration = configurations.deployerJars
repository(url: mavenProps.jaci.url) {
authentication(userName: mavenProps.jaci.user, password: mavenProps.jaci.auth)
}
try {
uploadArchives {
repositories.mavenDeployer {
configuration = configurations.deployerJars
repository(url: mavenProps.jaci.url) {
authentication(userName: mavenProps.jaci.user, password: mavenProps.jaci.auth)
}

pom {
groupId = project.group
version = project.version
artifactId = project.archivesBaseName
project {
name project.archivesBaseName
packaging 'jar'
description 'Build Plugin'
}
}
}
}
pom {
groupId = project.group
version = project.version
artifactId = project.archivesBaseName
project {
name project.archivesBaseName
packaging 'jar'
description 'Build Plugin'
}
}
}
}
} catch (Exception e) {}

class BuildGradle implements Plugin<Project> {
void apply(Project project) {
Expand Down

0 comments on commit e45f367

Please sign in to comment.