+++ /dev/null
-<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.slc</groupId>
- <artifactId>dist</artifactId>
- <version>0.13.1-SNAPSHOT</version>
- </parent>
- <groupId>org.argeo.slc.dist</groupId>
- <artifactId>slc-server</artifactId>
- <packaging>pom</packaging>
- <name>SLC Server</name>
- <properties>
- <argeo.p2.cmd>/opt/equinox-p2-agent/eclipse</argeo.p2.cmd>
- <argeo.p2.repository>/var/argeo/projects/SLC/www/sdk-dev</argeo.p2.repository>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <includeTypes>jar</includeTypes>
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-<!-- <plugin> -->
-<!-- <groupId>org.argeo.maven.plugins</groupId> -->
-<!-- <artifactId>maven-argeo-osgi-plugin</artifactId> -->
-<!-- <version>${version.maven-argeo-osgi}</version> -->
-<!-- <executions> -->
-<!-- <execution> -->
-<!-- <id>pde-source</id> -->
-<!-- <phase>process-resources</phase> -->
-<!-- <goals> -->
-<!-- <goal>pde-sources</goal> -->
-<!-- </goals> -->
-<!-- <configuration> -->
-<!-- <copyArtifacts>true</copyArtifacts> -->
-<!-- </configuration> -->
-<!-- </execution> -->
-<!-- <execution> -->
-<!-- <id>check-osgi</id> -->
-<!-- <phase>test</phase> -->
-<!-- <goals> -->
-<!-- <goal>equinox</goal> -->
-<!-- </goals> -->
-<!-- <configuration> -->
-<!-- <useDependencies>false</useDependencies> -->
-<!-- <onlyCheck>true</onlyCheck> -->
-<!-- <argsToAppend> -->
-<!-- <arg>-clean</arg> -->
-<!-- </argsToAppend> -->
-<!-- <systemProperties> -->
-<!-- <argeo.osgi.start>XXX</argeo.osgi.start> -->
-<!-- <argeo.osgi.bundles> -->
-<!-- ${project.build.directory}/lib;in=*.jar, -->
-<!-- </argeo.osgi.bundles> -->
-<!-- </systemProperties> -->
-<!-- </configuration> -->
-<!-- </execution> -->
-<!-- </executions> -->
-<!-- </plugin> -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>filter-base</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target/base</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/base</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- <plugin> -->
- <!-- <groupId>org.apache.maven.plugins</groupId> -->
- <!-- <artifactId>maven-assembly-plugin</artifactId> -->
- <!-- <configuration> -->
- <!-- <descriptors> -->
- <!-- <descriptor>src/assembly/dist.xml</descriptor> -->
- <!-- <descriptor>src/assembly/devel.xml</descriptor> -->
- <!-- </descriptors> -->
- <!-- </configuration> -->
- <!-- <executions> -->
- <!-- <execution> -->
- <!-- <id>attach-assembly</id> -->
- <!-- <phase>deploy</phase> -->
- <!-- <goals> -->
- <!-- <goal>single</goal> -->
- <!-- </goals> -->
- <!-- </execution> -->
- <!-- </executions> -->
- <!-- </plugin> -->
- <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId>
- <version>1.1</version> <executions> <execution> <id>create-repository</id>
- <phase>deploy</phase> <goals> <goal>exec</goal> </goals> </execution> </executions>
- <configuration> <executable>${argeo.p2.cmd}</executable> optional <workingDirectory>/tmp</workingDirectory>
- <arguments> <argument>-noSplash</argument> <argument>-application</argument>
- <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument>
- <argument>-metadataRepository</argument> <argument>file:${argeo.p2.repository}</argument>
- <argument>-artifactRepository</argument> <argument>file:${argeo.p2.repository}</argument>
- <argument>-bundles</argument> <argument>${project.build.directory}</argument>
- <argument>-features</argument> <argument>${project.build.directory}</argument>
- <argument>-compress</argument> <argument>-publishArtifacts</argument> </arguments>
- </configuration> </plugin> -->
- <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId>
- <executions> <execution> <id>p2-copyToRepo</id> <phase>deploy</phase> <goals>
- <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${project.build.directory}/repobase"
- /> <copy todir="${project.build.directory}/repobase"> <fileset dir="${project.build.directory}/lib">
- <include name="*.jar" /> </fileset> <fileset dir="${project.build.directory}/libsrc">
- <include name="*.jar" /> </fileset> </copy> <exec executable="${argeo.p2.cmd}">
- <arg value="-noSplash" /> <arg value="-application" /> <arg value="org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher"
- /> <arg value="-metadataRepository" /> <arg value="file:${argeo.p2.repository}"
- /> <arg value="-artifactRepository" /> <arg value="file:${argeo.p2.repository}"
- /> <arg value="-bundles" /> <arg value="${project.build.directory}/repobase"
- /> <arg value="-features" /> <arg value="${project.build.directory}/repobase"
- /> <arg value="-compress" /> <arg value="-publishArtifacts" /> </exec> </tasks>
- </configuration> </execution> </executions> </plugin> -->
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.argeo.slc.dep</groupId>
- <artifactId>org.argeo.slc.dep.sdk.rap</artifactId>
- <version>0.13.1-SNAPSHOT</version>
- <exclusions>
- <exclusion>
- <groupId>org.eclipse.osgi</groupId>
- <artifactId>org.eclipse.osgi</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.argeo.commons.osgi</groupId>
- <artifactId>org.argeo.osgi.boot</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.tomcat</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dep.ads</artifactId>
- <type>pom</type>
- <version>${version.argeo-commons}</version>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>rpmbuild</id>
- <build>
- <plugins>
- <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>
- <phase>package</phase>
- <goals>
- <goal>rpm</goal>
- </goals>
- <configuration>
- <mappings>
- <mapping>
- <directory>/usr/bin</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>755</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/usr/bin</location>
- <includes>
- <include>*</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/etc/init.d</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>755</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>src/main/rpm/etc/init.d</location>
- <includes>
- <include>*</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/etc/slc-server</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <configuration>true</configuration>
- <sources>
- <source>
- <location>src/main/rpm/etc/slc-server</location>
- <includes>
- <include>*</include>
- </includes>
- </source>
- </sources>
- </mapping>
- <mapping>
- <directory>/usr/share/slc-server/lib</directory>
- <username>root</username>
- <groupname>root</groupname>
- <filemode>644</filemode>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>target/lib</location>
- <includes>
- <include>*.jar</include>
- </includes>
- </source>
- </sources>
- </mapping>
- </mappings>
- <postinstallScriptlet>
- <scriptFile>src/main/scripts/postinstall</scriptFile>
- </postinstallScriptlet>
- <preremoveScriptlet>
- <scriptFile>src/main/scripts/preremove</scriptFile>
- </preremoveScriptlet>
- <requires>
- <require>osgi-boot</require>
- </requires>
- </configuration>
- </execution>
- <!-- <execution> -->
- <!-- <id>rpm-devel</id> -->
- <!-- <phase>deploy</phase> -->
- <!-- <goals> -->
- <!-- <goal>rpm</goal> -->
- <!-- </goals> -->
- <!-- <configuration> -->
- <!-- <name>${project.artifactId}-pdesources</name> -->
- <!-- <mappings> -->
- <!-- <mapping> -->
- <!-- <directory>/usr/src/osgi/pde</directory> -->
- <!-- <username>root</username> -->
- <!-- <groupname>root</groupname> -->
- <!-- <filemode>644</filemode> -->
- <!-- <directoryIncluded>false</directoryIncluded> -->
- <!-- <sources> -->
- <!-- <source> -->
- <!-- <location>target/libsrc</location> -->
- <!-- <includes> -->
- <!-- <include>*.jar</include> -->
- <!-- </includes> -->
- <!-- </source> -->
- <!-- </sources> -->
- <!-- </mapping> -->
- <!-- </mappings> -->
- <!-- <requires> -->
- <!-- <require>org.argeo.slc.sdk</require> -->
- <!-- </requires> -->
- <!-- </configuration> -->
- <!-- </execution> -->
- <!-- <execution> -->
- <!-- <id>rpm-demo</id> -->
- <!-- <phase>deploy</phase> -->
- <!-- <goals> -->
- <!-- <goal>rpm</goal> -->
- <!-- </goals> -->
- <!-- <configuration> -->
- <!-- <name>${project.artifactId}-demo</name> -->
- <!-- <mappings> -->
- <!-- <mapping> -->
- <!-- <directory>/var/lib/slc-agent/modules</directory> -->
- <!-- <username>root</username> -->
- <!-- <groupname>root</groupname> -->
- <!-- <filemode>644</filemode> -->
- <!-- <directoryIncluded>false</directoryIncluded> -->
- <!-- <sources> -->
- <!-- <source> -->
- <!-- <location>../../demo/site</location> -->
- <!-- <includes> -->
- <!-- <include>org.argeo.*/**</include> -->
- <!-- </includes> -->
- <!-- <excludes> -->
- <!-- <exclude>pom.xml</exclude> -->
- <!-- <exclude>target</exclude> -->
- <!-- <exclude>.svn</exclude> -->
- <!-- <exclude>**/.svn/**</exclude> -->
- <!-- </excludes> -->
- <!-- </source> -->
- <!-- </sources> -->
- <!-- </mapping> -->
- <!-- </mappings> -->
- <!-- <requires> -->
- <!-- <require>org.argeo.slc.sdk</require> -->
- <!-- <require> org.argeo.slc.dep.sdk.rcp</require> -->
- <!-- </requires> -->
- <!-- </configuration> -->
- <!-- </execution> -->
- </executions>
- </plugin>
- <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId>
- <executions> <execution> <id>rpm-copyToRepo</id> <phase>deploy</phase> <goals>
- <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${distribution.root}/i386"
- /> <mkdir dir="${distribution.root}/x86_64" /> <delete verbose="true"> <fileset
- dir="${distribution.root}" includes="*/org.argeo.slc.sdk-*.rpm" /> </delete>
- <copy todir="${distribution.root}/x86_64" verbose="true"> <fileset dir="target">
- <include name="rpm/*/RPMS/*/*.rpm" /> </fileset> <flattenmapper /> </copy>
- <exec executable="/usr/bin/createrepo"> <arg value="${distribution.root}/x86_64"
- /> </exec> <copy todir="${distribution.root}/i386" verbose="true"> <fileset
- dir="target"> <include name="rpm/*/RPMS/*/*.rpm" /> </fileset> <flattenmapper
- /> </copy> <exec executable="/usr/bin/createrepo"> <arg value="${distribution.root}/i386"
- /> </exec> </tasks> </configuration> </execution> </executions> </plugin> -->
- </plugins>
- </build>
-
- </profile>
- </profiles>
-</project>
\ No newline at end of file
+++ /dev/null
-argeo.osgi.start=\
-org.springframework.osgi.extender,\
-org.argeo.node.repofactory.jackrabbit,\
-org.argeo.node.repo.jackrabbit,\
-org.argeo.security.dao.ldap,\
-org.argeo.slc.node.jackrabbit,\
-org.argeo.eclipse.ui,\
-org.eclipse.core.runtime,\
-org.eclipse.equinox.common,\
-org.eclipse.equinox.http.registry,\
-org.eclipse.equinox.launcher,\
-org.argeo.dep.osgi.catalina.start,\
-org.argeo.server.rap.webapp,\
-org.argeo.jackrabbit.webapp,\
-org.argeo.security.equinox,\
-org.argeo.security.ui,\
-org.argeo.security.ui.rap,\
-org.argeo.server.ads.server,\
-org.argeo.slc.server.repo,\
-org.argeo.slc.server.repo.webapp,\
-org.argeo.slc.client.ui,\
-org.argeo.slc.client.rap,\
-org.argeo.slc.agent,\
-org.argeo.slc.agent.jcr,\
-org.springframework.osgi.web.extender,\
-
-#slc.executionModules=org.argeo.infra.slc.rpmfactory,\
-#org.argeo.elgis.rpmfactory,\
-
-org.argeo.security.ui.initialPerspective=org.argeo.slc.client.ui.dist.distributionPerspective
-
-# JCR
-#argeo.node.repo.home=/var/lib/slc-server/data/node/repo
-#argeo.node.repo.dburl=jdbc:h2:/var/lib/slc-server/data/node/h2/repo
-
-# LDAP (Apache DS)
-#argeo.ads.init.ldif=osgibundle:init-argeo.ldif
-
-# OSGi MANAGEMENT
-osgi.console=3030
-
-eclipse.ignoreApp=true
-osgi.noShutdown=true
-
-org.osgi.framework.bootdelegation=com.sun.jndi.ldap
-
\ No newline at end of file