Skip to content

Commit e559383

Browse files
committed
adapt the fnlp-core for git maven release package
1 parent aad03cd commit e559383

File tree

1 file changed

+39
-9
lines changed

1 file changed

+39
-9
lines changed

fnlp-core/pom.xml

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</parent>
1010
<groupId>org.fnlp</groupId>
1111
<artifactId>fnlp-core</artifactId>
12-
<version>2.1-SNAPSHOT</version>
12+
<version>2.1-SNAPSHOT-gubnoi-v1</version>
1313
<name>fnlp-core</name>
1414
<url>https://github.com/xpqiu/fnlp/</url>
1515
<description>FNLP is developed for Chinese natural language processing (NLP), which also includes some machine learning algorithms and data sets to achieve the NLP tasks. FNLP is distributed under LGPL3.0.</description>
@@ -18,6 +18,13 @@
1818
<url>http://www.fnlp.org</url>
1919
</organization>
2020

21+
<pluginRepositories>
22+
<pluginRepository>
23+
<id>synergian-repo</id>
24+
<url>https://raw.github.com/synergian/wagon-git/releases</url>
25+
</pluginRepository>
26+
</pluginRepositories>
27+
2128
<scm>
2229
<url>scm:git:git@github.com:xpqiu/fnlp.git</url>
2330
<connection>scm:git:git@github.com:xpqiu/fnlp.git</connection>
@@ -28,6 +35,17 @@
2835
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2936
</properties>
3037
<dependencies>
38+
39+
<dependency>
40+
<groupId>net.sf.trove4j</groupId>
41+
<artifactId>trove4j</artifactId>
42+
<version>3.0.3</version>
43+
</dependency>
44+
<dependency>
45+
<groupId>commons-cli</groupId>
46+
<artifactId>commons-cli</artifactId>
47+
<version>1.2</version>
48+
</dependency>
3149
<dependency>
3250
<groupId>junit</groupId>
3351
<artifactId>junit</artifactId>
@@ -40,14 +58,18 @@
4058
<profile>
4159
<id>release</id>
4260
<distributionManagement>
43-
<snapshotRepository>
44-
<id>sonatype-nexus-snapshots</id>
45-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
46-
</snapshotRepository>
47-
<repository>
48-
<id>sonatype-nexus-staging</id>
49-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
50-
</repository>
61+
62+
<repository>
63+
<id>com.gubnoi.fnlp</id>
64+
<name>Gubnoi NLP</name>
65+
<url>git:releases://git@github.com:jing-zhou/fnlp.git</url>
66+
</repository>
67+
68+
<snapshotRepository>
69+
<id>com.gubnoi.fnlp</id>
70+
<name>Gubnoi NLP</name>
71+
<url>git:snapshots://git@github.com:jing-zhou/fnlp.git</url>
72+
</snapshotRepository>
5173
</distributionManagement>
5274
<build>
5375
<plugins>
@@ -99,6 +121,14 @@
99121
</profiles>
100122

101123
<build>
124+
<extensions>
125+
<extension>
126+
<groupId>ar.com.synergian</groupId>
127+
<artifactId>wagon-git</artifactId>
128+
<version>0.2.5</version>
129+
</extension>
130+
</extensions>
131+
102132
<plugins>
103133
<plugin>
104134
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)