fix crash when closing terminal window
[fanfix.git] / pom.xml
1 <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/maven-v4_0_0.xsd">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>com.gitlab.klamonte</groupId>
4 <artifactId>jexer</artifactId>
5 <packaging>jar</packaging>
6 <name>Jexer</name>
7 <description>Java Text User Interface library that resembles Turbo Vision</description>
8 <version>1.0.0-SNAPSHOT</version>
9 <url>https://gitlab.com/klamonte/jexer</url>
10
11 <licenses>
12 <license>
13 <name>MIT License</name>
14 <url>http://www.opensource.org/licenses/mit-license.php</url>
15 <distribution>repo</distribution>
16 </license>
17 </licenses>
18
19 <properties>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
22 </properties>
23
24 <scm>
25 <connection>scm:git:https://gitlab.com/klamonte/jexer.git</connection>
26 <developerConnection>scm:git:https://gitlab.com/klamonte/jexer.git</developerConnection>
27 <url>https://gitlab.com/klamonte/jexer</url>
28 <tag>HEAD</tag>
29 </scm>
30
31 <issueManagement>
32 <system>gitlab</system>
33 <url>https://gitlab.com/klamonte/jexer/issues</url>
34 </issueManagement>
35
36 <distributionManagement>
37 <snapshotRepository>
38 <id>ossrh</id>
39 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
40 </snapshotRepository>
41 <repository>
42 <id>ossrh</id>
43 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
44 </repository>
45 </distributionManagement>
46
47 <build>
48 <sourceDirectory>${project.basedir}/src</sourceDirectory>
49 <resources>
50 <resource>
51 <directory>${project.basedir}/resources</directory>
52 <filtering>false</filtering>
53 <includes>
54 <include>**/*</include>
55 </includes>
56 </resource>
57 <resource>
58 <directory>src</directory>
59 <excludes>
60 <exclude>**/*.java</exclude>
61 </excludes>
62 </resource>
63 </resources>
64
65 <plugins>
66
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-compiler-plugin</artifactId>
70 <version>3.1</version>
71 <configuration>
72 <source>1.6</source>
73 <target>1.6</target>
74 </configuration>
75 </plugin>
76
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-jar-plugin</artifactId>
80 <version>3.0.2</version>
81 <configuration>
82 <archive>
83 <manifest>
84 <mainClass>
85 jexer.demos.Demo1
86 </mainClass>
87
88 </manifest>
89 <manifestEntries>
90 <Implementation-Version>${project.version}</Implementation-Version>
91 </manifestEntries>
92 </archive>
93 </configuration>
94 </plugin>
95
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-source-plugin</artifactId>
99 <version>2.2.1</version>
100 <executions>
101 <execution>
102 <id>attach-sources</id>
103 <phase>verify</phase>
104 <goals>
105 <goal>jar-no-fork</goal>
106 </goals>
107 </execution>
108 </executions>
109 </plugin>
110
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-javadoc-plugin</artifactId>
114 <version>2.9.1</version>
115 <executions>
116 <execution>
117 <id>attach-javadocs</id>
118 <goals>
119 <goal>jar</goal>
120 </goals>
121 </execution>
122 </executions>
123 </plugin>
124
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-release-plugin</artifactId>
128 <version>2.5.3</version>
129 <configuration>
130 <localCheckout>true</localCheckout>
131 <pushChanges>false</pushChanges>
132 <mavenExecutorId>forked-path</mavenExecutorId>
133 <!-- <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> -->
134 </configuration>
135
136 <!--
137 <dependencies>
138 <dependency>
139 <groupId>org.apache.maven.scm</groupId>
140 <artifactId>maven-scm-provider-gitexe</artifactId>
141 <version>1.9.5</version>
142 </dependency>
143 </dependencies>
144 -->
145 </plugin>
146
147 <plugin>
148 <groupId>org.sonatype.plugins</groupId>
149 <artifactId>nexus-staging-maven-plugin</artifactId>
150 <version>1.6.7</version>
151 <extensions>true</extensions>
152 <configuration>
153 <serverId>ossrh</serverId>
154 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
155 <autoReleaseAfterClose>true</autoReleaseAfterClose>
156 </configuration>
157 </plugin>
158 </plugins>
159 </build>
160
161 <profiles>
162 <profile>
163 <id>release-sign-artifacts</id>
164 <activation>
165 <property>
166 <name>performRelease</name>
167 <value>true</value>
168 </property>
169 </activation>
170
171 <build>
172 <plugins>
173
174 <!--
175 <plugin>
176 <artifactId>maven-deploy-plugin</artifactId>
177 <version>2.8.2</version>
178 <executions>
179 <execution>
180 <id>default-deploy</id>
181 <phase>deploy</phase>
182 <goals>
183 <goal>deploy</goal>
184 </goals>
185 </execution>
186 </executions>
187 </plugin>
188 -->
189
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-gpg-plugin</artifactId>
193 <version>1.5</version>
194 <executions>
195 <execution>
196 <id>sign-artifacts</id>
197 <phase>verify</phase>
198 <goals>
199 <goal>sign</goal>
200 </goals>
201 </execution>
202 </executions>
203 </plugin>
204 </plugins>
205 </build>
206 </profile>
207 </profiles>
208
209 <developers>
210 <developer>
211 <id>klamonte</id>
212 <name>Kevin Lamonte</name>
213 <email>kevin.lamonte@gmail.com</email>
214 </developer>
215 </developers>
216 </project>