config
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>config</artifactId>
<version>1.2.9</version>
</dependency>
<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>
<name>FAERIE</name>
<parent>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>faerie-parent</artifactId>
<version>1.2.9</version>
</parent>
<artifactId>config</artifactId>
<packaging>pom</packaging>
<modules>
<module>core</module>
<module>model.base</module>
<module>container</module>
<module>container.local</module>
<module>broker.osgi</module>
<module>observer.attributeConditionSet</module>
<module>observer.remote</module>
<module>observer.remote.r_osgi</module>
<module>admin.gui</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<dependencies>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>assembly-descriptors</artifactId>
<version>1.2.8</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>assembly-target</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>${target.dir.suffix}</descriptorRef>
</descriptorRefs>
<updateOnly>true</updateOnly>
<finalName>${target.dir.prefix}</finalName>
<outputDirectory>${project.basedir}/deploy</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>clean-target</id>
<phase>clean</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<delete dir="${target.path}" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.ops4j.pax.confman</groupId>
<artifactId>pax-confman-propsloader</artifactId>
</dependency>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-service</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.ipojo.handler.extender</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>es.ucm.fdi.grasia.faerie.container.local</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>es.ucm.fdi.grasia.faerie.broker.osgi</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>es.ucm.fdi.grasia.faerie.observer.attributeConditionSet</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>es.ucm.fdi.grasia.faerie.observer.remote</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>es.ucm.fdi.grasia.faerie.admin.gui</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>equinox</id>
<properties>
<target.dir.suffix>equinox</target.dir.suffix>
<target.out.path>${equinox.out.path}</target.out.path>
<target.config.path>${equinox.config.path}</target.config.path>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>create-equinox-config</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<fileset id="plugins.fs" dir="${equinox.path}" includes="*.jar" excludes="org.eclipse.osgi-*" />
<property name="plugins.names" refid="plugins.fs" />
<echo file="${equinox.config}">osgi.compatibility.bootdelegation=true
org.osgi.framework.bootdelegation=*
osgi.bundles=${plugins.names}@4:start
</echo>
<replace file="${equinox.config}" token=";" value="@4:start,\
" />
<replaceregexp file="${equinox.config}" flags="i" match="(ecf\.ssl-[^@]*)@4:start" replace="\1" />
<replaceregexp file="${equinox.config}" flags="i" match="(compatibility\.registry-[^@]*)@4:start" replace="\1" />
<replaceregexp file="${equinox.config}" flags="i" match="(equinox\.ds-[^@]*)@4:start" replace="\1@1:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(equinox\.common-[^@]*)@4:start" replace="\1@2:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(equinox\.event-[^@]*)@4:start" replace="\1@3:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(cm-[^@]*)@4:start" replace="\1@3:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(confman-[^@]*)@4:start" replace="\1@3:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(log4j-[^@]*)@4:start" replace="\1@3:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(pax-logging-api-[^@]*)@4:start" replace="\1@3:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(pax-logging-service-[^@]*)@4:start" replace="\1@3:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(felix\.ipojo-[^@]*)@4:start" replace="\1@5:start" />
<replaceregexp file="${equinox.config}" flags="i" match="(observer\.remote-[^@]*)@4:start" replace="\1@5:start" />
</target>
</configuration>
</execution>
<execution>
<id>create-equinox-run</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<fileset id="equinox.fs" dir="${equinox.path}" includes="org.eclipse.osgi-*" />
<property name="equinox.name" refid="equinox.fs" />
<echo file="${equinox.path}/run.bat">java -jar -Dbundles.configuration.location=configuration/confadmin -Dtarget.config.path=configuration -Dch.ethz.iks.r_osgi.port=${target.port} ${equinox.name} -console</echo>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.equinox.ds</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.equinox</groupId>
<artifactId>cm</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.equinox.event</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.ecf.identity</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.ecf.ssl</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.osgi.services.distribution</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.provider.jmdns</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.server.generic</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.core.runtime.compatibility.registry</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.discovery</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.osgi.services.remoteserviceadmin</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.provider</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.provider.remoteservice</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.remoteservice</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.ecf.sharedobject</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.equinox.concurrent</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>org.eclipse.osgi.services.remoteserviceadmin</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>felix</id>
<properties>
<target.dir.suffix>felix</target.dir.suffix>
<target.out.path>${felix.out.path}</target.out.path>
<target.config.path>${felix.config.path}</target.config.path>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>create-felix-run</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<echo file="${felix.path}/run.bat">java -jar -Dbundles.configuration.location=conf/confadmin -Dtarget.config.path=conf -Djava.util.logging.config.file=conf/logging.properties -Dch.ethz.iks.r_osgi.port=${target.port} bin/felix.jar</echo>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.gogo.command</artifactId>
<exclusions>
<exclusion>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.gogo.shell</artifactId>
<exclusions>
<exclusion>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.eventadmin</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie</groupId>
<artifactId>es.ucm.fdi.grasia.faerie.observer.remote.r_osgi</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>remote</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>service_discovery.slp</artifactId>
</dependency>
<dependency>
<groupId>es.ucm.fdi.grasia.faerie.thirdparty</groupId>
<artifactId>jslp-osgi</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>