Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

Commit

Permalink
change groupId io.github.xdiamond to io.github.hengyunabc.xdiamond. p…
Browse files Browse the repository at this point in the history
…repare deploy to sonatype
  • Loading branch information
hengyunabc committed Mar 25, 2016
1 parent 9e7395b commit 79e354a
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 30 deletions.
41 changes: 35 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@

*\.settings*
*\.project
*\.classpath
*\target*
*\.idea*
.gradle
*.sw?
.#*
*#
*~
/build
/code
.classpath
.project
.settings
.metadata
.factorypath
.recommenders
bin
build
lib/
target
.springBeans
interpolated*.xml
dependency-reduced-pom.xml
build.log
_site/
.*.md.html
manifest.yml
MANIFEST.MF
settings.xml
activemq-data
overridedb.*
*.iml
*.ipr
*.iws
.idea
*.jar
.DS_Store
.factorypath
89 changes: 80 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<groupId>io.github.xdiamond</groupId>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>

<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-rootpom</artifactId>
<packaging>pom</packaging>
<version>1.0.1-SNAPSHOT</version>
Expand All @@ -13,20 +20,67 @@
</properties>

<name>xdiamond-rootpom</name>
<description>Xdiamond is a project contains distributed configuration server and client.</description>
<url>https://github.com/hengyunabc/xdiamond</url>
<inceptionYear>2015</inceptionYear>

<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>

<developers>
<developer>
<id>hengyunabc</id>
<name>hengyunabc</name>
<email>[email protected]</email>
</developer>
</developers>

<scm>
<connection>scm:git:[email protected]:hengyunabc/xdiamond.git</connection>
<developerConnection>scm:git:[email protected]:hengyunabc/xdiamond.git</developerConnection>
<url>https://github.com/hengyunabc/xdiamond</url>
</scm>

<modules>
<module>xdiamond-common</module>
<module>xdiamond-client</module>
<module>xdiamond-server</module>
</modules>

<repositories>
<repository>
<id>hengyunabc-maven-repo</id>
<url>https://raw.githubusercontent.com/hengyunabc/maven-repo/master/repository</url>
</repository>
</repositories>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
Expand Down Expand Up @@ -61,6 +115,23 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!-- add this to disable checking -->
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
11 changes: 2 additions & 9 deletions xdiamond-client-example/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<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>io.github.xdiamond</groupId>
<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-client-example</artifactId>
<version>0.0.1-SNAPSHOT</version>

Expand All @@ -16,7 +16,7 @@

<dependencies>
<dependency>
<groupId>io.github.xdiamond</groupId>
<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-client</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
Expand Down Expand Up @@ -54,12 +54,5 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit</groupId>
<artifactId>com.springsource.org.junit</artifactId>
<version>4.7.0</version>
<scope>test</scope>
</dependency>

</dependencies>
</project>
5 changes: 3 additions & 2 deletions xdiamond-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.xdiamond</groupId>
<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-rootpom</artifactId>
<version>1.0.1-SNAPSHOT</version>
</parent>

<name>xdiamond-client</name>
<artifactId>xdiamond-client</artifactId>

<properties>
Expand All @@ -19,7 +20,7 @@
</properties>
<dependencies>
<dependency>
<groupId>io.github.xdiamond</groupId>
<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-common</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
Expand Down
3 changes: 2 additions & 1 deletion xdiamond-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.xdiamond</groupId>
<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-rootpom</artifactId>
<version>1.0.1-SNAPSHOT</version>
</parent>

<name>xdiamond-common</name>
<artifactId>xdiamond-common</artifactId>

<dependencies>
Expand Down
8 changes: 5 additions & 3 deletions xdiamond-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<parent>
<groupId>io.github.xdiamond</groupId>
<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-rootpom</artifactId>
<version>1.0.1-SNAPSHOT</version>
</parent>
Expand All @@ -12,6 +12,8 @@
<artifactId>xdiamond-server</artifactId>
<packaging>war</packaging>

<name>xdiamond-server</name>

<properties>
<spring.version>4.1.6.RELEASE</spring.version>
<slf4j.version>1.7.5</slf4j.version>
Expand All @@ -23,7 +25,7 @@
<dependencies>

<dependency>
<groupId>io.github.xdiamond</groupId>
<groupId>io.github.hengyunabc.xdiamond</groupId>
<artifactId>xdiamond-common</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
Expand Down Expand Up @@ -288,7 +290,7 @@
<dependency>
<groupId>io.github.hengyunabc</groupId>
<artifactId>mybatis-ehcache-spring</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.1</version>
<exclusions>
<exclusion>
<groupId>net.sf.ehcache</groupId>
Expand Down

0 comments on commit 79e354a

Please sign in to comment.