| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <relativePath>../pom.xml</relativePath>
- <groupId>be.uantwerpen.ansymo.semanticadaptation</groupId>
- <artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
- <packaging>eclipse-repository</packaging>
- <groupId>be.uantwerpen.ansymo.semanticadaptation.ide</groupId>
- <artifactId>be.uantwerpen.ansymo.semanticadaptation.product</artifactId>
- <name>SA IDE Standalone Product</name>
- <build>
- <resources>
- <resource>
- <targetPath>${basedir}</targetPath>
- <directory>${basedir}/src/main/resources/p2</directory>
- <filtering>true</filtering>
- </resource>
- <resource>
- <targetPath>${basedir}</targetPath>
- <directory>${basedir}/src/main/resources/product</directory>
- <filtering>false</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>p2-inf</id>
- <goals>
- <goal>resources</goal>
- </goals>
- <phase>generate-resources</phase>
- </execution>
- </executions>
- <configuration>
- <overwrite>true</overwrite>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-p2-director-plugin</artifactId>
- <executions>
- <execution>
- <id>materialize-products</id>
- <goals>
- <goal>materialize-products</goal>
- </goals>
- </execution>
- <execution>
- <id>archive-products</id>
- <goals>
- <goal>archive-products</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <products>
- <product>
- <id>be.uantwerpen.ansymo.semanticadaptation.platform.product</id>
- <archiveFileName>SemanticAdaptation-${project.version}</archiveFileName>
- <rootFolder>SemanticAdaptation</rootFolder>
- <rootFolders>
- <macosx>SemanticAdaptation.app</macosx>
- </rootFolders>
- </product>
- <product>
- <id>be.uantwerpen.ansymo.semanticadaptation.platform.product.cli</id>
- <archiveFileName>SemanticAdaptationCli-${project.version}</archiveFileName>
- <rootFolder>SemanticAdaptationCli</rootFolder>
- <rootFolders>
- <macosx>SemanticAdaptationCli.app</macosx>
- </rootFolders>
- <attachId>cli</attachId>
- </product>
- </products>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>process-resources</phase>
- <configuration>
- <tasks>
- <replace dir="${basedir}/">
- <include name="*.product" />
- <replacefilter token="VERSION" value="${project.version}" />
- </replace>
- <replace dir="${basedir}/">
- <include name="*.product" />
- <replacefilter token="-SNAPSHOT" value=".qualifier" />
- </replace>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <!--This plugin's configuration is used to store Eclipse m2e settings
- only. It has no influence on the Maven build itself. -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>
- org.apache.maven.plugins
- </groupId>
- <artifactId>
- maven-antrun-plugin
- </artifactId>
- <versionRange>[1.3,)</versionRange>
- <goals>
- <goal>run</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore></ignore>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <profiles>
- <profile>
- <id>release</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>process-resources</phase>
- <configuration>
- <tasks>
- <replace dir="${basedir}/">
- <include name="*.product" />
- <replacefilter
- token="DELETE.FOR.RELEASE.osgi.instance.area.default" value="osgi.instance.area.default" />
- <replacefilter token="VERSION" value="${project.version}" />
- <replacefilter token="-SNAPSHOT" value=".qualifier" />
- </replace>
- <replace dir="${basedir}/">
- <include name="overture.p2.inf" />
- <replacefilter token="name:Overture,enabled:false"
- value="name:Overture,enabled:true" />
- <replacefilter token="name:Overture Development,enabled:true"
- value="name:Overture Development,enabled:false" />
- </replace>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|