|
113 | 113 |
|
114 | 114 | <plugin> |
115 | 115 | <groupId>org.apache.maven.plugins</groupId> |
116 | | - <artifactId>maven-assembly-plugin</artifactId> |
| 116 | + <artifactId>maven-source-plugin</artifactId> |
117 | 117 | <version>3.3.0</version> |
118 | | - <configuration> |
119 | | - <descriptorRefs> |
120 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
121 | | - </descriptorRefs> |
122 | | - <archive> |
123 | | - <manifest> |
124 | | - <mainClass>wtx.woocommerce.WooCommerceApiClientUsageDemo</mainClass> |
125 | | - </manifest> |
126 | | - </archive> |
127 | | - <appendAssemblyId>false</appendAssemblyId> |
128 | | - </configuration> |
129 | 118 | <executions> |
130 | 119 | <execution> |
131 | | - <id>assemble-jar-with-dependencies</id> |
132 | | - <phase>package</phase> |
| 120 | + <id>attach-sources</id> |
133 | 121 | <goals> |
134 | | - <goal>single</goal> |
| 122 | + <goal>jar-no-fork</goal> |
135 | 123 | </goals> |
136 | 124 | </execution> |
137 | 125 | </executions> |
138 | 126 | </plugin> |
139 | 127 |
|
140 | 128 | <plugin> |
141 | 129 | <groupId>org.apache.maven.plugins</groupId> |
142 | | - <artifactId>maven-source-plugin</artifactId> |
143 | | - <version>3.3.0</version> |
| 130 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 131 | + <version>3.6.3</version> |
144 | 132 | <executions> |
145 | 133 | <execution> |
146 | | - <id>attach-sources</id> |
| 134 | + <id>attach-javadocs</id> |
147 | 135 | <goals> |
148 | | - <goal>jar-no-fork</goal> |
| 136 | + <goal>jar</goal> |
149 | 137 | </goals> |
150 | 138 | </execution> |
151 | 139 | </executions> |
152 | 140 | </plugin> |
153 | 141 |
|
154 | 142 | <plugin> |
155 | 143 | <groupId>org.apache.maven.plugins</groupId> |
156 | | - <artifactId>maven-deploy-plugin</artifactId> |
157 | | - <version>3.1.1</version> |
158 | | - </plugin> |
159 | | - |
160 | | - <plugin> |
161 | | - <groupId>org.apache.maven.plugins</groupId> |
162 | | - <artifactId>maven-javadoc-plugin</artifactId> |
163 | | - <version>3.6.3</version> |
| 144 | + <artifactId>maven-assembly-plugin</artifactId> |
| 145 | + <version>3.3.0</version> |
| 146 | + <configuration> |
| 147 | + <descriptorRefs> |
| 148 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 149 | + </descriptorRefs> |
| 150 | + <appendAssemblyId>false</appendAssemblyId> |
| 151 | + </configuration> |
164 | 152 | <executions> |
165 | 153 | <execution> |
166 | | - <id>attach-javadocs</id> |
| 154 | + <id>assemble-jar-with-dependencies</id> |
| 155 | + <phase>package</phase> |
167 | 156 | <goals> |
168 | | - <goal>jar</goal> |
| 157 | + <goal>single</goal> |
169 | 158 | </goals> |
170 | 159 | </execution> |
171 | 160 | </executions> |
|
208 | 197 | </developer> |
209 | 198 | </developers> |
210 | 199 |
|
211 | | - <distributionManagement> |
212 | | - <repository> |
213 | | - <id>github</id> |
214 | | - <name>GitHub Packages</name> |
215 | | - <url>https://maven.pkg.github.com/wtx-labs/woocommerce-api-client-java</url> |
216 | | - </repository> |
217 | | - </distributionManagement> |
218 | | - |
219 | 200 | </project> |
0 commit comments