</repository>
</repositories>
</profile>
- <profile>
- <!-- making sure that the jre bundle can be built only on linux.
- this is due to the fact since Java has problem with setting permissions on
- files (this is specifically for the jre/bin files which need to be executable),
- Eclipse RCP (http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_rootfiles.htm)
- uses chmod to set these, but since chmod is (usually) available on unix like systems, this check has been added
- (to be on the safe side) to not allow the jre bundle to be built on other systems. -->
- <id>bundleJre</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <id>checkJREBundleOS</id>
- <phase>validate</phase>
- <configuration>
- <target>
- <echo>Checking if JRE bundle can be configured</echo>
- <fail
- message="Copy of JRE folder possible only on Unix (and Unix like systems)">
- <condition>
- <not>
- <os family="unix" />
- </not>
- </condition>
- </fail>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
<repositories>
<!-- the cdm internal repository -->