From 32d6508175d5917a13e8878004125b31deb13be7 Mon Sep 17 00:00:00 2001 From: Shikhar Bhushan Date: Thu, 11 Mar 2010 03:27:33 +0100 Subject: [PATCH] getting rid of buildr, don't feel like maintaining 2 separate build configs :-( --- buildfile | 23 --------- pom.xml | 137 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 135 insertions(+), 25 deletions(-) delete mode 100644 buildfile diff --git a/buildfile b/buildfile deleted file mode 100644 index 117df5e6..00000000 --- a/buildfile +++ /dev/null @@ -1,23 +0,0 @@ -repositories.remote << 'http://www.ibiblio.org/maven2/' - -# Dependencies -SLF4J = 'org.slf4j:slf4j-api:jar:1.5.10' -SLF4J_LOG4J = 'org.slf4j:slf4j-log4j12:jar:1.5.10' -LOG4J = 'log4j:log4j:jar:1.2.15' -SSHD = transitive('org.apache.sshd:sshd-core:jar:0.3.0') -JCRAFT = 'com.jcraft:jzlib:jar:1.0.7' -BC = 'org.bouncycastle:bcprov-jdk15:jar:1.45' - -desc 'SSHv2 library for Java' -define 'sshj', :version=>'0.1alpha', :group=>'sshj' do - - compile.with(SLF4J, BC, JCRAFT).using(:target=>'1.5') - - test.with(SSHD, LOG4J, SLF4J, SLF4J_LOG4J) - - package(:jar).exclude('**/examples') - package(:sources).exclude('**/examples') - package(:javadoc) - package(:zip, :classifier=>'examples').path('examples').include(_('**/examples/*.java')) - -end diff --git a/pom.xml b/pom.xml index a9924c47..71927e2e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,13 +6,22 @@ net.schmizz sshj jar - 0.1alpha + 0.1-SNAPSHOT sshj SSHv2 library for Java http://github.com/shikhar/sshj + + 2009 + + + github + http://github.com/shikhar/sshj/issues + + scm:git:git://github.com/shikhar/sshj.git + scm:git:git@github.com:shikhar/sshj.git http://github.com/shikhar/sshj @@ -28,10 +37,68 @@ org.slf4j slf4j-api - 1.5.10 + 1.5.8 + + + org.bouncycastle + bcprov-jdk15 + 1.45 + provided + + + com.jcraft + jzlib + 1.0.7 + provided + + + junit + junit + 4.6 + test + + + org.apache.sshd + sshd-core + 0.3.0 + test + + + org.slf4j + slf4j-log4j12 + 1.5.8 + + + log4j + log4j + 1.2.15 + test + + + com.sun.jdmk + jmxtools + + + com.sun.jmx + jmxri + + + javax.jms + jms + + + javax.mail + mail + + + oro + oro + + + shikhar @@ -41,4 +108,70 @@ + + + + org.apache.maven.plugins + maven-compiler-plugin + + + examples/*.java + + 1.5 + 1.5 + + + + org.apache.maven.plugins + maven-release-plugin + 2.0 + + + + + + + sonatype-nexus-staging + Nexus Release Repository + http://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + sonatype-nexus-snapshots + Sonatype Nexus Snapshots + http://oss.sonatype.org/content/repositories/snapshots + + + + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.0 + + + sign-artifacts + verify + + sign + + + + + + + + + +