mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
30.13.2013 e0eee7304d6402b896b756c5c024a884df482a59
Fix OPENDJ-1131: Rest2LDAP fails to start with GlassFish3.1

* use a Maven WAR overlay to pull in CREST Servlet and Glassfish config files.
2 files modified
20 ■■■■■ changed files
opendj3/opendj-rest2ldap-servlet/pom.xml 18 ●●●●● patch | view | raw | blame | history
opendj3/pom.xml 2 ●●● patch | view | raw | blame | history
opendj3/opendj-rest2ldap-servlet/pom.xml
@@ -38,9 +38,20 @@
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <!-- Required for compilation -->
            <groupId>org.forgerock.commons</groupId>
            <artifactId>json-resource-servlet</artifactId>
            <version>${forgerockRestVersion}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <!-- Required for runtime via WAR overlay -->
            <groupId>org.forgerock.commons</groupId>
            <artifactId>json-resource-servlet</artifactId>
            <version>${forgerockRestVersion}</version>
            <type>war</type>
            <classifier>servlet</classifier>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
@@ -84,6 +95,13 @@
                        </goals>
                        <configuration>
                            <classifier>servlet</classifier>
                            <overlays>
                                <overlay>
                                    <groupId>org.forgerock.commons</groupId>
                                    <artifactId>json-resource-servlet</artifactId>
                                    <classifier>servlet</classifier>
                                </overlay>
                            </overlays>
                        </configuration>
                    </execution>
                </executions>
opendj3/pom.xml
@@ -106,7 +106,7 @@
    <siteDistributionURL>scp://forgerock.org/var/www/vhosts/opendj.forgerock.org/httpdocs</siteDistributionURL>
    <i18nFrameworkVersion>1.4.0</i18nFrameworkVersion>
    <grizzlyFrameworkVersion>2.3.6</grizzlyFrameworkVersion>
    <forgerockRestVersion>2.0.1</forgerockRestVersion>
    <forgerockRestVersion>2.1.0-SNAPSHOT</forgerockRestVersion>
    <gaId>UA-23412190-8</gaId>
    <!-- OSGi bundles properties -->
    <opendj.osgi.import.additional />