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