Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven #14

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
.classpath
.project
.settings/
lib/
target/
dist/
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[v3.5.5 Development]

* Mavenize project tree.
21 changes: 21 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
=============
SMSLib v3.5.x
=============

SMSLib is an SMS messaging library, available for Java and .NET Framework.

Visit http://smslib.org for more information.

LICENSE
=======

All SMSLib components are licensed under the terms of the Apache v2 license.

Copyright (c) 2002-2014, smslib.org

Copyright (c) 2008, Ateneo Java Wireless Competency Center/Blueblade Technologies, Philippines.

Licensed under the Apache License, Version 2.0 (the "License");
You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
3 changes: 0 additions & 3 deletions README.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions build/Introduction.html

This file was deleted.

13 changes: 0 additions & 13 deletions build/SMSLib.mf

This file was deleted.

5 changes: 0 additions & 5 deletions build/SMSServer.mf

This file was deleted.

Binary file removed build/lib/maven-ant-tasks-2.1.1.jar
Binary file not shown.
55 changes: 0 additions & 55 deletions build/pom.xml.template

This file was deleted.

Binary file removed dotnet/Examples/ReadMessages/ReadMessages.suo
Binary file not shown.
Binary file removed dotnet/Examples/SendMessage/SendMessage.suo
Binary file not shown.
6 changes: 0 additions & 6 deletions dotnet/README.txt

This file was deleted.

1 change: 0 additions & 1 deletion dotnet/build-net.bat

This file was deleted.

Binary file removed lib/RXTXcomm.jar
Binary file not shown.
Binary file removed lib/commons-net-2.0.jar
Binary file not shown.
Binary file removed lib/jsmpp-2.1.0.jar
Binary file not shown.
Binary file removed lib/log4j-1.2.17.jar
Binary file not shown.
164 changes: 164 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>4.11</junit.version>
<slf4j-api.version>1.7.2</slf4j-api.version>
<slf4j-log4j12.version>1.7.2</slf4j-log4j12.version>
<log4j.version>1.2.17</log4j.version>
<mysql.version>5.1.29</mysql.version>
<mail.version>1.4</mail.version>
<ikvm>ikvm-7.2.4630.5</ikvm>
<nrjavaserial.version>3.7.5.1</nrjavaserial.version>
<jsmpp.version>2.1.0</jsmpp.version>
<commons-net.version>3.3</commons-net.version>
</properties>
<prerequisites>
<maven>2.2.1</maven>
</prerequisites>
<groupId>org.smslib</groupId>
<artifactId>smslib-parent</artifactId>
<packaging>pom</packaging>
<version>dev-SNAPSHOT</version>
<name>SMSLib</name>
<description>A universal API for sms messaging.</description>
<url>http://smslib.org</url>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<developers>
<developer>
<name>Thanasis Delenikas</name>
<email>[email protected]</email>
<roles>
<role>Author</role>
</roles>
</developer>
</developers>
<scm>
<url>https://github.com/smslib/smslib-v3</url>
<connection>scm:git:https://github.com/smslib/smslib-v3.git</connection>
<developerConnection>scm:git:https://github.com/smslib/smslib-v3.git</developerConnection>
</scm>
<issueManagement>
<system>github</system>
<url>http://github.com/smslib/smslib-v3/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>SMSLib Discussion Group</name>
<subscribe>[email protected]</subscribe>
<unsubscribe>[email protected]</unsubscribe>
<post>[email protected]</post>
<archive>https://groups.google.com/d/forum/smslib</archive>
</mailingList>
</mailingLists>
<dependencies>
</dependencies>
<modules>
<module>smslib</module>
<module>smslib-dep</module>
<module>smslib-dotnet</module>
<module>smsserver</module>
<module>smsserver-dep</module>
<module>smsserver-dotnet</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<encoding>UTF-8</encoding>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<forkMode>always</forkMode>
<argLine>-Xms256m -Xmx256m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.3</version>
<configuration>
<filesets>
<fileset>
<directory>lib</directory>
<includes>
<include>*.*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>1.3.1</version>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.7.1</version>
<configuration>
<linkXref>true</linkXref>
<targetJdk>1.5</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<archive>
<manifest>
<mainClass>org.smslib.Service</mainClass>
<packageName>org.smslib</packageName>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<repository>
<id>smslib-releases</id>
<name>SMSLib Release Repository</name>
<url>scp://${smslib-maven-url}/v3/releases</url>
</repository>
<snapshotRepository>
<id>smslib-snapshots</id>
<name>SMSLib Snapshot Repository</name>
<uniqueVersion>false</uniqueVersion>
<url>scp://${smslib-maven-url}/v3/snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>
File renamed without changes.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Comm2IP">
<HintPath>..\..\..\..\..\comm2ip\Comm2IP\Comm2IP\bin\Debug\Comm2IP.dll</HintPath>
<HintPath>..\..\..\..\..\..\comm2ip\Comm2IP\Comm2IP\bin\Debug\Comm2IP.dll</HintPath>
</Reference>
<Reference Include="IKVM.OpenJDK.Core">
<HintPath>..\..\..\ikvm-7.2.4630.5\bin\IKVM.OpenJDK.Core.dll</HintPath>
<HintPath>..\..\..\..\..\tools\ikvm-7.2.4630.5\bin\IKVM.OpenJDK.Core.dll</HintPath>
</Reference>
<Reference Include="smslib-3.5.4">
<HintPath>..\..\..\..\dist\lib\smslib-3.5.4.dll</HintPath>
<Reference Include="smslib-dotnet-dev-SNAPSHOT">
<HintPath>..\..\..\..\..\lib\smslib-dotnet-dev-SNAPSHOT.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Comm2IP">
<HintPath>..\..\..\..\..\comm2ip\Comm2IP\Comm2IP\bin\Debug\Comm2IP.dll</HintPath>
<HintPath>..\..\..\..\..\..\comm2ip\Comm2IP\Comm2IP\bin\Debug\Comm2IP.dll</HintPath>
</Reference>
<Reference Include="IKVM.OpenJDK.Core">
<HintPath>..\..\..\ikvm-7.2.4630.5\bin\IKVM.OpenJDK.Core.dll</HintPath>
<HintPath>..\..\..\..\..\tools\ikvm-7.2.4630.5\bin\IKVM.OpenJDK.Core.dll</HintPath>
</Reference>
<Reference Include="smslib-3.5.4">
<HintPath>..\..\..\..\dist\lib\smslib-3.5.4.dll</HintPath>
<Reference Include="smslib-dotnet-dev-SNAPSHOT">
<HintPath>..\..\..\..\..\lib\smslib-dotnet-dev-SNAPSHOT.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down
Loading