forked from shannah/cn1-maven-archetypes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
115 lines (109 loc) · 4.16 KB
/
pom.xml
File metadata and controls
115 lines (109 loc) · 4.16 KB
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>
<groupId>com.codenameone</groupId>
<artifactId>maven-archetypes</artifactId>
<version>8.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Codename One Maven Archetypes</name>
<description>Maven archetypes for Codename One</description>
<url>https://github.com/shannah/cn1-maven-archetypes</url>
<licenses>
<license>
<name>GPL v2 With Classpath Exception</name>
<url>https://openjdk.java.net/legal/gplv2+ce.html</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<id>shannah</id>
<name>Steve Hannah</name>
<email>steve.hannah@codenameone.com</email>
<timezone>-8</timezone>
</developer>
</developers>
<scm>
<url>https://github.com/shannah/cn1-maven-archetypes</url>
<connection>scm:git:git@github.com:shannah/cn1-maven-archetypes.git</connection>
</scm>
<modules>
<module>cn1app-archetype</module>
<module>cn1lib-archetype</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>generate-archetypes</id>
<modules>
<module>archetype-generator</module>
</modules>
</profile>
<profile>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<id>build-generated-archetypes</id>
<modules>
<module>generated-archetypes</module>
</modules>
</profile>
<profile>
<id>sign-artifacts</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
</execution>
</executions>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>