Skip to content

Commit

Permalink
releasing on maven central, v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jvermillard committed May 14, 2014
1 parent 0b90a00 commit 7ac694e
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 34 deletions.
2 changes: 1 addition & 1 deletion leshan-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<parent>
<groupId>org.github.leshan</groupId>
<artifactId>leshan-server</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.2</version>
</parent>
<artifactId>leshan-core</artifactId>
<packaging>bundle</packaging>
Expand Down
2 changes: 1 addition & 1 deletion leshan-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<parent>
<groupId>org.github.leshan</groupId>
<artifactId>leshan-server</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.2</version>
</parent>
<artifactId>leshan-standalone</artifactId>
<name>leshan - standalone server</name>
Expand Down
146 changes: 114 additions & 32 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,45 +1,53 @@
<!--
Copyright (c) 2013, Sierra Wireless
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of {{ project }} nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright (c) 2013, Sierra Wireless
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of {{ project }} nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.github.leshan</groupId>
<artifactId>leshan-server</artifactId>
<version>0.1.2-SNAPSHOT</version>
<version>0.1.2</version>
<packaging>pom</packaging>

<name>leshan</name>
<url>http://github.com/jvermillard/leshan</url>
<description>A Lightweight M2M Server implementation based on Californium</description>
<licenses>
<license>
<name>BSD 3 Clause</name>
<url>https://raw.githubusercontent.com/jvermillard/leshan/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>


<modules>
<module>leshan-core</module>
Expand All @@ -48,9 +56,31 @@

<scm>
<developerConnection>scm:git:ssh://[email protected]/jvermillard/leshan.git</developerConnection>
<tag>HEAD</tag>
</scm>

<url>https://github.com/jvermillard/leshan</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>jvermillard</id>
<name>Julien Vermillard</name>
<email>[email protected]</email>
<organization>Sierra Wireless - AirVantage</organization>
<organizationUrl>http://airvantage.net</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>msangoi</id>
<name>Manuel Sangoi</name>
<email>[email protected]</email>
<organization>Sierra Wireless - AirVantage</organization>
<organizationUrl>http://airvantage.net</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<exclude.integration.tests>**/*Integration*</exclude.integration.tests>
Expand Down Expand Up @@ -82,6 +112,58 @@
<exclude.integration.tests>nada</exclude.integration.tests>
</properties>
</profile>
<profile>
<!-- this profile generate all the needed artifact and signatures needed for releasing on maven central -->
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<repositories>
Expand Down Expand Up @@ -133,7 +215,7 @@
<showDeprecations>true</showDeprecations>
</configuration>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
Expand Down

0 comments on commit 7ac694e

Please sign in to comment.