<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<extensions>true</extensions>
<configuration>
<manifestLocation>META-INF</manifestLocation>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<manifestLocation>META-INF</manifestLocation>
</configuration>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<extensions>true</extensions>
<configuration>
<manifestLocation>META-INF</manifestLocation>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
- <version>2.1-alpha-1</version>
- <extensions>true</extensions>
- <configuration>
- <version>${project.version}</version>
- <release>r${buildNumber}.argeo</release>
- <copyright>2011 Argeo</copyright>
- <distribution>argeo</distribution>
- <packager>mbaudier@argeo.org</packager>
- <group>Applications/System</group>
- <prefix>/usr</prefix>
- </configuration>
<executions>
<execution>
- <id>rpm-sdk</id>
+ <id>rpm-osgi-boot</id>
<phase>package</phase>
<goals>
- <goal>attached-rpm</goal>
+ <goal>rpm</goal>
</goals>
<configuration>
+ <name>osgi-boot</name>
+ <copyright>2011 Argeo</copyright>
<mappings>
<mapping>
<directory>/etc/osgiboot</directory>
<sources>
<source>
<location>src/main/rpm/usr/sbin</location>
- <includes>
- <include>*</include>
- </includes>
</source>
</sources>
</mapping>
<mapping>
- <directory>/usr/share/osgiboot/lib</directory>
+ <directory>/usr/share/osgi/boot</directory>
<username>root</username>
<groupname>root</groupname>
<filemode>644</filemode>
<source>
<location>${project.build.directory}/lib</location>
<includes>
- <include>*.jar</include>
+ <include>org.argeo.osgi.boot.jar</include>
</includes>
</source>
</sources>
</mapping>
</mappings>
<requires>
- <require>java</require>
+ <require>osgi-boot-equinox</require>
</requires>
</configuration>
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <copy todir="${rpm.stagingRepository}" verbose="true">
+ <fileset dir="${project.build.directory}/rpm"
+ includes="*/RPMS/**/*.rpm" />
+ <flattenmapper />
+ </copy>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>rpmbuild-tp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-osgi-boot-equinox</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>osgi-boot-equinox</name>
+ <projversion>${version.argeo-distribution}</projversion>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/boot</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <sources>
+ <source>
+ <location>${project.build.directory}/lib</location>
+ <includes>
+ <include>org.eclipse.osgi.jar</include>
+ </includes>
+ </source>
+ </sources>
+ </mapping>
+ </mappings>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
PID_FILE=$RUN_DIR/$APP.pid
SHUTDOWN_FILE=$RUN_DIR/$APP.shutdown
-OSGI_INSTALL_AREA=/usr/share/osgiboot/lib
+OSGI_INSTALL_AREA=/usr/share/osgi/boot
OSGI_FRAMEWORK=$OSGI_INSTALL_AREA/org.eclipse.osgi.jar
RETVAL=0
touch $SHUTDOWN_FILE
cd $EXEC_DIR
$JVM \
- -Dosgi.bundles="org.argeo.osgi.boot.jar@start" \
- -Dargeo.osgi.bundles="$CONF_DIR/modules;in=*,$LIB_DIR;in=*" \
-Dargeo.osgi.shutdownFile="$SHUTDOWN_FILE" \
-Dlog4j.configuration="file:$CONF_DIR/log4j.properties" \
$JAVA_OPTS -jar $OSGI_FRAMEWORK \
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Import-Package: org.apache.commons.logging;version="1.1.1",
- org.argeo.eclipse.ui
+ org.argeo,
+ org.argeo.eclipse.ui,
+ org.argeo.eclipse.ui.specific
<version>0.3.4-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.argeo.commons.eclipse</groupId>
+ <artifactId>org.argeo.eclipse.ui.rcp</artifactId>
+ <version>0.3.4-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
</project>
import java.util.Comparator;
import org.argeo.eclipse.ui.ColumnViewerComparator;
+import org.argeo.eclipse.ui.specific.EclipseUiSpecificUtils;
import org.argeo.osgi.ui.explorer.OsgiExplorerImages;
import org.argeo.osgi.ui.explorer.OsgiExplorerPlugin;
import org.eclipse.jface.viewers.ColumnLabelProvider;
-import org.eclipse.jface.viewers.ColumnViewerToolTipSupport;
import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
viewer.setContentProvider(new BundleContentProvider());
viewer.getTable().setHeaderVisible(true);
- // FIXME methodNotFound issue in RAP when built in Maven against RCP
- try {
- ColumnViewerToolTipSupport.enableFor(viewer);
- } catch (Error e) {
- //String prop = Table.ENABLE_CELL_TOOLTIP;
- String prop = "org.eclipse.swt.widgets.Table#enableCellToolTip";
- viewer.getControl().setData(prop, Boolean.TRUE);
- }
+ EclipseUiSpecificUtils.enableToolTipSupport(viewer);
// ID
TableViewerColumn column = new TableViewerColumn(viewer, SWT.NONE);
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Bundle-Activator>org.argeo.osgi.boot.Activator</Bundle-Activator>
<version.argeo-distribution>1.1.6-SNAPSHOT</version.argeo-distribution>
<version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
<version.equinox>3.6.2</version.equinox>
- <!-- Maven -->
- <!-- Using version 2.3.4 causes package use conflict. To be investigated. -->
- <version.maven-bundle-plugin>2.2.0</version.maven-bundle-plugin>
+ <!-- maven -->
<version.maven-argeo-osgi>1.0.33</version.maven-argeo-osgi>
<version.maven-argeo-qooxdoo>1.1.1</version.maven-argeo-qooxdoo>
+ <!-- distribution -->
<site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
<site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
+ <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
</properties>
<modules>
<module>basic</module>
</extensions>
<pluginManagement>
<plugins>
+ <!-- Maven -->
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.1</version>
</plugin>
- <plugin>
- <groupId>org.argeo.maven.plugins</groupId>
- <artifactId>maven-argeo-osgi-plugin</artifactId>
- <version>${version.maven-argeo-osgi}</version>
- </plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
</archive>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.4.3</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.1.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <!-- Apache -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+ <version>2.2.0</version>
<extensions>true</extensions>
<configuration>
<manifestLocation>META-INF</manifestLocation>
</execution>
</executions>
</plugin>
+ <!-- Codehaus -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>1.0-beta-4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <version>2.1-alpha-1</version>
+ <extensions>true</extensions>
+ <configuration>
+ <version>${project.version}</version>
+ <release>r${buildNumber}.el6</release>
+ <distribution>argeo6</distribution>
+ <packager>mbaudier@argeo.org</packager>
+ <group>Applications/System</group>
+ <prefix>/usr</prefix>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ </plugin>
+ <!-- Argeo -->
+ <plugin>
+ <groupId>org.argeo.maven.plugins</groupId>
+ <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <version>${version.maven-argeo-osgi}</version>
+ </plugin>
+ <!-- Others -->
+ <plugin>
+ <groupId>com.mycila.maven-license-plugin</groupId>
+ <artifactId>maven-license-plugin</artifactId>
+ <version>1.8.0</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
- <version>1.0-beta-4</version>
<executions>
<execution>
<phase>generate-resources</phase>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.4.3</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>2.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
- <version>2.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<releaseProfiles>release</releaseProfiles>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
- <version>1.8.0</version>
<configuration>
<header>license-apache2-header.txt</header>
<failIfMissing>true</failIfMissing>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<extensions>true</extensions>
</plugin>
</plugins>
<artifactId>com.springsource.javax.xml.bind</artifactId>
</dependency>
+ <!-- Commons -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>com.springsource.org.apache.commons.vfs</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.dep.osgi</groupId>
+ <artifactId>org.argeo.dep.osgi.commons.exec</artifactId>
+ </dependency>
+
<!-- Security (LDAP) -->
<dependency>
<groupId>org.argeo.commons.security</groupId>
<version>0.3.4-SNAPSHOT</version>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>rpmbuild</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-node</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <includeGroupIds>org.argeo.commons.basic,org.argeo.commons.osgi,org.argeo.commons.server,org.argeo.commons.security</includeGroupIds>
+ <excludeArtifactIds>org.argeo.osgi.boot</excludeArtifactIds>
+ <outputDirectory>${project.build.directory}/node</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-node</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>argeo-node</name>
+ <copyright>2011 Argeo</copyright>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <sources>
+ <source>
+ <location>${project.build.directory}/node</location>
+ </source>
+ </sources>
+ </mapping>
+ </mappings>
+ <requires>
+ <require>argeo-node-tp</require>
+ </requires>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <copy todir="${rpm.stagingRepository}" verbose="true">
+ <fileset dir="${project.build.directory}/rpm"
+ includes="*/RPMS/**/*.rpm" />
+ <flattenmapper />
+ </copy>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>rpmbuild-tp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-tp</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <excludeGroupIds>org.argeo.commons.basic,org.argeo.commons.osgi,org.argeo.commons.server,org.argeo.commons.security</excludeGroupIds>
+ <excludeArtifactIds>org.eclipse.osgi</excludeArtifactIds>
+ <outputDirectory>${project.build.directory}/node-tp</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-node-tp</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>argeo-node-tp</name>
+ <classifier>rpm-tp</classifier>
+ <projversion>${version.argeo-distribution}</projversion>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <sources>
+ <source>
+ <location>${project.build.directory}/node-tp</location>
+ </source>
+ </sources>
+ </mapping>
+ </mappings>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
<artifactId>org.argeo.security.dep.node.rap</artifactId>
<name>Commons Node RAP Dependencies</name>
<packaging>jar</packaging>
+ <properties>
+ <version.rap>1.3.2</version.rap>
+ </properties>
<build>
<plugins>
<plugin>
<artifactId>org.argeo.server.rap.webapp</artifactId>
<version>0.3.4-SNAPSHOT</version>
</dependency>
-
</dependencies>
+ <profiles>
+ <profile>
+ <id>rpmbuild</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-argeo-eclipse</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <includeGroupIds>org.argeo.commons.eclipse</includeGroupIds>
+ <excludeArtifactIds>org.argeo.eclipse.ui.rap</excludeArtifactIds>
+ <outputDirectory>${project.build.directory}/argeo-node-eclipse</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-direct</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <excludeTransitive>true</excludeTransitive>
+ <excludeArtifactIds>org.argeo.security.ui.rap,org.argeo.server.rap.webapp</excludeArtifactIds>
+ <outputDirectory>${project.build.directory}/argeo-node-eclipse</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-node-rap</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>argeo-node-rap</name>
+ <copyright>2011 Argeo</copyright>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/rap</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <dependency>
+ <includes>
+ <include>org.argeo.commons.eclipse:org.argeo.eclipse.ui.rap</include>
+ <include>org.argeo.commons.server:org.argeo.server.rap.webapp</include>
+ <include>org.argeo.commons.security:org.argeo.security.ui.rap</include>
+ </includes>
+ </dependency>
+ </mapping>
+ </mappings>
+ <requires>
+ <require>argeo-node</require>
+ <require>argeo-node-eclipse</require>
+ <require>eclipse-rap</require>
+ </requires>
+ </configuration>
+ </execution>
+ <execution>
+ <id>rpm-node-eclipse</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>argeo-node-eclipse</name>
+ <copyright>2011 Argeo</copyright>
+ <classifier>rpm-eclipse</classifier>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/eclipse</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <dependency>
+ <includes>
+ <include>org.argeo.commons.eclipse:org.argeo.eclipse.ui</include>
+ <include>org.argeo.commons.eclipse:org.argeo.eclipse.ui.jcr</include>
+ <include>org.argeo.commons.security:org.argeo.security.equinox</include>
+ <include>org.argeo.commons.security:org.argeo.security.ui</include>
+ <include>org.argeo.commons.security:org.argeo.security.ui.admin</include>
+ </includes>
+ </dependency>
+ <sources>
+ <source>
+ <location>${project.build.directory}/argeo-node-eclipse</location>
+ </source>
+ </sources>
+ </mapping>
+ </mappings>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <copy todir="${rpm.stagingRepository}" verbose="true">
+ <fileset dir="${project.build.directory}/rpm"
+ includes="*/RPMS/**/*.rpm" />
+ <flattenmapper />
+ </copy>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>rpmbuild-tp</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-rap</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeTypes>jar</includeTypes>
+ <includeGroupIds>org.eclipse.core,org.eclipse.equinox,org.eclipse.rap,org.eclipse.help,org.argeo.dep.rap,org.eclipse.osgi,com.ibm.icu</includeGroupIds>
+ <outputDirectory>${project.build.directory}/eclipse-rap</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rpm-rap</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>eclipse-rap</name>
+ <projversion>${version.rap}</projversion>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/eclipse-rap</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <sources>
+ <source>
+ <location>${project.build.directory}/eclipse-rap</location>
+ </source>
+ </sources>
+ </mapping>
+ </mappings>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
<version>0.3.4-SNAPSHOT</version>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>rpmbuild</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <configuration>
+ </configuration>
+ <executions>
+ <execution>
+ <id>rpm-node-rcp</id>
+ <phase>package</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ <configuration>
+ <name>argeo-node-rcp</name>
+ <mappings>
+ <mapping>
+ <directory>/usr/share/osgi/rcp</directory>
+ <username>root</username>
+ <groupname>root</groupname>
+ <filemode>644</filemode>
+ <directoryIncluded>false</directoryIncluded>
+ <dependency>
+ <includes>
+ <include>org.argeo.commons.eclipse:org.argeo.eclipse.ui.rcp</include>
+ <include>org.argeo.commons.security:org.argeo.security.ui.rcp</include>
+ </includes>
+ </dependency>
+ </mapping>
+ </mappings>
+ <requires>
+ <require>argeo-node</require>
+ <require>argeo-node-eclipse</require>
+ <require>eclipse-rcp</require>
+ </requires>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <copy todir="${rpm.stagingRepository}" verbose="true">
+ <fileset dir="${project.build.directory}/rpm"
+ includes="*/RPMS/**/*.rpm" />
+ <flattenmapper />
+ </copy>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+<!-- <plugin> -->
+<!-- <groupId>org.codehaus.mojo</groupId> -->
+<!-- <artifactId>exec-maven-plugin</artifactId> -->
+<!-- <executions> -->
+<!-- <execution> -->
+<!-- <phase>install</phase> -->
+<!-- <goals> -->
+<!-- <goal>exec</goal> -->
+<!-- </goals> -->
+<!-- <configuration> -->
+<!-- <executable>createrepo</executable> -->
+<!-- <arguments> -->
+<!-- <argument>${rpm.stagingRepository}</argument> -->
+<!-- </arguments> -->
+<!-- </configuration> -->
+<!-- </execution> -->
+<!-- </executions> -->
+<!-- </plugin> -->
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<manifestLocation>META-INF</manifestLocation>
</configuration>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Import-Package>*,
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Bundle-Activator>org.argeo.security.ui.rap.SecureRapActivator</Bundle-Activator>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Bundle-Activator>org.argeo.security.ui.rcp.SecureApplicationActivator</Bundle-Activator>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<?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">
+<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>
<groupId>org.argeo.commons</groupId>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Fragment-Host>org.argeo.dep.osgi.jackrabbit</Fragment-Host>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<extensions>true</extensions>
</plugin>
</plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>org.argeo.jcr.*</Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Export-Package>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>${version.maven-bundle-plugin}</version>
+
<configuration>
<instructions>
<Fragment-Host>org.springframework.osgi.web.extender</Fragment-Host>