-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
39 lines (20 loc) · 1.56 KB
/
README.txt
File metadata and controls
39 lines (20 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Temporary instructions until we are on Github...
To get the maven build to work successfully, you need to install the vistaLink libraries into your local m2 repository for now. Eventually these should be hosted on github repo
Download maven from
http://maven.apache.org/download.cgi
I am using 3.1.1 version
Unzip the file
Optionally you can update your PATH variable for windows so it can find the mvn executable (Example : C:\apache-maven-3.1.1\bin)
Execute these commands from command prompt
mvn install:install-file -Dfile=vljConnector-1.6.0.028.jar -DgroupId=gov.va.med -DartifactId=vljConnector -Dversion=1.6.0.028 -Dpackaging=jar
mvn install:install-file -Dfile=vljFoundationsLib-1.6.0.028.jar -DgroupId=gov.va.med -DartifactId=vljFoundationsLib -Dversion=1.6.0.028 -Dpackaging=jar
mvn install:install-file -Dfile=vljSecurity-1.6.0.028.jar -DgroupId=gov.va.med -DartifactId=vljSecurity -Dversion=1.6.0.028 -Dpackaging=jar
mvn install:install-file -Dfile=was_public-8.0.0.jar -DgroupId=com.ibm.websphere.appserver -DartifactId=was_public -Dversion=8.0.0 -Dpackaging=jar
this assumes it’s in the local directory where you issue the mvn command, otherwise you need to include the full path (example -Dfile={path-to-file}vljFoundationsLib-1.6.0.028.jar)
running mvn clean package from either eclipse should work…except the tests fail
to skip the tests from command line.
mvn –DskipTests clean package
To run maven in Eclipse
right click pom.xml -> select Run As...Maven Build...
In the Goals textbox, add "clean package"
to skip the tests, select the Skip Tests checkbox