forked from languagetool-org/languagetool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
136 lines (130 loc) · 4.96 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="UTF-8"?>
<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.languagetool</groupId>
<artifactId>languagetool-parent</artifactId>
<version>${revision}</version>
</parent>
<artifactId>languagetool-dev</artifactId>
<packaging>jar</packaging>
<name>LanguageTool development tools</name>
<description>Developer tools for working with and evaluating LanguageTool</description>
<url>https://www.languagetool.org</url>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Daniel Naber</name>
<roles>
<role>Maintainer</role>
</roles>
</developer>
<developer>
<name>Marcin Miłkowski</name>
<roles>
<role>Maintainer</role>
</roles>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-all</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>languagetool-commandline</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${org.apache.commons.lang3.version}</version>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>languagetool-wikipedia</artifactId>
<version>${revision}</version>
</dependency>
<!-- premium -->
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>${org.mariadb.jdbc.version}</version>
</dependency>
<!-- /premium -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>${org.apache.commons.commons-csv.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- see https://github.com/commoncrawl/language-detection-cld2 -->
<!--
<dependency>
<groupId>org.commoncrawl</groupId>
<artifactId>language-detection-cld2</artifactId>
<version>0.1-SNAPSHOT</version>
<scope>test</scope>
</dependency>
-->
</dependencies>
<build>
<plugins>
<plugin>
<!-- call with: mvn clean compile assembly:single -->
<!-- may need to call `mvn install` in parent folder for this to work -->
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/zip.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
</plugins>
</build>
<profiles>
<!--https://stackoverflow.com/questions/17006405/exclude-jar-with-dependencies-from-deploying-to-nexus-->
<!--mvn clean package -P shade -pl languagetool-tools -->
<profile>
<id>shade</id>
<build>
<plugins>
<plugin>
<!-- build one big JAR named languagetool-dev-x.y-SNAPSHOT-shaded.jar -->
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin}</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>