Permalink
Browse files

Startup everything by default

  • Loading branch information...
dkulp committed Nov 7, 2011
1 parent 9595e3e commit 70dcddcaa73bb07b2658ee87548d04fa9a02f1d3
@@ -12,5 +12,5 @@ featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/${karaf.v
#
# Comma separated list of features to install at startup
#
-featuresBoot=config,ssh,management
+featuresBoot=config,ssh,management,memories,scrapbook
@@ -26,7 +26,11 @@
<bundle>mvn:com.apachecon.memories/speechbubble/${project.version}</bundle>
<bundle>mvn:com.apachecon.memories/hippocampus/${project.version}</bundle>
+ </feature>
+ <feature name="scrapbook" version="${project.version}" resolver='(obr)'>
+ <feature>war</feature>
+ <bundle>mvn:com.apachecon.memories/scrapbook/${project.version}/war?Webapp-Context=/</bundle>
</feature>
</features>
View
@@ -1,120 +1,168 @@
<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>
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>com.apachecon.memories</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.0</version>
+ </parent>
- <parent>
<groupId>com.apachecon.memories</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>scrapbook</artifactId>
+ <packaging>war</packaging>
<version>1.0</version>
- </parent>
- <groupId>com.apachecon.memories</groupId>
- <artifactId>scrapbook</artifactId>
- <packaging>war</packaging>
- <version>1.0</version>
+ <name>ApacheCon :: Memories :: Scrapbook</name>
+ <url>http://apachecon.com</url>
- <name>ApacheCon :: Memories :: Scrapbook</name>
- <url>http://apachecon.com</url>
+ <properties>
+ <wicket.version>1.5.2</wicket.version>
+ <jetty.version>7.5.0.v20110901</jetty.version>
+ </properties>
- <properties>
- <wicket.version>1.5.2</wicket.version>
- <jetty.version>7.5.0.v20110901</jetty.version>
-</properties>
+ <dependencies>
+ <!-- Apache Wicket -->
+ <dependency>
+ <groupId>org.apache.wicket</groupId>
+ <artifactId>wicket-core</artifactId>
+ <version>${wicket.version}</version>
+ </dependency>
- <dependencies>
- <!-- Apache Wicket -->
- <dependency>
- <groupId>org.apache.wicket</groupId>
- <artifactId>wicket-core</artifactId>
- <version>${wicket.version}</version>
- </dependency>
+ <!-- Required for security stuff -->
+ <dependency>
+ <groupId>org.apache.wicket</groupId>
+ <artifactId>wicket-auth-roles</artifactId>
+ <version>${wicket.version}</version>
+ </dependency>
- <!-- Required for security stuff -->
- <dependency>
- <groupId>org.apache.wicket</groupId>
- <artifactId>wicket-auth-roles</artifactId>
- <version>${wicket.version}</version>
- </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
+ <!-- Testing -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.aggregate</groupId>
+ <artifactId>jetty-all-server</artifactId>
+ <version>${jetty.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
- <!-- Testing -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.aggregate</groupId>
- <artifactId>jetty-all-server</artifactId>
- <version>${jetty.version}</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+ <build>
+ <resources>
+ <resource>
+ <filtering>false</filtering>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <filtering>false</filtering>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <filtering>false</filtering>
+ <directory>src/test/resources</directory>
+ </testResource>
+ <testResource>
+ <filtering>false</filtering>
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </testResource>
+ </testResources>
- <build>
- <resources>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <filtering>false</filtering>
- <directory>src/test/resources</directory>
- </testResource>
- <testResource>
- <filtering>false</filtering>
- <directory>src/test/java</directory>
- <includes>
- <include>**</include>
- </includes>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <version>${jetty.version}</version>
+ <configuration>
+ <connectors>
+ <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
+ <port>8080</port>
+ <maxIdleTime>3600000</maxIdleTime>
+ </connector>
+ <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
+ <port>8443</port>
+ <maxIdleTime>3600000</maxIdleTime>
+ <keystore>${project.build.directory}/test-classes/keystore</keystore>
+ <password>wicket</password>
+ <keyPassword>wicket</keyPassword>
+ </connector>
+ </connectors>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1.1</version>
+ <configuration>
+ <packagingExcludes>WEB-INF/lib/jetty*.jar, WEB-INF/lib/servlet*.jar</packagingExcludes>
+ <archive>
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>bundle-manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <supportedProjectTypes>
+ <supportedProjectType>jar</supportedProjectType>
+ <supportedProjectType>bundle</supportedProjectType>
+ <supportedProjectType>war</supportedProjectType>
+ </supportedProjectTypes>
+ <instructions>
+ <Webapp-Context>scrapbook</Webapp-Context>
+ <Web-ContextPath>/</Web-ContextPath>
+ <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
+ <Embed-Directory>WEB-INF/lib</Embed-Directory>
+ <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
+ <Embed-Transitive>true</Embed-Transitive>
+ <Import-Package>
+ !junit.framework,
+ !com.ibm.uvm.tools,
+ !com.sun.jdmk.comm,
+ !javax.jmdns,
+ javax.servlet,
+ *
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>${jetty.version}</version>
- <configuration>
- <connectors>
- <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
- <port>8080</port>
- <maxIdleTime>3600000</maxIdleTime>
- </connector>
- <connector implementation="org.eclipse.jetty.server.ssl.SslSocketConnector">
- <port>8443</port>
- <maxIdleTime>3600000</maxIdleTime>
- <keystore>${project.build.directory}/test-classes/keystore</keystore>
- <password>wicket</password>
- <keyPassword>wicket</keyPassword>
- </connector>
- </connectors>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ </plugins>
+ </build>
</project>

0 comments on commit 70dcddc

Please sign in to comment.