|
60 | 60 | </dependency> |
61 | 61 | </dependencies> |
62 | 62 |
|
63 | | - <build> |
64 | | - <plugins> |
65 | | - <plugin> |
66 | | - <groupId>org.sonatype.central</groupId> |
67 | | - <artifactId>central-publishing-maven-plugin</artifactId> |
68 | | - <version>0.4.0</version> |
69 | | - <extensions>true</extensions> |
70 | | - <configuration> |
71 | | - <publishingServerId>central</publishingServerId> |
72 | | - <tokenAuth>true</tokenAuth> |
73 | | - </configuration> |
74 | | - </plugin> |
75 | | - <plugin> |
76 | | - <groupId>org.apache.maven.plugins</groupId> |
77 | | - <artifactId>maven-javadoc-plugin</artifactId> |
78 | | - <version>3.3.0</version> |
79 | | - <executions> |
80 | | - <execution> |
81 | | - <id>attach-javadocs</id> |
82 | | - <goals> |
83 | | - <goal>jar</goal> |
84 | | - </goals> |
85 | | - </execution> |
86 | | - </executions> |
87 | | - </plugin> |
88 | | - <plugin> |
89 | | - <groupId>org.apache.maven.plugins</groupId> |
90 | | - <artifactId>maven-source-plugin</artifactId> |
91 | | - <version>3.2.1</version> |
92 | | - <executions> |
93 | | - <execution> |
94 | | - <id>attach-sources</id> |
95 | | - <goals> |
96 | | - <goal>jar</goal> |
97 | | - </goals> |
98 | | - </execution> |
99 | | - </executions> |
100 | | - </plugin> |
101 | | - <plugin> |
102 | | - <groupId>org.apache.maven.plugins</groupId> |
103 | | - <artifactId>maven-gpg-plugin</artifactId> |
104 | | - <version>1.6</version> |
105 | | - <executions> |
106 | | - <execution> |
107 | | - <id>sign-artifacts</id> |
108 | | - <phase>deploy</phase> |
109 | | - <goals> |
110 | | - <goal>sign</goal> |
111 | | - </goals> |
112 | | - </execution> |
113 | | - </executions> |
114 | | - </plugin> |
115 | | - </plugins> |
116 | | - </build> |
| 63 | + <profiles> |
| 64 | + <profile> |
| 65 | + <id>deployment</id> |
| 66 | + <build> |
| 67 | + <plugins> |
| 68 | + <plugin> |
| 69 | + <groupId>org.sonatype.central</groupId> |
| 70 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 71 | + <version>0.4.0</version> |
| 72 | + <extensions>true</extensions> |
| 73 | + <configuration> |
| 74 | + <publishingServerId>central</publishingServerId> |
| 75 | + <tokenAuth>true</tokenAuth> |
| 76 | + </configuration> |
| 77 | + </plugin> |
| 78 | + <plugin> |
| 79 | + <groupId>org.apache.maven.plugins</groupId> |
| 80 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 81 | + <version>3.3.0</version> |
| 82 | + <executions> |
| 83 | + <execution> |
| 84 | + <id>attach-javadocs</id> |
| 85 | + <goals> |
| 86 | + <goal>jar</goal> |
| 87 | + </goals> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + </plugin> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-source-plugin</artifactId> |
| 94 | + <version>3.2.1</version> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <id>attach-sources</id> |
| 98 | + <goals> |
| 99 | + <goal>jar</goal> |
| 100 | + </goals> |
| 101 | + </execution> |
| 102 | + </executions> |
| 103 | + </plugin> |
| 104 | + <plugin> |
| 105 | + <groupId>org.apache.maven.plugins</groupId> |
| 106 | + <artifactId>maven-gpg-plugin</artifactId> |
| 107 | + <version>1.6</version> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <id>sign-artifacts</id> |
| 111 | + <phase>verify</phase> |
| 112 | + <goals> |
| 113 | + <goal>sign</goal> |
| 114 | + </goals> |
| 115 | + </execution> |
| 116 | + </executions> |
| 117 | + </plugin> |
| 118 | + </plugins> |
| 119 | + </build> |
| 120 | + |
| 121 | + </profile> |
| 122 | + </profiles> |
117 | 123 | </project> |
0 commit comments