Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Deprecation of -DtargetPlatform

> You will then need to add a repository like this:
> 
> 		<repository>
> 			<id>rtc-client</id>
> 			<layout>p2</layout>
> 			<url>file:///c:/repositories/rtc2</url>
> 		</repository>
> 
> And configure tycho to use it:
> 
> 	<build>
> 		<plugins>
> 			<plugin>
> 				<groupId>org.sonatype.tycho</groupId>
> 				<artifactId>target-platform-
> configuration</artifactId>
> 				<version>0.11.0</version>
> 				<configuration>
> 					<resolver>p2</resolver>
> 				</configuration>
> 			</plugin>

p2 is the default resolver since 0.11.0. Therefore you can even omit the target-platform-configuration plugin configuration.

Regards
Tobias



Back to the top