From d5527e29c015f858c107da1fdf114c9bdcb568f3 Mon Sep 17 00:00:00 2001 From: Alberto Debiasi <adebiasi@fbk.eu> Date: Mon, 4 May 2020 17:32:56 +0200 Subject: [PATCH] Prepare CHESS bundle via Maven (in progress). --- .../org.polarsys.chess.feature/.project | 17 ++ .../build.properties | 1 + .../org.polarsys.chess.feature/feature.xml | 90 +++++++++ .../org.polarsys.chess.feature/pom.xml | 12 ++ org.polarsys.chess.parent/features/pom.xml | 3 + .../org.polarsys.chess.product/.project | 17 ++ .../org.polarsys.chess.product/CHESS.product | 157 +++++++++++++++ .../releng/org.polarsys.chess.product/pom.xml | 117 +++++++++++ .../org.polarsys.chess.repository/.project | 23 +++ .../category.xml | 7 + .../org.polarsys.chess.repository/pom.xml | 181 ++++++++++++++++++ org.polarsys.chess.parent/releng/pom.xml | 13 +- 12 files changed, 637 insertions(+), 1 deletion(-) create mode 100644 org.polarsys.chess.parent/features/org.polarsys.chess.feature/.project create mode 100644 org.polarsys.chess.parent/features/org.polarsys.chess.feature/build.properties create mode 100644 org.polarsys.chess.parent/features/org.polarsys.chess.feature/feature.xml create mode 100644 org.polarsys.chess.parent/features/org.polarsys.chess.feature/pom.xml create mode 100644 org.polarsys.chess.parent/releng/org.polarsys.chess.product/.project create mode 100644 org.polarsys.chess.parent/releng/org.polarsys.chess.product/CHESS.product create mode 100644 org.polarsys.chess.parent/releng/org.polarsys.chess.product/pom.xml create mode 100644 org.polarsys.chess.parent/releng/org.polarsys.chess.repository/.project create mode 100644 org.polarsys.chess.parent/releng/org.polarsys.chess.repository/category.xml create mode 100644 org.polarsys.chess.parent/releng/org.polarsys.chess.repository/pom.xml diff --git a/org.polarsys.chess.parent/features/org.polarsys.chess.feature/.project b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/.project new file mode 100644 index 000000000..7728d7af0 --- /dev/null +++ b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.polarsys.chess.feature</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.pde.FeatureBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.FeatureNature</nature> + </natures> +</projectDescription> diff --git a/org.polarsys.chess.parent/features/org.polarsys.chess.feature/build.properties b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/build.properties new file mode 100644 index 000000000..64f93a9f0 --- /dev/null +++ b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml diff --git a/org.polarsys.chess.parent/features/org.polarsys.chess.feature/feature.xml b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/feature.xml new file mode 100644 index 000000000..fdaba9a36 --- /dev/null +++ b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/feature.xml @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feature + id="org.polarsys.chess.feature" + label="CHESS" + version="1.0.0.qualifier" + provider-name="Fondazione Bruno Kessler"> + + <description url="http://www.example.com/description"> + [Enter Feature Description here.] + </description> + + <copyright url="http://www.example.com/copyright"> + [Enter Copyright Description here.] + </copyright> + + <license url="http://www.example.com/license"> + [Enter License Description here.] + </license> + + <plugin + id="org.polarsys.chess.chessmlprofile" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.contracts.profile" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.core" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.diagram.ui" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.diagramsCreator" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.functionBehaviors.functionBehaviorEditor" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.service" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.validator" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.wizards" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.polarsys.chess.checkers" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + +</feature> diff --git a/org.polarsys.chess.parent/features/org.polarsys.chess.feature/pom.xml b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/pom.xml new file mode 100644 index 000000000..2310ac1e8 --- /dev/null +++ b/org.polarsys.chess.parent/features/org.polarsys.chess.feature/pom.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.polarsys.chess</groupId> + <artifactId>org.polarsys.chess.features</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.polarsys.chess.feature</artifactId> + <packaging>eclipse-feature</packaging> +</project> diff --git a/org.polarsys.chess.parent/features/pom.xml b/org.polarsys.chess.parent/features/pom.xml index 891ccc51b..3c6b71d50 100644 --- a/org.polarsys.chess.parent/features/pom.xml +++ b/org.polarsys.chess.parent/features/pom.xml @@ -13,6 +13,9 @@ <modules> <module> eu.fbk.tools.aida.chess.feature + </module> + <module> + org.polarsys.chess.feature </module> </modules> </project> diff --git a/org.polarsys.chess.parent/releng/org.polarsys.chess.product/.project b/org.polarsys.chess.parent/releng/org.polarsys.chess.product/.project new file mode 100644 index 000000000..afd8fce1e --- /dev/null +++ b/org.polarsys.chess.parent/releng/org.polarsys.chess.product/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.polarsys.chess.product</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/org.polarsys.chess.parent/releng/org.polarsys.chess.product/CHESS.product b/org.polarsys.chess.parent/releng/org.polarsys.chess.product/CHESS.product new file mode 100644 index 000000000..ce761269f --- /dev/null +++ b/org.polarsys.chess.parent/releng/org.polarsys.chess.product/CHESS.product @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?pde version="3.5"?> + +<product name="CHESS Product" uid="org.polarsys.chess.product" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="1.0.0.qualifier" useFeatures="true" includeLaunchers="true"> + + <configIni use="default"> + </configIni> + + <launcherArgs> + <programArgs>-clearPersistedState + </programArgs> + <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + </vmArgsMac> + </launcherArgs> + + <windowImages/> + + <launcher name="CHESS"> + <solaris/> + <win useIco="false"> + <bmp/> + </win> + </launcher> + + <vm> + </vm> + + <plugins> + </plugins> + + <features> + <feature id="org.eclipse.platform"/> + <feature id="org.eclipse.equinox.p2.user.ui"/> + <feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/> + <feature id="org.eclipse.help"/> + <feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/> + <feature id="org.eclipse.equinox.p2.extras.feature"/> + <feature id="org.eclipse.rcp"/> + <feature id="org.eclipse.equinox.p2.core.feature"/> + <feature id="org.eclipse.ecf.core.feature"/> + <feature id="org.eclipse.equinox.p2.rcp.feature"/> + <feature id="org.eclipse.ecf.filetransfer.feature"/> + <feature id="org.eclipse.ecf.core.ssl.feature"/> + <feature id="org.eclipse.ecf.filetransfer.ssl.feature"/> + <feature id="org.eclipse.emf.ecore"/> + <feature id="org.eclipse.emf.common"/> + <feature id="org.eclipse.e4.rcp"/> + <feature id="eu.fbk.tools.aida.standardtools.feature" installMode="root"/> + <feature id="eu.fbk.tools.aida.chess.feature" installMode="root"/> + <feature id="eu.fbk.tools.aida.sde.feature" installMode="root"/> + <feature id="org.eclipse.papyrus.sysml.diagram.feature"/> + <feature id="org.eclipse.papyrus.sysml.feature"/> + <feature id="org.eclipse.papyrus.sysml.modelexplorer.feature"/> + <feature id="org.eclipse.papyrus.sysml.nattable.feature"/> + <feature id="org.eclipse.papyrus.sysml.properties.feature"/> + <feature id="org.eclipse.papyrus.sdk.feature"/> + <feature id="org.eclipse.papyrus.extra.marte.feature"/> + <feature id="org.eclipse.papyrus.extra.marte.properties.feature"/> + <feature id="org.eclipse.papyrus.extra.marte.textedit.feature"/> + <feature id="org.eclipse.papyrus.uml.ui.feature"/> + <feature id="org.eclipse.papyrus.infra.gmfdiag.css.feature"/> + <feature id="org.eclipse.papyrus.uml.tools.feature"/> + <feature id="org.eclipse.papyrus.uml.search.feature"/> + <feature id="org.eclipse.papyrus.views.references.feature"/> + <feature id="org.eclipse.papyrus.infra.services.feature"/> + <feature id="org.eclipse.papyrus.uml.modelexplorer.feature"/> + <feature id="org.eclipse.papyrus.uml.feature"/> + <feature id="org.eclipse.papyrus.emf.facet.feature"/> + <feature id="org.eclipse.papyrus.infra.viewpoints.feature"/> + <feature id="org.eclipse.papyrus.infra.emf.feature"/> + <feature id="org.eclipse.papyrus.infra.feature"/> + <feature id="org.eclipse.papyrus.uml.properties.feature"/> + <feature id="org.eclipse.papyrus.views.modelexplorer.feature"/> + <feature id="org.eclipse.papyrus.doc.feature"/> + <feature id="org.eclipse.papyrus.uml.assistants.feature"/> + <feature id="org.eclipse.papyrus.infra.ui.feature"/> + <feature id="org.eclipse.papyrus.infra.nattable.feature"/> + <feature id="org.eclipse.papyrus.views.search.feature"/> + <feature id="org.eclipse.papyrus.uml.diagram.css.feature"/> + <feature id="org.eclipse.papyrus.uml.diagram.feature"/> + <feature id="org.eclipse.papyrus.uml.alf.feature"/> + <feature id="org.eclipse.papyrus.uml.textedit.feature"/> + <feature id="org.eclipse.papyrus.uml.nattable.feature"/> + <feature id="org.eclipse.papyrus.editor.feature"/> + <feature id="org.eclipse.papyrus.views.validation.feature"/> + <feature id="org.eclipse.papyrus.infra.discovery.feature"/> + <feature id="org.eclipse.papyrus.customization.feature"/> + <feature id="org.eclipse.papyrus.uml.decoratormodel.feature"/> + <feature id="org.eclipse.papyrus.views.properties.feature"/> + <feature id="org.eclipse.papyrus.uml.xtext.integration.feature"/> + <feature id="org.eclipse.papyrus.infra.widget.feature"/> + <feature id="org.eclipse.papyrus.infra.core.feature"/> + <feature id="org.eclipse.papyrus.infra.gmfdiag.feature"/> + <feature id="org.eclipse.xtext.redist"/> + <feature id="org.eclipse.nebula.widgets.grid.feature"/> + <feature id="org.eclipse.jdt"/> + <feature id="org.eclipse.pde"/> + <feature id="org.eclipse.draw2d"/> + <feature id="org.eclipse.emf.sdk"/> + <feature id="org.eclipse.gef.sdk"/> + <feature id="org.eclipse.gmf.sdk"/> + <feature id="org.eclipse.xtext.sdk"/> + <feature id="org.eclipse.elk.gmf.feature"/> + <feature id="org.eclipse.elk.algorithms.feature"/> + <feature id="org.eclipse.elk.feature"/> + <feature id="org.eclipse.elk.sdk.feature"/> + <feature id="org.eclipse.elk.ui.feature"/> + <feature id="org.eclipse.emf.mwe2.language.sdk"/> + <feature id="org.eclipse.emf.mwe.sdk"/> + <feature id="org.eclipse.epsilon.emf.feature"/> + <feature id="org.eclipse.epsilon.core.feature"/> + <feature id="org.eclipse.uml2.sdk"/> + <feature id="org.eclipse.ocl.all.sdk"/> + <feature id="org.eclipse.m2m.atl"/> + <feature id="org.eclipse.m2m.qvt.oml.sdk"/> + <feature id="org.eclipse.sirius.runtime.aql"/> + <feature id="org.eclipse.sirius.properties.feature"/> + <feature id="org.eclipse.sirius.doc.feature"/> + <feature id="org.eclipse.sirius.runtime.ide.ui.acceleo"/> + <feature id="org.eclipse.sirius.tests.support"/> + <feature id="org.eclipse.sirius.runtime.ocl"/> + <feature id="org.eclipse.sirius.runtime"/> + <feature id="org.eclipse.sirius.specifier.properties.feature"/> + <feature id="org.eclipse.sirius.interpreter.feature"/> + <feature id="org.eclipse.sirius.specifier.ide.ui.acceleo"/> + <feature id="org.eclipse.sirius.aql"/> + <feature id="org.eclipse.sirius.runtime.ide.xtext"/> + <feature id="org.eclipse.sirius.runtime.acceleo"/> + <feature id="org.eclipse.sirius.runtime.ide.eef"/> + <feature id="org.eclipse.sirius.runtime.ide.ui"/> + <feature id="org.eclipse.sirius.samples"/> + <feature id="org.eclipse.sirius.specifier.ide.ui.aql"/> + <feature id="org.eclipse.sirius.specifier.ide.ui"/> + </features> + + <configurations> + <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" /> + <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" /> + <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="1" /> + <plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" /> + <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" /> + </configurations> + + <repositories> + <repository location="http://es-static.fbk.eu/tools/aida_chess" enabled="true" /> + <repository location="http://es-static.fbk.eu/tools/aida_est" enabled="true" /> + <repository location="http://es-static.fbk.eu/tools/aida_sde" enabled="true" /> + </repositories> + + <preferencesInfo> + <targetfile overwrite="false"/> + </preferencesInfo> + + <cssInfo> + </cssInfo> + +</product> diff --git a/org.polarsys.chess.parent/releng/org.polarsys.chess.product/pom.xml b/org.polarsys.chess.parent/releng/org.polarsys.chess.product/pom.xml new file mode 100644 index 000000000..88261b36e --- /dev/null +++ b/org.polarsys.chess.parent/releng/org.polarsys.chess.product/pom.xml @@ -0,0 +1,117 @@ +<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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.polarsys.chess</groupId> + <artifactId>org.polarsys.chess.releng</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <artifactId>org.polarsys.chess.product</artifactId> + <packaging>eclipse-repository</packaging> + + <profiles> + <profile> + <id>ProductionUpdateSite</id> + </profile> + <profile> + <id>DevelopmentUpdateSite</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + </profile> + </profiles> + + + <build> + <pluginManagement> + <plugins> + <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-clean-plugin</artifactId> + <versionRange>[2.5,)</versionRange> + <goals> + <goal>clean</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + + <plugins> + <plugin> + <groupId>com.google.code.maven-replacer-plugin</groupId> + <artifactId>replacer</artifactId> + <version>1.5.3</version> + <executions> + <execution> + <phase>prepare-package</phase> + <goals> + <goal>replace</goal> + </goals> + </execution> + </executions> + <configuration> + <file>CHESS.product</file> + <replacements> + <replacement> + <token>SOME</token> + <value>SOMEVALUE</value> + </replacement> + </replacements> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-p2-repository-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <includeAllDependencies>true</includeAllDependencies> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-p2-director-plugin</artifactId> + <version>${tycho.version}</version> + <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>org.polarsys.chess.product</id> + <archiveFileName>CHESS-${buildNumber}</archiveFileName> + </product> + </products> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/.project b/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/.project new file mode 100644 index 000000000..f6198cc28 --- /dev/null +++ b/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/.project @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.polarsys.chess.repository</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/category.xml b/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/category.xml new file mode 100644 index 000000000..5b5ee0879 --- /dev/null +++ b/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/category.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<site> + <feature url="features/org.polarsys.chess.feature_1.0.0.qualifier.jar" id="org.polarsys.chess.feature" version="1.0.0.qualifier"> + <category name="org.polarsys.chess"/> + </feature> + <category-def name="org.polarsys.chess" label="CHESS"/> +</site> diff --git a/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/pom.xml b/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/pom.xml new file mode 100644 index 000000000..0dcd9957b --- /dev/null +++ b/org.polarsys.chess.parent/releng/org.polarsys.chess.repository/pom.xml @@ -0,0 +1,181 @@ +<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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.polarsys.chess</groupId> + <artifactId>org.polarsys.chess.releng</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <artifactId>org.polarsys.chess.repository</artifactId> + <packaging>eclipse-repository</packaging> + + <properties> + <updateSite.mount.dir.root>/tmp</updateSite.mount.dir.root> + <updateSite.mount.dir>www_ci</updateSite.mount.dir> + <updateSite.root>${updateSite.mount.dir.root}/${updateSite.mount.dir}/html/tools</updateSite.root> + <updateSite.url.root>es@es-static.fbk.eu:/</updateSite.url.root> + <updateSite.skip>true</updateSite.skip> + </properties> + + <profiles> + <profile> + <id>DevelopmentUpdateSite</id> + <properties> + <updateSite.dir>${updateSite.root}/eclipse_chess_devel</updateSite.dir> + <updateSite.skip>false</updateSite.skip> + </properties> + </profile> + <profile> + <id>ProductionUpdateSite</id> + <properties> + <updateSite.dir>${updateSite.root}/eclipse_chess</updateSite.dir> + <updateSite.skip>false</updateSite.skip> + </properties> + </profile> + </profiles> + + <build> + <pluginManagement> + <plugins> + <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-clean-plugin</artifactId> + <versionRange>[2.5,)</versionRange> + <goals> + <goal>clean</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.6.0</version> + <executions> + <execution> + <id>create_mount_dir</id> + <goals> + <goal>exec</goal> + </goals> + <phase>install</phase> + <configuration> + <skip>${updateSite.skip}</skip> + <executable>mkdir</executable> + <workingDirectory>${updateSite.mount.dir.root}</workingDirectory> + <longModulepath>false</longModulepath> + <arguments> + <argument>-p</argument> + <argument>${updateSite.mount.dir}</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>change_dir_permissions</id> + <goals> + <goal>exec</goal> + </goals> + <phase>install</phase> + <configuration> + <skip>${updateSite.skip}</skip> + <executable>chmod</executable> + <workingDirectory>${updateSite.mount.dir.root}</workingDirectory> + <arguments> + <argument>0777</argument> + <argument>${updateSite.mount.dir}</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>mount_sshfs</id> + <goals> + <goal>exec</goal> + </goals> + <phase>install</phase> + <configuration> + <skip>${updateSite.skip}</skip> + <executable>sshfs</executable> + <workingDirectory>${updateSite.mount.dir.root}</workingDirectory> + <arguments> + <argument>-o</argument> + <argument>nonempty</argument> + <argument>-o</argument> + <argument>umask=0777</argument> + <argument>${updateSite.url.root}</argument> + <argument>${updateSite.mount.dir}</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>update_development_site</id> + <goals> + <goal>exec</goal> + </goals> + <phase>install</phase> + <configuration> + <skip>${updateSite.skip}</skip> + <executable>cp</executable> + <workingDirectory>${basedir}/target/repository</workingDirectory> + <arguments> + <argument>-r</argument> + <argument>.</argument> + <argument>${updateSite.dir}</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>change_site_permissions</id> + <goals> + <goal>exec</goal> + </goals> + <phase>install</phase> + <configuration> + <executable>chmod</executable> + <workingDirectory>${updateSite.dir}</workingDirectory> + <arguments> + <argument>-R</argument> + <argument>0777</argument> + <argument>.</argument> + </arguments> + </configuration> + </execution> + <execution> + <id>umount_sshfs</id> + <goals> + <goal>exec</goal> + </goals> + <phase>install</phase> + <configuration> + <skip>${updateSite.skip}</skip> + <executable>fusermount</executable> + <workingDirectory>${updateSite.mount.dir.root}</workingDirectory> + <arguments> + <argument>-u</argument> + <argument>${updateSite.mount.dir}</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/org.polarsys.chess.parent/releng/pom.xml b/org.polarsys.chess.parent/releng/pom.xml index 118b6b983..0d97847b4 100644 --- a/org.polarsys.chess.parent/releng/pom.xml +++ b/org.polarsys.chess.parent/releng/pom.xml @@ -10,10 +10,21 @@ <version>1.0.0-SNAPSHOT</version> </parent> + <profiles> + <profile> + <id>bundle</id> + <modules> + <module>org.polarsys.chess.product</module> + </modules> + </profile> + </profiles> + + <modules> <module>org.polarsys.chess.configuration</module> <module>eu.fbk.tools.aida.chess.target.neon</module> <module>org.polarsys.chess.target.neon</module> - <module>eu.fbk.tools.aida.chess.repository</module> + <module>eu.fbk.tools.aida.chess.repository</module> + <module>org.polarsys.chess.repository</module> </modules> </project> -- GitLab