Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Profiles and targets

Hi,

I have this setup where I can specify the target platform environment with a profile [1]. When I build with 

mvn verify -Pwin32,win64,kepler

Then there is only one product created against kepler and not two as I expected.

Is this the way it works or am I right to expect two products?

Regards,

Wim


<profiles>
<profile>
<id>win32</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>win64</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>kepler</id>
<repositories>
<repository>
<id>platform_kepler</id>
<layout>p2</layout>
</repository>

<repository>
<id>release-train_kepler</id>
<layout>p2</layout>
</repository>
</repositories>
</profile>

<profile>
<id>luna</id>
<repositories>
<repository>
<id>platform_luna</id>
<layout>p2</layout>
</repository>

<repository>
<id>release-train_luna</id>
<layout>p2</layout>
</repository>
</repositories>
</profile>

Back to the top