Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
TreeSplitWord 一个tire树结构的分词
==================

##maven
##maven(中央库)

````
<repositories>
<repository>
<id>mvn-repo</id>
<url>http://ansjsun.github.io/mvn-repo/</url>
</repository>
</repositories>

<dependencies>
<dependency>
Expand All @@ -23,7 +17,7 @@ TreeSplitWord 一个tire树结构的分词
Download jar

````
https://github.com/ansjsun/mvn-repo/tree/master/org/ansj/tree_split
http://search.maven.org/#search|ga|1|a%3A%22tree_split%22
````

一个trie树数据结构的分词
Expand Down
81 changes: 42 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
<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>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>org.ansj</groupId>
<artifactId>tree_split</artifactId>
<name>tree_split</name>
<version>1.0.1</version>

<name>tree_split</name>
<description>it is tire tree ! </description>
<url>https://github.com/ansjsun/TreeSplitWord</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
Expand All @@ -20,8 +29,10 @@
<developerConnection>scm:git:[email protected]:ansjsun/TreeSplitWord.git</developerConnection>
<url>[email protected]:ansjsun/TreeSplitWord.git</url>
</scm>


<issueManagement>
<system>Github Issue</system>
<url>https://github.com/ansjsun/tree_split/issues</url>
</issueManagement>
<developers>
<developer>
<id>ansj</id>
Expand All @@ -46,43 +57,35 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
</configuration>
</plugin>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.8</version>
<configuration>
<message>deploy-${project.artifactId}:${project.version}~${maven.build.timestamp}</message> <!-- git commit message -->
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
<branch>refs/heads/gh-pages</branch> <!-- remote branch name -->
<includes>
<include>**/*</include>
</includes>
<repositoryName>mvn-repo</repositoryName> <!-- github repo name -->
<repositoryOwner>ansjsun</repositoryOwner> <!-- github username -->
<merge>true</merge>
</configuration>
<executions>
<!-- run site-maven-plugin's 'site' target as part of the build's normal
'deploy' phase -->
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>