File tree Expand file tree Collapse file tree 1 file changed +70
-0
lines changed
Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change 334334 </plugins >
335335 </build >
336336 </profile >
337+
338+ <!-- Profile for release. Includes building of source and javadoc jars. -->
339+ <profile >
340+ <id >release</id >
341+ <build >
342+ <plugins >
343+ <!-- GPG signature -->
344+ <plugin >
345+ <groupId >org.apache.maven.plugins</groupId >
346+ <artifactId >maven-gpg-plugin</artifactId >
347+ <version >1.5</version >
348+ <configuration >
349+ <passphrase >${gpg.passphrase} </passphrase >
350+ <useAgent >${gpg.useagent} </useAgent >
351+ </configuration >
352+ <executions >
353+ <execution >
354+ <goals >
355+ <goal >sign</goal >
356+ </goals >
357+ </execution >
358+ </executions >
359+ </plugin >
360+ <!-- Source JAR -->
361+ <plugin >
362+ <groupId >org.apache.maven.plugins</groupId >
363+ <artifactId >maven-source-plugin</artifactId >
364+ <version >2.2.1</version >
365+ <configuration >
366+ <excludeResources >true</excludeResources >
367+ </configuration >
368+ <executions >
369+ <execution >
370+ <id >attach-sources</id >
371+ <phase >package</phase >
372+ <goals >
373+ <goal >jar-no-fork</goal >
374+ </goals >
375+ </execution >
376+ </executions >
377+ </plugin >
378+ <!-- Javadoc jar -->
379+ <plugin >
380+ <groupId >org.apache.maven.plugins</groupId >
381+ <artifactId >maven-javadoc-plugin</artifactId >
382+ <version >2.9.1</version >
383+ <configuration >
384+ <additionalparam >-Xdoclint:none</additionalparam >
385+ <failOnError >false</failOnError >
386+ <links >
387+ <link >http://download.oracle.com/javase/${jee.version} /docs/api/</link >
388+ </links >
389+ <doctitle >${project.name} ${project.version} </doctitle >
390+ <bottom >
391+ <![CDATA[ Copyright © {currentYear} <a href="http://cdap.io" target="_blank">CDAP</a> Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License, Version 2.0</a>.]]>
392+ </bottom >
393+ </configuration >
394+ <executions >
395+ <execution >
396+ <id >attach-javadoc</id >
397+ <phase >package</phase >
398+ <goals >
399+ <goal >jar</goal >
400+ </goals >
401+ </execution >
402+ </executions >
403+ </plugin >
404+ </plugins >
405+ </build >
406+ </profile >
337407 </profiles >
338408
339409</project >
You can’t perform that action at this time.
0 commit comments