-
Notifications
You must be signed in to change notification settings - Fork 13
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
SNAPSHOT
version -
add Web-Client as a Maven dependency in your project using an IDE, or in the
pom.xml
file.<classifier>classes</classifier>
addresses thejar
artifact 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.xml
with Configuration
- build it as
jar
using Maven (dependency
Maven profile:mvn -Pdependency package
) - build it as
war
using Maven (standalone
Maven profile:mvn -Pstandalone package
)