skip to main |
skip to sidebar
RSS Feeds
Nope. nothing .. just some random thoughts come to my mind ...
Nope. nothing .. just some random thoughts come to my mind ...
9:06 AM | Saturday, October 29, 2011
Posted by harshadura
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.harshadura.gsm</groupId>
<artifactId>smsdura</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<name>smsdura</name>
<url>http://maven.apache.org</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/classes/lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>javax.comm</groupId>
<artifactId>comm</artifactId>
<version>2.0.3</version>
<scope>system</scope>
<systemPath>${basedir}/lib/comm.jar</systemPath>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.0.1</version>
<scope>system</scope>
<systemPath>${basedir}/lib/commons-net-3.0.1.jar</systemPath>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
<scope>system</scope>
<systemPath>${basedir}/lib/log4j-1.2.16.jar</systemPath>
</dependency>
<dependency>
<groupId>jsmpp</groupId>
<artifactId>jsmpp</artifactId>
<version>2.1.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/jsmpp-2.1.0.jar</systemPath>
</dependency>
<dependency>
<groupId>smslib</groupId>
<artifactId>smslib</artifactId>
<version>3.5.1</version>
<scope>system</scope>
<systemPath>${basedir}/lib/smslib-3.5.1.jar</systemPath>
</dependency>
<dependency>
<groupId>RXTXcomm</groupId>
<artifactId>RXTXcomm</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/RXTXcomm.jar</systemPath>
</dependency>
<dependency>
<groupId>pduutils</groupId>
<artifactId>pduutils</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/pduutils.jar</systemPath>
</dependency>
</dependencies>
</project>
After then just type
mvn clean install
Post a Comment