Commit 34e608e4 authored by Pietro Braghieri's avatar Pietro Braghieri

add repository plugin for eclipse (ex polarsys) project

parent c0daa0c1
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>eu.fbk.tools.sde.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>
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="eu.fbk.tools.sde.feature"
label="SDE"
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>
<includes
id="eu.fbk.tools.adapter.feature"
version="0.0.0"/>
<includes
id="eu.fbk.tools.editor.c.feature"
version="0.0.0"/>
<includes
id="eu.fbk.tools.editor.contract.feature"
version="0.0.0"/>
<includes
id="eu.fbk.tools.editor.nusmv.feature"
version="0.0.0"/>
</feature>
<?xml version="1.0" encoding="UTF-8"?>
<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>
<artifactId>eu.fbk.tools.parent</artifactId>
<groupId>eu.fbk.tools</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>eu.fbk.tools.sde.feature</artifactId>
<packaging>eclipse-feature</packaging>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>eu.fbk.tools.sde.repository</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>
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/eu.fbk.tools.aida.sde.feature_1.0.0.qualifier.jar" id="eu.fbk.tools.aida.sde.feature" version="1.0.0.qualifier">
<category name="eu.fbk.tools.aida.sde.editor"/>
</feature>
<feature url="features/org.eclipse.xtext.redist_2.12.0.v20170519-1412.jar" id="org.eclipse.xtext.redist" version="2.12.0.v20170519-1412">
<category name="eu.fbk.tools.aida.sde.editor"/>
</feature>
<category-def name="eu.fbk.tools.aida.sde.editor" label="AIDA SDE and Tool Adapters"/>
</site>
<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>eu.fbk.tools</groupId>
<artifactId>eu.fbk.tools.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>eu.fbk.tools.sde.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_sde_devel</updateSite.dir>
<updateSite.skip>false</updateSite.skip>
</properties>
</profile>
<profile>
<id>ProductionUpdateSite</id>
<properties>
<updateSite.dir>${updateSite.root}/eclipse_sde</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>
......@@ -416,8 +416,10 @@
<module>eu.fbk.tools.neon.target</module>
<module>eu.fbk.tools.editor</module>
<module>eu.fbk.tools.adapter</module>
<module>eu.fbk.tools.sde.feature</module>
<module>eu.fbk.tools.sde.repository</module>
<module>eu.fbk.tools.aida.sde.feature</module>
<module>eu.fbk.tools.aida.sde.repository</module>
<module>eu.fbk.tools.aida.sde.repository</module>
</modules>
<repositories>
<repository>
......@@ -434,4 +436,4 @@
</repositories>
</profile>
</profiles>
</project>
\ No newline at end of file
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment