It's ok, I figured a work around for this. 

Maven was creating a WAR with the web admin JARs in WEB-INF/lib. If I 
instead extracted the web admin static JAR so the contents were directly in 
the WAR, it worked.

I had to first tell maven not to package the JAR by specifying provided as 
the scope.

        <dependency>
            <groupId>org.neo4j.app</groupId>
            <artifactId>neo4j-server</artifactId>
            <version>1.5</version>
            <classifier>static-web</classifier>
            <scope>provided</scope>
        </dependency>

Then used the maven unpack dependencies plugin to unpack the JAR into the 
WAR:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.4</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>unpack-dependencies</goal>
                        </goals>
                        <phase>process-resources</phase>
                    </execution>
                </executions>
                <configuration>
                    <includeGroupIds>org.neo4j.app</includeGroupIds>
                    <includeArtifactIds>neo4j-server</includeArtifactIds>
                    <includeClassifiers>static-web</includeClassifiers>
                    <includes>webadmin-html/**</includes>
                    
<outputDirectory>target/graphdemo-1.0/WEB-INF/classes</outputDirectory>
                </configuration>
            </plugin>
_______________________________________________
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register 
and consider posting at https://groups.google.com/forum/#!forum/neo4j

Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to