Permalink
Browse files

Merge pull request #711 from sonatype/h2-provider-plugin

H2 provider plugin
  • Loading branch information...
2 parents e3b1c63 + cd369d8 commit 36e02dcfc9c638abb3040494db4fc5f52f7095c0 @jdillon jdillon committed Jan 8, 2013
Showing with 88 additions and 2 deletions.
  1. +19 −2 nexus-webapp/pom.xml
  2. +68 −0 plugins/h2/pom.xml
  3. +1 −0 plugins/pom.xml
View
@@ -12,7 +12,8 @@
Eclipse Foundation. All other trademarks are the property of their respective owners.
-->
-<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>
@@ -75,6 +76,15 @@
<dependency>
<groupId>org.sonatype.nexus.plugins</groupId>
+ <artifactId>nexus-h2-plugin</artifactId>
+ <version>${project.version}</version>
+ <classifier>bundle</classifier>
+ <type>zip</type>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-restlet1x-plugin</artifactId>
<version>${project.version}</version>
<classifier>bundle</classifier>
@@ -172,6 +182,13 @@
<artifactItems>
<artifactItem>
<groupId>org.sonatype.nexus.plugins</groupId>
+ <artifactId>nexus-h2-plugin</artifactId>
+ <version>${project.version}</version>
+ <classifier>bundle</classifier>
+ <type>zip</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.sonatype.nexus.plugins</groupId>
<artifactId>nexus-restlet1x-plugin</artifactId>
<version>${project.version}</version>
<classifier>bundle</classifier>
@@ -273,7 +290,7 @@
</excludes>
<includes>
<include>**/*.js</include>
- </includes>
+ </includes>
</aggregation>
<aggregation>
<output>${project.build.outputDirectory}/style/sonatype-all.css</output>
View
@@ -0,0 +1,68 @@
+<!--
+
+ Sonatype Nexus (TM) Open Source Version
+ Copyright (c) 2007-2012 Sonatype, Inc.
+ All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
+
+ This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
+ which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.
+
+ Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
+ of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
+ Eclipse Foundation. All other trademarks are the property of their respective owners.
+
+-->
+<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.sonatype.nexus.plugins</groupId>
+ <artifactId>nexus-core-plugins</artifactId>
+ <version>2.4-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>nexus-h2-plugin</artifactId>
+ <packaging>nexus-plugin</packaging>
+
+ <properties>
+ <nexus.plugin.name>Nexus H2 Provider Plugin</nexus.plugin.name>
+ <nexus.plugin.description>Provides access to H2 databases.</nexus.plugin.description>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.sonatype.nexus</groupId>
+ <artifactId>nexus-plugin-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.170</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.sonatype.nexus</groupId>
+ <artifactId>nexus-plugin-test-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>app-lifecycle-maven-plugin</artifactId>
+ <configuration>
+ <sharedDependencies>
+ <sharedDependency>com.h2database:h2</sharedDependency>
+ </sharedDependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
View
@@ -57,6 +57,7 @@
</activation>
<modules>
+ <module>h2</module>
<module>restlet1x</module>
<module>indexer</module>
<module>ldap</module>

0 comments on commit 36e02dc

Please sign in to comment.