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

Matthew Swift
02.23.2013 bb130b9f672b5e86d6bc53dd2e730615cc2ff175
Additional fix OPENDJ-1131: Rest2LDAP fails to start with GlassFish3.1

* change json-resource-servlet dependency scope to "compile" for better dependency resolution when building HTTP connection handler in OpenDJ
* unfortunately this means that we need "include" filters when building the WAR.

1 files modified
4 ■■■ changed files
opendj-sdk/opendj3/opendj-rest2ldap-servlet/pom.xml 4 ●●● patch | view | raw | blame | history
opendj-sdk/opendj3/opendj-rest2ldap-servlet/pom.xml
@@ -42,7 +42,6 @@
            <groupId>org.forgerock.commons</groupId>
            <artifactId>json-resource-servlet</artifactId>
            <version>${forgerockRestVersion}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <!-- Required for runtime via WAR overlay -->
@@ -100,6 +99,9 @@
                                    <groupId>org.forgerock.commons</groupId>
                                    <artifactId>json-resource-servlet</artifactId>
                                    <classifier>servlet</classifier>
                                    <includes>
                                        <include>WEB-INF/*.xml</include>
                                    </includes>
                                </overlay>
                            </overlays>
                        </configuration>