26
26
<
developerConnection >scm:git:
[email protected] :sendgrid/java-http-client.git</
developerConnection >
27
27
<tag >4.3.0</tag >
28
28
</scm >
29
+ <profiles >
30
+ <profile >
31
+ <id >gpg</id >
32
+ <activation >
33
+ <activeByDefault >false</activeByDefault >
34
+ </activation >
35
+ <build >
36
+ <plugins >
37
+ <plugin >
38
+ <groupId >org.apache.maven.plugins</groupId >
39
+ <artifactId >maven-gpg-plugin</artifactId >
40
+ <version >1.6</version >
41
+ <executions >
42
+ <execution >
43
+ <id >sign-artifacts</id >
44
+ <phase >verify</phase >
45
+ <goals >
46
+ <goal >sign</goal >
47
+ </goals >
48
+ </execution >
49
+ </executions >
50
+ <configuration >
51
+ <keyname >${gpg.keyname} </keyname >
52
+ <passphrase >${gpg.passphrase} </passphrase >
53
+ <gpgArguments >
54
+ <arg >--pinentry-mode</arg >
55
+ <arg >loopback</arg >
56
+ </gpgArguments >
57
+ </configuration >
58
+ </plugin >
59
+ </plugins >
60
+ </build >
61
+ </profile >
62
+ <profile >
63
+ <id >release</id >
64
+ <activation >
65
+ <property >
66
+ <name >release</name >
67
+ </property >
68
+ </activation >
69
+ <build >
70
+ <plugins >
71
+ <plugin >
72
+ <groupId >org.sonatype.plugins</groupId >
73
+ <artifactId >nexus-staging-maven-plugin</artifactId >
74
+ <version >1.6.8</version >
75
+ <extensions >true</extensions >
76
+ <configuration >
77
+ <serverId >ossrh</serverId >
78
+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
79
+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
80
+ </configuration >
81
+ </plugin >
82
+ <plugin >
83
+ <groupId >org.apache.maven.plugins</groupId >
84
+ <artifactId >maven-source-plugin</artifactId >
85
+ <version >3.0.1</version >
86
+ <executions >
87
+ <execution >
88
+ <id >attach-sources</id >
89
+ <goals >
90
+ <goal >jar-no-fork</goal >
91
+ </goals >
92
+ </execution >
93
+ </executions >
94
+ </plugin >
95
+ <plugin >
96
+ <groupId >org.apache.maven.plugins</groupId >
97
+ <artifactId >maven-javadoc-plugin</artifactId >
98
+ <version >2.10.4</version >
99
+ <executions >
100
+ <execution >
101
+ <id >attach-javadocs</id >
102
+ <goals >
103
+ <goal >jar</goal >
104
+ </goals >
105
+ </execution >
106
+ </executions >
107
+ </plugin >
108
+ <plugin >
109
+ <groupId >org.apache.maven.plugins</groupId >
110
+ <artifactId >maven-gpg-plugin</artifactId >
111
+ <version >1.6</version >
112
+ <executions >
113
+ <execution >
114
+ <id >sign-artifacts</id >
115
+ <phase >verify</phase >
116
+ <goals >
117
+ <goal >sign</goal >
118
+ </goals >
119
+ </execution >
120
+ </executions >
121
+ </plugin >
122
+ </plugins >
123
+ </build >
124
+ </profile >
125
+ </profiles >
29
126
<properties >
30
127
<maven .compiler.source>1.8</maven .compiler.source>
31
128
<maven .compiler.target>1.8</maven .compiler.target>
143
240
</plugin >
144
241
</plugins >
145
242
</build >
146
- </project >
243
+ </project >
0 commit comments