-
Notifications
You must be signed in to change notification settings - Fork 14
Installation
Martynas Jusevičius edited this page Sep 18, 2019
·
32 revisions
Use Docker image atomgraph/web-client.
To add Web-Client dependency:
-
for a stable version
-
for a
SNAPSHOTversion -
add Web-Client as a Maven dependency in your project using an IDE, or in the
pom.xmlfile.<classifier>classes</classifier>addresses thejarartifact built intowar. The<type>war</type>dependency enables reuse of static resources from AtomGraph Web-Client, such as Twitter Bootstrap<dependencies> <dependency> <groupId>com.atomgraph</groupId> <artifactId>client</artifactId> <version>2.0.4</version> <classifier>classes</classifier> </dependency> <dependency> <groupId>com.atomgraph</groupId> <artifactId>client</artifactId> <version>2.0.4</version> <type>war</type> </dependency> </dependencies> -
to import static resources enabled by the
<type>war</type>dependency, add a Maven overlay under<configuration>ofmaven-war-plugin:<overlays> <overlay> <groupId>com.atomgraph</groupId> <artifactId>client</artifactId> </overlay> </overlays> -
add or edit
main/webapp/WEB-INF/web.xmlwith Configuration
- build it as
jarusing Maven (dependencyMaven profile:mvn -Pdependency package) - build it as
warusing Maven (standaloneMaven profile:mvn -Pstandalone package)