Maven 2 users just add the current jar as dependency:
<?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> <groupId>com.company.proj</groupId> <artifactId>proj</artifactId> <version>0.0.1</version> <description>A project dealing with ASN.1</description> <repositories> <!-- define pointer to the sf site of ans1forj --> <repository> <id>asn1forj</id> <name>asn1forj repository</name> <layout>default</layout> <url>http://asn1forj.sf.net/m2-repo</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <dependencies> <!-- define a dependency to the current version of asn1forj --> <dependency> <groupId>net.sourceforge.asn1forj</groupId> <artifactId>asn1forj</artifactId> <version>20070220-0</version> </dependency> <!-- import junit (optional) --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project>
The current release can be downloaded from the files area.
The simplest way to manage dependencies is to use Maven 2. If your POM is well configured, just run:
mvn eclipse:eclipse
mvn idea:idea