- Notifications
You must be signed in to change notification settings - Fork14
Installation
Martynas Jusevičius edited this pageSep 18, 2019 ·32 revisions
Use Docker imageatomgraph/web-client
.
To add Web-Client dependency:
for a stable version
for a
SNAPSHOT
versionadd 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 asTwitter 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 aMaven 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
withConfiguration
- build it as
jar
using Maven (dependency
Maven profile:mvn -Pdependency package
) - build it as
war
using Maven (standalone
Maven profile:mvn -Pstandalone package
)