Skip to content

Commit aa0a739

Browse files
committed
Cut apart the source code and maven enabled
1 parent fdbbe53 commit aa0a739

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+381
-190
lines changed

.classpath

Lines changed: 0 additions & 7 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
*.class
2-
*.war
3-
*.ear
4-
.settings
51
bin/
62
abstracts/
73
.settings/
4+
target/
5+
.idea/
6+
*.iml
87

.project

Lines changed: 0 additions & 17 deletions
This file was deleted.

compile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
mvn -N clean install -f superpom/pom.xml
3+
mvn clean install

deploy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
mvn -N clean install -f superpom/pom.xml
3+
mvn clean deploy

langdetect-core/pom.xml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.cybozu.labs</groupId>
6+
<artifactId>langdetect-core</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>Nakatani Shuyo's Language Detection Core Library</name>
11+
<url>http://maven.apache.org</url>
12+
13+
<properties>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
<log4j.configuration>log4j.properties</log4j.configuration>
16+
</properties>
17+
18+
<parent>
19+
<groupId>com.cybozu.labs</groupId>
20+
<artifactId>superpom</artifactId>
21+
<version>1.0-SNAPSHOT</version>
22+
<relativePath></relativePath>
23+
</parent>
24+
25+
<dependencies>
26+
27+
<dependency>
28+
<groupId>org.testng</groupId>
29+
<artifactId>testng</artifactId>
30+
<scope>test</scope>
31+
</dependency>
32+
33+
<dependency>
34+
<groupId>commons-logging</groupId>
35+
<artifactId>commons-logging</artifactId>
36+
</dependency>
37+
38+
<dependency>
39+
<groupId>log4j</groupId>
40+
<artifactId>log4j</artifactId>
41+
</dependency>
42+
43+
</dependencies>
44+
45+
</project>

src/com/cybozu/labs/langdetect/GenProfile.java renamed to langdetect-core/src/main/java/com/cybozu/labs/langdetect/GenProfile.java

File renamed without changes.

src/com/cybozu/labs/langdetect/LangDetectException.java renamed to langdetect-core/src/main/java/com/cybozu/labs/langdetect/LangDetectException.java

File renamed without changes.

src/com/cybozu/labs/langdetect/Language.java renamed to langdetect-core/src/main/java/com/cybozu/labs/langdetect/Language.java

File renamed without changes.

src/com/cybozu/labs/langdetect/package.html renamed to langdetect-core/src/main/java/com/cybozu/labs/langdetect/package.html

File renamed without changes.

0 commit comments

Comments
 (0)