Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

H2 provider plugin #711

Merged
merged 3 commits into from

5 participants

@jdillon
Owner

https://issues.sonatype.org/browse/NEXUS-5312

Still pending updating nuget/usertoken + pro which use h2.

@adreghiciu
Owner

+1

@nabcos

+1
JFTR: sonatype/nexus-licensing is a candidate to use h2 provider plugin

@cstamas
Owner

+1

@peterlynch
Owner

+1

@jdillon jdillon merged commit 36e02dc into master
@jdillon jdillon deleted the h2-provider-plugin branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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
21 nexus-webapp/pom.xml
@@ -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
68 plugins/h2/pom.xml
@@ -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
1  plugins/pom.xml
@@ -57,6 +57,7 @@
</activation>
<modules>
+ <module>h2</module>
<module>restlet1x</module>
<module>indexer</module>
<module>ldap</module>
Something went wrong with that request. Please try again.