#14 Update the SNAPSHOT dependencies

Any
open
nobody
Any (4)
5
2014-12-12
2012-02-23
Anonymous
No

I try to use Maven to assembly the wrapper but I found some SNAPSHOT jars in the package and there as release or newer version.

commons-configuration-1.7-SNAPSHOT.jar

<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>1.7</version>
</dependency>

commons-cli-2-SNAPSHOT.jar
<!--dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-cli2</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency-->
<dependency>
<groupId>org.apache.mahout.commons</groupId>
<artifactId>commons-cli</artifactId>
<version>2.0-mahout</version>
</dependency>

NOTICE! The Snapshot and the release version has different package name.

commons-vfs-2.0-SNAPSHOT.jar
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs2</artifactId>
<version>2.0</version>
</dependency>

There are some newer packages also:

<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
<version>3.2.7.Final</version>
</dependency>

I'd like to wrap my main class and install as a windows service. I followed the Java example (It's a bit outdated) and I noticed it imports classes from many different JARs even. The Wrapper imports import org.jboss.netty.logging.SimpleLoggerFactory and this calss is not exist in netty-3.2.7.

Please consider to use SLF4J logger.

If you need any help I can help you to upgrade to the latest binaries and test the minimal installation scenario or make the maven arifacts too.

Discussion

  • Ellis Breen
    Ellis Breen
    2012-04-20

    See http://github.com/griels/yajsw-maven - it's more or less up and running now, quite a few rough edges to fix, but if you wish to fork it/contribute you are welcome.

    Thanks,

    Ellis