|
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 | <groupId>com.javaquery</groupId> |
5 | 5 | <artifactId>util</artifactId> |
6 | | - <packaging>pom</packaging> |
| 6 | + <packaging>jar</packaging> |
7 | 7 | <version>1.0-SNAPSHOT</version> |
8 | 8 | <name>Java Util Library</name> |
9 | 9 | <description>Java util class to reduce boilerplate codes</description> |
|
19 | 19 | <timezone>+5:30</timezone> |
20 | 20 | </developer> |
21 | 21 | </developers> |
22 | | - <parent> |
23 | | - <groupId>org.sonatype.oss</groupId> |
24 | | - <artifactId>oss-parent</artifactId> |
25 | | - <version>9</version> |
26 | | - </parent> |
27 | 22 | <licenses> |
28 | 23 | <license> |
29 | 24 | <name>MIT</name> |
|
76 | 71 | </compilerArgs> |
77 | 72 | </configuration> |
78 | 73 | </plugin> |
79 | | - <plugin> |
80 | | - <groupId>org.apache.maven.plugins</groupId> |
81 | | - <artifactId>maven-surefire-plugin</artifactId> |
82 | | - <version>2.22.2</version> |
83 | | - </plugin> |
84 | | - <plugin> |
85 | | - <groupId>org.apache.maven.plugins</groupId> |
86 | | - <artifactId>maven-resources-plugin</artifactId> |
87 | | - <version>3.2.0</version> |
88 | | - <configuration> |
89 | | - <encoding>UTF-8</encoding> |
90 | | - </configuration> |
91 | | - </plugin> |
92 | | - <plugin> |
93 | | - <groupId>org.apache.maven.plugins</groupId> |
94 | | - <artifactId>maven-source-plugin</artifactId> |
95 | | - <version>3.2.1</version> |
96 | | - <executions> |
97 | | - <execution> |
98 | | - <id>attach-sources</id> |
99 | | - <goals> |
100 | | - <goal>jar</goal> |
101 | | - </goals> |
102 | | - </execution> |
103 | | - </executions> |
104 | | - </plugin> |
105 | | - <plugin> |
106 | | - <groupId>org.apache.maven.plugins</groupId> |
107 | | - <artifactId>maven-javadoc-plugin</artifactId> |
108 | | - <version>3.2.0</version> |
109 | | - <configuration> |
110 | | - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
111 | | - <encoding>UTF-8</encoding> |
112 | | - <additionalOptions>-html5</additionalOptions> |
113 | | - <doclint>all,-missing</doclint> |
114 | | - </configuration> |
115 | | - <executions> |
116 | | - <execution> |
117 | | - <id>attach-javadoc</id> |
118 | | - <goals> |
119 | | - <goal>jar</goal> |
120 | | - </goals> |
121 | | - </execution> |
122 | | - </executions> |
123 | | - </plugin> |
124 | | - <plugin> |
125 | | - <artifactId>maven-deploy-plugin</artifactId> |
126 | | - <version>2.8.2</version> |
127 | | - <executions> |
128 | | - <execution> |
129 | | - <id>default-deploy</id> |
130 | | - <phase>deploy</phase> |
131 | | - <goals> |
132 | | - <goal>deploy</goal> |
133 | | - </goals> |
134 | | - </execution> |
135 | | - </executions> |
136 | | - </plugin> |
137 | | - <plugin> |
138 | | - <groupId>org.apache.maven.plugins</groupId> |
139 | | - <artifactId>maven-release-plugin</artifactId> |
140 | | - <version>2.5.3</version> |
141 | | - <configuration> |
142 | | - <localCheckout>true</localCheckout> |
143 | | - <pushChanges>false</pushChanges> |
144 | | - <mavenExecutorId>forked-path</mavenExecutorId> |
145 | | - <arguments>-Dgpg.passphrase=h5#2jaguar</arguments> |
146 | | - </configuration> |
147 | | - <dependencies> |
148 | | - <dependency> |
149 | | - <groupId>org.apache.maven.scm</groupId> |
150 | | - <artifactId>maven-scm-provider-gitexe</artifactId> |
151 | | - <version>1.9.5</version> |
152 | | - </dependency> |
153 | | - </dependencies> |
154 | | - </plugin> |
| 74 | + <plugin> |
| 75 | + <groupId>org.sonatype.plugins</groupId> |
| 76 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 77 | + <version>1.6.7</version> |
| 78 | + <extensions>true</extensions> |
| 79 | + <configuration> |
| 80 | + <serverId>ossrh</serverId> |
| 81 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 82 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 83 | + </configuration> |
| 84 | + </plugin> |
155 | 85 | </plugins> |
156 | 86 | </build> |
157 | 87 | <profiles> |
158 | 88 | <profile> |
159 | 89 | <id>release-sign-artifacts</id> |
160 | | - <activation> |
161 | | - <property> |
162 | | - <name>performRelease</name> |
163 | | - <value>true</value> |
164 | | - </property> |
165 | | - </activation> |
166 | 90 | <build> |
167 | 91 | <plugins> |
168 | 92 | <plugin> |
169 | | - <groupId>org.apache.maven.plugins</groupId> |
170 | | - <artifactId>maven-gpg-plugin</artifactId> |
171 | | - <version>1.6</version> |
172 | | - <executions> |
173 | | - <execution> |
174 | | - <id>sign-artifacts</id> |
175 | | - <phase>verify</phase> |
176 | | - <goals> |
177 | | - <goal>sign</goal> |
178 | | - </goals> |
179 | | - </execution> |
180 | | - </executions> |
181 | | - </plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-source-plugin</artifactId> |
| 95 | + <version>2.2.1</version> |
| 96 | + <executions> |
| 97 | + <execution> |
| 98 | + <id>attach-sources</id> |
| 99 | + <goals> |
| 100 | + <goal>jar-no-fork</goal> |
| 101 | + </goals> |
| 102 | + </execution> |
| 103 | + </executions> |
| 104 | + </plugin> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 108 | + <version>2.9.1</version> |
| 109 | + <executions> |
| 110 | + <execution> |
| 111 | + <id>attach-javadocs</id> |
| 112 | + <goals> |
| 113 | + <goal>jar</goal> |
| 114 | + </goals> |
| 115 | + </execution> |
| 116 | + </executions> |
| 117 | + </plugin> |
| 118 | + <plugin> |
| 119 | + <groupId>org.apache.maven.plugins</groupId> |
| 120 | + <artifactId>maven-gpg-plugin</artifactId> |
| 121 | + <version>1.5</version> |
| 122 | + <executions> |
| 123 | + <execution> |
| 124 | + <id>sign-artifacts</id> |
| 125 | + <phase>verify</phase> |
| 126 | + <goals> |
| 127 | + <goal>sign</goal> |
| 128 | + </goals> |
| 129 | + </execution> |
| 130 | + </executions> |
| 131 | + </plugin> |
182 | 132 | </plugins> |
183 | 133 | </build> |
184 | 134 | </profile> |
|
0 commit comments