Maven Projesini Nexus Uzak Sunucusunda (Remote Repository) Yayınlamak (Deploy)

05-03-2014
Bu işlemin yapılması için gereken plugin ve ayarlamaları şu şekildedir:

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-dependency-plugin</artifactId>
	<version>2.3</version>
	<executions>
		<execution>
			<phase>deploy</phase>
			<goals>
				<goal>copy-dependencies</goal>
			</goals>
			<configuration>
				<outputDirectory>http://10.70.88.182:8081/nexus/content/repositories/thirdparty/</outputDirectory>
				<useRepositoryLayout>true</useRepositoryLayout>
			</configuration>
		</execution>
	</executions>
</plugin>

© 2019 All rights reserved. Codesenior.COM