On 3/13/07, Mark Webb <[EMAIL PROTECTED]> wrote:
I am starting a project in which I will be using maven.  One of the
dependencies is for MINA 1.1.  Could someone assist me in how to set up my
pom.xml file to properly get the MINA 1.1 jar file(s).

You could add a dependency in the dependencies section in your
pom.xml.  Additionally, you need to add our Maven snapshot repository
there, too.

For example:

<project>
...
 <repositories>
 ..
   <repository>
     <id>apache.snapshots</id>
     <name>Apache Snapshot Repository</name>
     <url>http://people.apache.org/repo/m2-snapshot-repository</url>
     <releases>
       <enabled>false</enabled>
     </releases>
   </repository>
 ..
 </repositories>
...
 <dependencies>
 ...
   <dependency>
     <groupId>org.apache.mina</groupId>
     <artifactId>mina-core</artifactId>
     <version>1.1.0-SNAPSHOT</version>
     <scope>compile</scope>
   </dependency>
 ...
 </dependencies>
...
</project>

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to