Author: mes Date: 2012-04-24 17:05:03 -0700 (Tue, 24 Apr 2012) New Revision: 28979
Added: core3/headless-distribution/ core3/headless-distribution/trunk/ core3/headless-distribution/trunk/assembly/ core3/headless-distribution/trunk/assembly/pom.xml core3/headless-distribution/trunk/assembly/src/ core3/headless-distribution/trunk/assembly/src/main/ core3/headless-distribution/trunk/assembly/src/main/bin/ core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.bat core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.sh core3/headless-distribution/trunk/assembly/src/main/descriptors/ core3/headless-distribution/trunk/assembly/src/main/descriptors/config-dev.xml core3/headless-distribution/trunk/assembly/src/main/descriptors/config-unix.xml core3/headless-distribution/trunk/assembly/src/main/descriptors/config-windows.xml core3/headless-distribution/trunk/assembly/src/main/filtered-resources/ core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/ core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/system.properties core3/headless-distribution/trunk/assembly/src/main/resources/ core3/headless-distribution/trunk/assembly/src/main/resources/cytoscape_logo_512.png core3/headless-distribution/trunk/assembly/src/main/resources/etc/ core3/headless-distribution/trunk/assembly/src/main/resources/etc/custom.properties core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.url.mvn.cfg core3/headless-distribution/trunk/assembly/src/main/xsl/ core3/headless-distribution/trunk/assembly/src/main/xsl/template.xslt core3/headless-distribution/trunk/features/ core3/headless-distribution/trunk/features/pom.xml core3/headless-distribution/trunk/features/src/ core3/headless-distribution/trunk/features/src/main/ core3/headless-distribution/trunk/features/src/main/resources/ core3/headless-distribution/trunk/features/src/main/resources/features.xml core3/headless-distribution/trunk/pom.xml Log: initial import Added: core3/headless-distribution/trunk/assembly/pom.xml =================================================================== --- core3/headless-distribution/trunk/assembly/pom.xml (rev 0) +++ core3/headless-distribution/trunk/assembly/pom.xml 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,284 @@ +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.cytoscape.headless-distribution</groupId> + <artifactId>parent</artifactId> + <version>3.0.0-M4-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> + + <groupId>org.cytoscape.headless-distribution</groupId> + <artifactId>cytoscape</artifactId> + <packaging>pom</packaging> + <name>Cytoscape Karaft Distribution</name> + + <dependencies> + <dependency> + <groupId>org.apache.karaf</groupId> + <artifactId>apache-karaf</artifactId> + <version>${karaf.version}</version> + <type>tar.gz</type> + </dependency> + <dependency> + <groupId>org.apache.karaf</groupId> + <artifactId>apache-karaf</artifactId> + <version>${karaf.version}</version> + <type>zip</type> + </dependency> + <dependency> + <groupId>org.apache.karaf.assemblies.features</groupId> + <artifactId>standard</artifactId> + <version>${karaf.version}</version> + <type>xml</type> + <classifier>features</classifier> + </dependency> + </dependencies> + + <build> + <resources> + <resource> + <directory>src/main/filtered-resources</directory> + <filtering>true</filtering> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>xml-maven-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <id>generate-descriptors</id> + <phase>generate-resources</phase> + <goals> + <goal>transform</goal> + </goals> + </execution> + </executions> + <configuration> + <transformationSets> + <transformationSet> + <dir>src/main/descriptors</dir> + <includes> + <include>config-*.xml</include> + </includes> + <stylesheet>src/main/xsl/template.xslt</stylesheet> + </transformationSet> + </transformationSets> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>${maven-resources-plugin.version}</version> + <executions> + <execution> + <id>filter</id> + <phase>generate-resources</phase> + <goals> + <goal>resources</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.karaf.tooling</groupId> + <artifactId>features-maven-plugin</artifactId> + <version>${karaf.version}</version> + <executions> + <execution> + <id>add-features-to-repo</id> + <phase>prepare-package</phase> + <goals> + <goal>add-features-to-repo</goal> + </goals> + <configuration> + <descriptors> + <descriptor>mvn:org.cytoscape.headless-distribution/features/${project.version}/xml/features</descriptor> + </descriptors> + <features> + <feature>cytoscape-headless</feature> + </features> + <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors> + <repository>target/features-repo</repository> + </configuration> + </execution> + <execution> + <id>add-features-to-repo-dev</id> + <phase>process-resources</phase> + <goals> + <goal>add-features-to-repo</goal> + </goals> + <configuration> + <descriptors> + <descriptor>mvn:org.cytoscape.headless-distribution/features/${project.version}/xml/features</descriptor> + </descriptors> + <features/> + <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors> + <repository>target/features-repo-dev</repository> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>${maven-dependency-plugin.version}</version> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>generate-resources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.cytoscape.distribution</groupId> + <artifactId>karaf-launcher</artifactId> + <version>${project.version}</version> + <type>jar</type> + <outputDirectory>target/dependencies/launcher</outputDirectory> + </artifactItem> + </artifactItems> + </configuration> + </execution> + <execution> + <id>unpack-unix</id> + <phase>generate-resources</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.apache.karaf</groupId> + <artifactId>apache-karaf</artifactId> + <type>tar.gz</type> + <outputDirectory>target/dependencies/unix</outputDirectory> + </artifactItem> + </artifactItems> + </configuration> + </execution> + <execution> + <id>unpack-windows</id> + <phase>generate-resources</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.apache.karaf</groupId> + <artifactId>apache-karaf</artifactId> + <type>zip</type> + <outputDirectory>target/dependencies/windows</outputDirectory> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>${maven-assembly-plugin.version}</version> + <executions> + <execution> + <id>directory</id> + <phase>compile</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>target/generated-resources/xml/xslt/config-dev.xml</descriptor> + </descriptors> + <finalName>${project.artifactId}</finalName> + </configuration> + </execution> + <execution> + <id>unix-bin</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>target/generated-resources/xml/xslt/config-unix.xml</descriptor> + </descriptors> + <finalName>${project.artifactId}-unix-${project.version}</finalName> + <tarLongFileMode>gnu</tarLongFileMode> + </configuration> + </execution> + <execution> + <id>windows-bin</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>target/generated-resources/xml/xslt/config-windows.xml</descriptor> + </descriptors> + <finalName>${project.artifactId}-windows-${project.version}</finalName> + </configuration> + </execution> + </executions> + <configuration> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </plugin> + <plugin> + <groupId>com.google.code.maven-replacer-plugin</groupId> + <artifactId>maven-replacer-plugin</artifactId> + <version>1.3.9</version> + <executions> + <execution> + <id>patch-karaf-main-unix</id> + <phase>compile</phase> + <goals> + <goal>replace</goal> + </goals> + <configuration> + <file>target/dependencies/unix/apache-karaf-${karaf.version}/bin/karaf</file> + <outputFile>target/dependencies/launcher/bin/karaf</outputFile> + </configuration> + </execution> + <execution> + <id>patch-karaf-main-windows</id> + <phase>compile</phase> + <goals> + <goal>replace</goal> + </goals> + <configuration> + <file>target/dependencies/windows/apache-karaf-${karaf.version}/bin/karaf.bat</file> + <outputFile>target/dependencies/launcher/bin/karaf.bat</outputFile> + </configuration> + </execution> + </executions> + <configuration> + <regex>false</regex> + <unescape>false</unescape> + <replacements> + <replacement> + <token>MAIN=org.apache.karaf.main.Main</token> + <value>MAIN=org.cytoscape.launcher.internal.Launcher</value> + </replacement> + </replacements> + </configuration> + </plugin> + </plugins> + </build> +</project> Added: core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.bat =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.bat (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.bat 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,93 @@ +@echo off + +set KARAF_TITLE=Cytoscape +set DEBUG_PORT=12345 + +set JAVA_MAX_MEM=1550M + +set JAVA_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT% +set KARAF_OPTS=-Xss10M -splash:CytoscapeSplashScreen.png + +if not "X%JAVA_HOME%"==X goto TryJDKEnd +goto :TryJRE + +:warn + echo %KARAF_TITLE%: %* +goto :EOF + +:TryJRE + reg export "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" __reg1.txt + if not exist __reg1.txt goto :TryJDK + type __reg1.txt | find "CurrentVersion" > __reg2.txt + if errorlevel 1 goto :TryJDK + for /f "tokens=2 delims==" %%x in (__reg2.txt) do set JavaTemp=%%~x + if errorlevel 1 goto :TryJDK + set JavaTemp=%JavaTemp%## + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp:##=% + del __reg1.txt + del __reg2.txt + reg export "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\%JavaTemp%" __reg1.txt + if not exist __reg1.txt goto :TryJDK + type __reg1.txt | find "JavaHome" > __reg2.txt + if errorlevel 1 goto :TryJDK + for /f "tokens=2 delims==" %%x in (__reg2.txt) do set JAVA_HOME=%%~x + if errorlevel 1 goto :TryJDK + del __reg1.txt + del __reg2.txt + goto TryJDKEnd +:TryJDK + reg export "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit" __reg1.txt + if not exist __reg1.txt ( + call :warn Unable to retrieve JAVA_HOME + goto END + ) + type __reg1.txt | find "CurrentVersion" > __reg2.txt + if errorlevel 1 ( + call :warn Unable to retrieve JAVA_HOME + goto END + ) + for /f "tokens=2 delims==" %%x in (__reg2.txt) do set JavaTemp=%%~x + if errorlevel 1 ( + call :warn Unable to retrieve JAVA_HOME + goto END + ) + set JavaTemp=%JavaTemp%## + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp: ##=##% + set JavaTemp=%JavaTemp:##=% + del __reg1.txt + del __reg2.txt + reg export "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\%JavaTemp%" __reg1.txt + if not exist __reg1.txt ( + call :warn Unable to retrieve JAVA_HOME from JDK + goto END + ) + type __reg1.txt | find "JavaHome" > __reg2.txt + if errorlevel 1 ( + call :warn Unable to retrieve JAVA_HOME + goto END + ) + for /f "tokens=2 delims==" %%x in (__reg2.txt) do set JAVA_HOME=%%~x + if errorlevel 1 ( + call :warn Unable to retrieve JAVA_HOME + goto END + ) + del __reg1.txt + del __reg2.txt +:TryJDKEnd + if not exist "%JAVA_HOME%" ( + call :warn JAVA_HOME is not valid: "%JAVA_HOME%" + goto END + ) + set JAVA=%JAVA_HOME%\bin\java +:END + +framework/bin/karaf %1 %2 %3 %4 %5 %6 %7 %8 Added: core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.sh =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.sh (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/bin/cytoscape.sh 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,15 @@ +#!/bin/bash + +DEBUG_PORT=12345 + +cd $(dirname $0) + +export JAVA_MAX_MEM=1550M + +export JAVA_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${DEBUG_PORT}" +if [ `uname` = "Darwin" ]; then + CYTOSCAPE_MAC_OPTS="-Xdock:icon=cytoscape_logo_512.png" +fi +export KARAF_OPTS="-Xss10M -splash:CytoscapeSplashScreen.png $CYTOSCAPE_MAC_OPTS" + +framework/bin/karaf "$@" Added: core3/headless-distribution/trunk/assembly/src/main/descriptors/config-dev.xml =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/descriptors/config-dev.xml (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/descriptors/config-dev.xml 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,20 @@ +<config> + <id>dev</id> + <output-format>dir</output-format> + <line-ending>keep</line-ending> + <karaf> + <feature-repository>target/features-repo-dev</feature-repository> + <distribution base="target/dependencies/unix/apache-karaf-${karaf.version}"> + <scripts> + <script>bin/karaf.bat</script> + <script>bin/karaf</script> + </scripts> + </distribution> + </karaf> + <cytoscape> + <scripts> + <script>cytoscape.sh</script> + <script>cytoscape.bat</script> + </scripts> + </cytoscape> +</config> \ No newline at end of file Added: core3/headless-distribution/trunk/assembly/src/main/descriptors/config-unix.xml =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/descriptors/config-unix.xml (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/descriptors/config-unix.xml 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,18 @@ +<config> + <id>unix</id> + <output-format>tar.gz</output-format> + <line-ending>unix</line-ending> + <karaf> + <feature-repository>target/features-repo</feature-repository> + <distribution base="target/dependencies/unix/apache-karaf-${karaf.version}"> + <scripts> + <script>bin/karaf</script> + </scripts> + </distribution> + </karaf> + <cytoscape> + <scripts> + <script>cytoscape.sh</script> + </scripts> + </cytoscape> +</config> \ No newline at end of file Added: core3/headless-distribution/trunk/assembly/src/main/descriptors/config-windows.xml =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/descriptors/config-windows.xml (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/descriptors/config-windows.xml 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,20 @@ +<config> + <id>windows</id> + <output-format>zip</output-format> + <line-ending>dos</line-ending> + <karaf> + <feature-repository>target/features-repo</feature-repository> + <distribution base="target/dependencies/windows/apache-karaf-${karaf.version}"> + <scripts> + <script>bin/karaf.bat</script> + <script>bin/karaf</script> + </scripts> + </distribution> + </karaf> + <cytoscape> + <scripts> + <script>cytoscape.bat</script> + <script>cytoscape.sh</script> + </scripts> + </cytoscape> +</config> Added: core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,2 @@ +featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features,mvn:org.cytoscape.headless-distribution/features/${project.version}/xml/features +featuresBoot=cytoscape-headless Added: core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/system.properties =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/system.properties (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/filtered-resources/etc/system.properties 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,10 @@ +karaf.name=Cytoscape ${project.version} +karaf.default.repository=system + +org.ops4j.pax.logging.DefaultServiceLog.level=ERROR + +awt.useSystemAAFontSettings=lcd +apple.laf.useScreenMenuBar=true +apple.awt.rendering=speed +apple.awt.fileDialogForDirectories=true +com.apple.mrj.application.apple.menu.about.name=Cytoscape Added: core3/headless-distribution/trunk/assembly/src/main/resources/cytoscape_logo_512.png =================================================================== (Binary files differ) Property changes on: core3/headless-distribution/trunk/assembly/src/main/resources/cytoscape_logo_512.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: core3/headless-distribution/trunk/assembly/src/main/resources/etc/custom.properties =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/resources/etc/custom.properties (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/resources/etc/custom.properties 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,4 @@ +karaf.systemBundlesStartLevel=99 +karaf.startlevel.bundle=200 +org.osgi.framework.startlevel.beginning=200 +org.osgi.framework.system.packages.extra = org.apache.karaf.branding,org.cytoscape.launcher.internal,com.sun.xml.internal.bind,com.apple.eawt; Added: core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,42 @@ +# pax-logging configuration +# author: Pasteur + +# The following specifies that log messages are sent to the Console and +# status bar +log4j.rootLogger=ALL, stdout, osgi:OrgCytoscapeLogSwingAdvancedAppender, osgi:OrgCytoscapeLogSwingSimpleAppender, osgi:OrgCytoscapeLogSwingStatusBarAppender + +# +# Log messages from the standard library classes, JVM-specific +# classes, the OSGi framework, and the Spring framework will +# be written to a separate file to avoid message overload. +# These messages are useful for debugging framework related +# problems (e.g. why didn't my service get registered?), but +# aren't (generally) relevant to Cytoscape operations. +# +# Messages include: +# java.*, javax.*, sun.*, and org.springframework.*. +# + +log4j.appender.file=org.apache.log4j.DailyRollingFileAppender +log4j.appender.file.threshold=INFO +log4j.appender.file.File=framework-cytoscape.log +log4j.appender.file.layout=org.apache.log4j.PatternLayout +log4j.appender.file.layout.ConversionPattern=%d [%t] %-5p %c - %m%n + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout.ConversionPattern=%t %p [%c] - %m%n +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.threshold=WARN + + +log4j.logger.java=NONE,file +log4j.additivity.java=false + +log4j.logger.javax=NONE,file +log4j.additivity.javax=false + +log4j.logger.sun=NONE,file +log4j.additivity.sun=false + +log4j.logger.org.springframework=NONE,file +log4j.additivity.org.springframework=false Added: core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.url.mvn.cfg =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.url.mvn.cfg (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/resources/etc/org.ops4j.pax.url.mvn.cfg 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,92 @@ +################################################################################ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + +# +# If set to true, the following property will not allow any certificate to be used +# when accessing Maven repositories through SSL +# +#org.ops4j.pax.url.mvn.certificateCheck= + +# +# Path to the local Maven settings file. +# The repositories defined in this file will be automatically added to the list +# of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property +# below is not set. +# The following locations are checked for the existence of the settings.xml file +# * 1. looks for the specified url +# * 2. if not found looks for ${user.home}/.m2/settings.xml +# * 3. if not found looks for ${maven.home}/conf/settings.xml +# * 4. if not found looks for ${M2_HOME}/conf/settings.xml +# +#org.ops4j.pax.url.mvn.settings= + +# +# Path to the local Maven repository which is used to avoid downloading +# artifacts when they already exist locally. +# The value of this property will be extracted from the settings.xml file +# above, or defaulted to: +# System.getProperty( "user.home" ) + "/.m2/repository" +# +#org.ops4j.pax.url.mvn.localRepository= + +# +# Default this to false. It's just weird to use undocumented repos +# +org.ops4j.pax.url.mvn.useFallbackRepositories=false + +# +# Uncomment if you are behind a web proxy. PAX URL will use the proxy settings +# from the Maven conf/settings.xml file +# +# org.ops4j.pax.url.mvn.proxySupport=true + +# +# Disable aether support by default. This ensure that the defaultRepositories +# below will be used +# +org.ops4j.pax.url.mvn.disableAether=true + +# +# Comma separated list of repositories scanned when resolving an artifact. +# Those repositories will be checked before iterating through the +# below list of repositories and even before the local repository +# A repository url can be appended with zero or more of the following flags: +# @snapshots : the repository contains snaphots +# @noreleases : the repository does not contain any released artifacts +# +# The following property value will add the system folder as a repo. +# +org.ops4j.pax.url.mvn.defaultRepositories=file:${karaf.home}/${karaf.default.repository}@snapshots,\ + file:${karaf.home}/local-repo@snapshots + +# +# Comma separated list of repositories scanned when resolving an artifact. +# The default list includes the following repositories: +# http://repo1.maven.org/maven2 +# http://repository.apache.org/content/groups/snapshots-group +# http://svn.apache.org/repos/asf/servicemix/m2-repo +# http://repository.springsource.com/maven/bundles/release +# http://repository.springsource.com/maven/bundles/external +# To add repositories to the default ones, prepend '+' to the list of repositories +# to add. +# A repository url can be appended with zero or more of the following flags: +# @snapshots : the repository contains snaphots +# @noreleases : the repository does not contain any released artifacts +# +org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2,http://code.cytoscape.org/nexus/content/groups/public@snapshots \ No newline at end of file Added: core3/headless-distribution/trunk/assembly/src/main/xsl/template.xslt =================================================================== --- core3/headless-distribution/trunk/assembly/src/main/xsl/template.xslt (rev 0) +++ core3/headless-distribution/trunk/assembly/src/main/xsl/template.xslt 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + exclude-result-prefixes="xs"> + + <xsl:output indent="yes"/> + + <xsl:template match="/"> +<assembly> + <id><xsl:value-of select="/config/id"/></id> + + <xsl:if test="/config/id = 'dev'"> + <includeBaseDirectory>false</includeBaseDirectory> + </xsl:if> + + <formats> + <format><xsl:value-of select="/config/output-format"/></format> + </formats> + + <fileSets> + <fileSet> + <directory><xsl:value-of select="/config/karaf/distribution/@base"/></directory> + <outputDirectory>/framework</outputDirectory> + <excludes> + <exclude>**/demos/**</exclude> + <exclude>bin/**</exclude> + <exclude>etc/custom.properties</exclude> + <exclude>etc/system.properties</exclude> + <exclude>etc/users.properties</exclude> + <exclude>etc/org.ops4j.pax.url.mvn.cfg</exclude> + <exclude>etc/org.apache.karaf.features.cfg</exclude> + <exclude>etc/org.ops4j.pax.logging.cfg</exclude> + <exclude>LICENSE</exclude> + <exclude>NOTICE</exclude> + <exclude>README</exclude> + <exclude>RELEASE-NOTES</exclude> + <exclude>karaf-manual*.html</exclude> + <exclude>karaf-manual*.pdf</exclude> + </excludes> + </fileSet> + + <!-- Copy over bin/* separately to get the correct file mode --> + <fileSet> + <directory>target/dependencies/launcher</directory> + <outputDirectory>/framework</outputDirectory> + <includes> + <xsl:for-each select="scripts/script"> + <include><xsl:value-of select="."/></include> + </xsl:for-each> + </includes> + <excludes> + <exclude>*.jar</exclude> + </excludes> + <fileMode>0755</fileMode> + </fileSet> + + <fileSet> + <directory>src/main/bin</directory> + <outputDirectory>/</outputDirectory> + <lineEnding><xsl:value-of select="/config/line-ending"/></lineEnding> + <fileMode>0755</fileMode> + <includes> + <xsl:for-each select="/config/cytoscape/scripts/script"> + <include><xsl:value-of select="."/></include> + </xsl:for-each> + </includes> + </fileSet> + + <fileSet> + <directory>target/dependencies/branding</directory> + <includes> + <include>*.jar</include> + </includes> + <outputDirectory>/framework/lib</outputDirectory> + </fileSet> + + <fileSet> + <directory>target/dependencies/launcher</directory> + <includes> + <include>*.jar</include> + </includes> + <outputDirectory>/framework/lib</outputDirectory> + </fileSet> + + <fileSet> + <directory>target/dependencies/splash-launcher/images</directory> + <includes> + <include>CytoscapeSplashScreen.png</include> + </includes> + <outputDirectory>/framework</outputDirectory> + </fileSet> + + <fileSet> + <directory>src/main/resources</directory> + <includes> + <include>*.png</include> + </includes> + <outputDirectory>/framework</outputDirectory> + </fileSet> + + <fileSet> + <directory>src/main/distribution</directory> + <outputDirectory>/framework</outputDirectory> + <fileMode>0644</fileMode> + </fileSet> + <fileSet> + <directory>target/classes/etc</directory> + <outputDirectory>/framework/etc/</outputDirectory> + <lineEnding><xsl:value-of select="/config/line-ending"/></lineEnding> + <fileMode>0644</fileMode> + <excludes> + <exclude>**/*.formatted</exclude> + </excludes> + </fileSet> + + <fileSet> + <directory><xsl:value-of select="/config/karaf/feature-repository"/></directory> + <outputDirectory>/framework/system</outputDirectory> + </fileSet> + + </fileSets> +</assembly> + +</xsl:template> +</xsl:stylesheet> \ No newline at end of file Added: core3/headless-distribution/trunk/features/pom.xml =================================================================== --- core3/headless-distribution/trunk/features/pom.xml (rev 0) +++ core3/headless-distribution/trunk/features/pom.xml 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,66 @@ +<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.cytoscape.headless-distribution</groupId> + <artifactId>parent</artifactId> + <version>3.0.0-M4-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> + + <artifactId>features</artifactId> + <packaging>pom</packaging> + <name>Cytoscape Feature Repository</name> + + <build> + <plugins> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>${maven-resources-plugin.version}</version> + <executions> + <execution> + <id>copy-resources</id> + <phase>validate</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/target</outputDirectory> + <resources> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>attach-artifacts</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>target/features.xml</file> + <type>xml</type> + <classifier>features</classifier> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Added: core3/headless-distribution/trunk/features/src/main/resources/features.xml =================================================================== --- core3/headless-distribution/trunk/features/src/main/resources/features.xml (rev 0) +++ core3/headless-distribution/trunk/features/src/main/resources/features.xml 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="UTF-8"?> +<features> + <feature name="cytoscape-headless" version="${project.version}"> + + <bundle start-level="100">mvn:org.cytoscape/splash-updater-impl/${cytoscape.support.version}</bundle> + + <bundle start-level="102">mvn:cytoscape-temp/l2fprod-common-sheet/7.3</bundle> + + <bundle start-level="103">mvn:com.lowagie.text/com.springsource.com.lowagie.text/2.0.8</bundle> + <bundle start-level="103">mvn:cytoscape-temp/org.swinglabs.swingx/1.6.1</bundle> + <bundle start-level="103">mvn:cytoscape-temp/l2fprod-common-shared/7.3</bundle> + <bundle start-level="103">mvn:cytoscape-temp/l2fprod-common-fontchooser/7.3</bundle> + <bundle start-level="103">wrap:mvn:net.sf.opencsv/opencsv/2.1</bundle> + <bundle start-level="103">mvn:cytoscape-sun/jhall/1.0</bundle> + <bundle start-level="103">mvn:org.apache.commons/com.springsource.org.apache.commons.collections/3.2.1</bundle> + <bundle start-level="103">mvn:cytoscape-temp/colt/1.2.0</bundle> + <bundle start-level="103">mvn:cytoscape-temp/parallelcolt/0.9.4</bundle> + <bundle start-level="103">mvn:cytoscape-temp/prefuse/20071021</bundle> + <bundle start-level="103">mvn:cytoscape-temp/org.apache.lucene/3.0.2</bundle> + <bundle start-level="103">mvn:org.jdom/com.springsource.org.jdom/1.1.0</bundle> + <bundle start-level="103">mvn:cytoscape-temp/org.swinglabs.swing-layout/1.0.3</bundle> + <bundle start-level="103">mvn:cytoscape-temp/freehep-graphicsio/2.1.3</bundle> + <bundle start-level="103">mvn:cytoscape-temp/freehep-graphicsio-svg/2.1.3</bundle> + <bundle start-level="103">mvn:cytoscape-temp/freehep-graphics2d/2.1.3</bundle> + <bundle start-level="103">mvn:cytoscape-temp/freehep-graphicsio-ps/2.1.3</bundle> + <bundle start-level="103">mvn:cytoscape-temp/freehep-graphics-base/2.1.3</bundle> + <bundle start-level="103">mvn:cytoscape-temp/freehep-io/2.1</bundle> + <bundle start-level="103">mvn:cytoscape-temp/jfree-jfreechart/1.0.13</bundle> + <bundle start-level="103">mvn:cytoscape-temp/jfree-jcommon/1.0.15</bundle> + <bundle start-level="103">mvn:org.apache.xmlbeans/com.springsource.org.apache.xmlbeans/2.4.0</bundle> + <bundle start-level="103">mvn:cytoscape-temp/org.apache.poi-all/3.6</bundle> + <bundle start-level="103">mvn:org.dom4j/com.springsource.org.dom4j/1.6.1</bundle> + <bundle start-level="103">mvn:cytoscape-temp/violinstrings/1.0.2</bundle> + <bundle start-level="103">mvn:cytoscape-temp/jsbml/0.8-b1</bundle> + <bundle start-level="103">mvn:cytoscape-temp/jigsaw/2.2.6</bundle> + <bundle start-level="103">mvn:cytoscape-temp/stax2-api/3.0.1</bundle> + <bundle start-level="103">mvn:cytoscape-temp/staxmate/2.0.0</bundle> + <bundle start-level="103">mvn:cytoscape-temp/woodstox-core-lgpl/4.0.5</bundle> + <bundle start-level="103">mvn:cytoscape-temp/xstream/1.3.1</bundle> + <bundle start-level="103">mvn:org.apache.commons/com.springsource.org.apache.commons.codec/1.3.0</bundle> + <bundle start-level="103">mvn:cytoscape-temp/collections-generic/4.01</bundle> + <bundle start-level="103">mvn:org.apache.commons/com.springsource.org.apache.commons.lang/2.4.0</bundle> + <bundle start-level="103">mvn:org.apache.commons/com.springsource.org.apache.commons.httpclient/3.1.0</bundle> + <bundle start-level="103">mvn:com.googlecode.guava-osgi/guava-osgi/9.0.0</bundle> + <bundle start-level="103">mvn:org.cytoscape/cy-commons-cli/${cytoscape.support.version}</bundle> + <bundle start-level="103">mvn:org.apache.commons/com.springsource.org.apache.commons.io/1.4.0</bundle> + <bundle start-level="103">mvn:psidev.psi.tools/xxindex/0.11</bundle> + <bundle start-level="103">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.1/1.2.0</bundle> + <bundle start-level="103">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.1.6_1</bundle> + <bundle start-level="103">mvn:javax.activation/com.springsource.javax.activation/1.1.1</bundle> + <bundle start-level="103">mvn:javax.xml.stream/com.springsource.javax.xml.stream/1.0.1</bundle> + + <bundle start-level="104">mvn:psidev.psi.mi/psi25-xml/1.7.10-SNAPSHOT</bundle> + + <bundle start-level="110">mvn:org.cytoscape/cmdline/${cytoscape.support.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/equations-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/model-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/group-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/viewmodel-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/vizmap-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/vizmap-gui-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/work-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/work-swing-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/swing-application-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/event-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/app-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/io-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/session-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/core-task-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/layout-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/presentation-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/property-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/webservice-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/webservice-swing-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/application-api/${cytoscape.api.version}</bundle> + <bundle start-level="110">mvn:org.cytoscape/datasource-api/${cytoscape.api.version}</bundle> + + <bundle start-level="115">mvn:org.cytoscape.distribution/cmdline-impl/${project.version}</bundle> + <bundle start-level="115">mvn:org.cytoscape/property-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="120">mvn:org.cytoscape/datasource-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="120">mvn:org.cytoscape/equations-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="120">mvn:org.cytoscape/event-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="120">mvn:org.cytoscape/swing-util-api/${cytoscape.api.version}</bundle> + <bundle start-level="120">mvn:org.cytoscape/service-api/${cytoscape.api.version}</bundle> + + <bundle start-level="125">mvn:org.cytoscape/model-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="125">mvn:org.cytoscape/group-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="125">mvn:org.cytoscape/work-swing-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="125">mvn:org.cytoscape/presentation-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="130">mvn:org.cytoscape/layout-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="130">mvn:org.cytoscape/viewmodel-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="130">mvn:org.cytoscape/vizmap-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="135">mvn:org.cytoscape/application-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="140">mvn:org.cytoscape/datasource-biogrid-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="140">mvn:org.cytoscape/command-executor-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="140">mvn:org.cytoscape/session-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="145">mvn:org.cytoscape/ding-presentation-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="150">mvn:org.cytoscape/io-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="155">mvn:org.cytoscape/core-task-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="160">mvn:org.cytoscape/swing-application-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="160">mvn:org.cytoscape/group-data-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="160">mvn:org.cytoscape/group-view-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="165">mvn:org.cytoscape/biopax-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="170">mvn:org.cytoscape/search-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/table-browser-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/vizmap-gui-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/log-swing-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/manual-layout-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/layout-cytoscape-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/webservice-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/editor-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/layout-prefuse-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:cytoscape-temp/y-layouts/3.0.0</bundle> + <bundle start-level="170">mvn:org.cytoscape/linkout-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/psi-mi-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/network-analyzer-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/table-import-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/webservice-psicquic-client-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/webservice-biomart-client-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/filter-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/sbml-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/cpath2-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/network-merge-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/graphml-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="170">mvn:org.cytoscape/edge-bundler-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="175">mvn:org.cytoscape/app-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="180">mvn:org.cytoscape/scripting-impl/${cytoscape.impl.version}</bundle> + + <bundle start-level="185">mvn:org.cytoscape/gui-cmdline-parser-impl/${cytoscape.impl.version}</bundle> + <bundle start-level="190">mvn:org.cytoscape/welcome-impl/${cytoscape.impl.version}</bundle> + + </feature> +</features> Added: core3/headless-distribution/trunk/pom.xml =================================================================== --- core3/headless-distribution/trunk/pom.xml (rev 0) +++ core3/headless-distribution/trunk/pom.xml 2012-04-25 00:05:03 UTC (rev 28979) @@ -0,0 +1,105 @@ +<?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> + <groupId>org.cytoscape</groupId> + <artifactId>parent</artifactId> + <version>3.0.0-alpha9-SNAPSHOT</version> + <relativePath>../parent</relativePath> + </parent> + + <groupId>org.cytoscape.headless-distribution</groupId> + <artifactId>parent</artifactId> + <version>3.0.0-M4-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Cytoscape Headless Distribution</name> + + <properties> + <cytoscape.api.version>3.0.0-alpha8-SNAPSHOT</cytoscape.api.version> + <cytoscape.impl.version>3.0.0-alpha8-SNAPSHOT</cytoscape.impl.version> + <cytoscape.support.version>3.0.0-alpha7-SNAPSHOT</cytoscape.support.version> + <karaf.version>2.2.3</karaf.version> + </properties> + + <repositories> + <repository> + <id>cytoscape_snapshots</id> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + <name>Cytoscape Snapshots</name> + <url>http://code.cytoscape.org/nexus/content/repositories/snapshots/</url> + </repository> + <repository> + <id>cytoscape_releases</id> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + <name>Cytoscape Releases</name> + <url>http://code.cytoscape.org/nexus/content/repositories/releases/</url> + </repository> + </repositories> + + <build> + <plugins> + <plugin> + <inherited>false</inherited> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <version>${maven-release-plugin.version}</version> + <configuration> + <autoVersionSubmodules>true</autoVersionSubmodules> + <goals>deploy</goals> + <!-- so that impl bundles with modules will build correctly --> + <preparationGoals>clean install</preparationGoals> + </configuration> + </plugin> + </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>${maven-dependency-plugin.version}</version> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <outputDirectory>${project.build.directory}/bundles</outputDirectory> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>true</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + <excludeTransitive>true</excludeTransitive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + </build> + + <profiles> + <profile> + <id>all</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <modules> + <module>features</module> + <module>assembly</module> + </modules> + </profile> + </profiles> +</project> -- You received this message because you are subscribed to the Google Groups "cytoscape-cvs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cytoscape-cvs?hl=en.
