forked from carrotsearch/hppc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
61 lines (42 loc) · 1.17 KB
/
INSTALL
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Maven shortcuts
---------------
# Clean everything
mvn clean
# Generate Eclipse project files (the setup is a bit complex, so use this!)
mvn compile eclipse:eclipse
# All unit tests
mvn clean test
# Install packages in a local repository.
mvn clean install
# Create a distribution package
mvn clean package -Prelease
hppc-core targets
-----------------
# Run tests with clover
mvn -Pclover
# Generate code quality reports
mvn -Pclover site
Deployment
----------
# Deploy a snapshot of artefacts to SonaType's snapshots repo
mvn clean deploy
# Deploy a release
mvn -Psign,release,site-labs clean package deploy
Clover
------
A local license is required for Clover support. Edit your ~/.m2/settings.xml and
add an active profile definiting these settings:
...
<profiles>
<profile>
<id>clover-license</id>
<properties>
<clover.license.path>[...]\clover.license</clover.license.path>
<maven.clover.licenseLocation>[...]\clover.license</maven.clover.licenseLocation>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>clover-license</activeProfile>
</activeProfiles>
...