|
59 | 59 | <target>1.7</target>
|
60 | 60 | </configuration>
|
61 | 61 | </plugin>
|
62 |
| - <plugin> |
63 |
| - <groupId>org.apache.maven.plugins</groupId> |
64 |
| - <artifactId>maven-source-plugin</artifactId> |
65 |
| - <version>2.2.1</version> |
66 |
| - <executions> |
67 |
| - <execution> |
68 |
| - <id>attach-sources</id> |
69 |
| - <goals> |
70 |
| - <goal>jar-no-fork</goal> |
71 |
| - </goals> |
72 |
| - </execution> |
73 |
| - </executions> |
74 |
| - </plugin> |
75 |
| - <plugin> |
76 |
| - <groupId>org.apache.maven.plugins</groupId> |
77 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
78 |
| - <version>2.9.1</version> |
79 |
| - <executions> |
80 |
| - <execution> |
81 |
| - <id>attach-javadocs</id> |
82 |
| - <goals> |
83 |
| - <goal>jar</goal> |
84 |
| - </goals> |
85 |
| - </execution> |
86 |
| - </executions> |
87 |
| - </plugin> |
| 62 | + </plugins> |
| 63 | + </build> |
| 64 | + <profiles> |
| 65 | + <profile> |
| 66 | + <id>release</id> |
| 67 | + <build> |
| 68 | + <plugins> |
| 69 | + <plugin> |
| 70 | + <groupId>org.apache.maven.plugins</groupId> |
| 71 | + <artifactId>maven-source-plugin</artifactId> |
| 72 | + <version>2.2.1</version> |
| 73 | + <executions> |
| 74 | + <execution> |
| 75 | + <id>attach-sources</id> |
| 76 | + <goals> |
| 77 | + <goal>jar-no-fork</goal> |
| 78 | + </goals> |
| 79 | + </execution> |
| 80 | + </executions> |
| 81 | + </plugin> |
| 82 | + <plugin> |
| 83 | + <groupId>org.apache.maven.plugins</groupId> |
| 84 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 85 | + <version>2.9.1</version> |
| 86 | + <executions> |
| 87 | + <execution> |
| 88 | + <id>attach-javadocs</id> |
| 89 | + <goals> |
| 90 | + <goal>jar</goal> |
| 91 | + </goals> |
| 92 | + </execution> |
| 93 | + </executions> |
| 94 | + </plugin> |
88 | 95 |
|
89 |
| - <plugin> |
90 |
| - <groupId>org.apache.maven.plugins</groupId> |
91 |
| - <artifactId>maven-gpg-plugin</artifactId> |
92 |
| - <version>1.6</version> |
93 |
| - <executions> |
94 |
| - <execution> |
95 |
| - <id>sign-artifacts</id> |
96 |
| - <phase>verify</phase> |
97 |
| - <goals> |
98 |
| - <goal>sign</goal> |
99 |
| - </goals> |
100 |
| - </execution> |
101 |
| - </executions> |
102 |
| - </plugin> |
| 96 | + <plugin> |
| 97 | + <groupId>org.apache.maven.plugins</groupId> |
| 98 | + <artifactId>maven-gpg-plugin</artifactId> |
| 99 | + <version>1.6</version> |
| 100 | + <executions> |
| 101 | + <execution> |
| 102 | + <id>sign-artifacts</id> |
| 103 | + <phase>verify</phase> |
| 104 | + <goals> |
| 105 | + <goal>sign</goal> |
| 106 | + </goals> |
| 107 | + </execution> |
| 108 | + </executions> |
| 109 | + </plugin> |
103 | 110 |
|
104 |
| - <plugin> |
105 |
| - <groupId>org.sonatype.plugins</groupId> |
106 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
107 |
| - <version>1.6.7</version> |
108 |
| - <extensions>true</extensions> |
109 |
| - <configuration> |
110 |
| - <serverId>ossrh</serverId> |
111 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
112 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
113 |
| - </configuration> |
114 |
| - </plugin> |
| 111 | + <plugin> |
| 112 | + <groupId>org.sonatype.plugins</groupId> |
| 113 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 114 | + <version>1.6.7</version> |
| 115 | + <extensions>true</extensions> |
| 116 | + <configuration> |
| 117 | + <serverId>ossrh</serverId> |
| 118 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 119 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 120 | + </configuration> |
| 121 | + </plugin> |
115 | 122 |
|
116 |
| - </plugins> |
117 |
| - </build> |
| 123 | + </plugins> |
| 124 | + </build> |
| 125 | + </profile> |
| 126 | + </profiles> |
118 | 127 |
|
119 | 128 | </project>
|
0 commit comments