Şöyle yaparız
<plugin><groupId>org.codehaus.mojo</groupId><artifactId>wagon-maven-plugin</artifactId><version>2.0.2</version><executions><execution><id>download-file-1</id><phase>process-resources</phase><goals><goal>download-single</goal></goals><configuration><url>https:/.../couchbase-kafka-connect-couchbase-4.1.11.zip</url><toDir>${project.build.directory}/classes</toDir></configuration></execution></executions></plugin>
Çalıştırmak için şöyle yaparız
mvn process-resources
Hiç yorum yok:
Yorum Gönder