-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
77 lines (61 loc) · 1.97 KB
/
README
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
= BUILDING
$ mvn package
= PACKAGING
$ mvn assembly:assembly
= RUNNING
$ java -jar target/friesian-1.0-SNAPSHOT-jar-with-dependencies.jar
= RELEASE ENGINEERING
This section assumes proper configuration and authorization to the Sonatype Maven repository.
== SNAPSHOT
$ mvn clean deploy -DperformRelease=true
== RELEASE
$ mvn release:clean -DperformRelease=true
$ mvn release:prepare -DperformRelease=true
$ mvn release:perform -DperformRelease=true
= USING ECLIPSE
Be sure to export »M2_REPO« to »${HOME}/.m2/repository« before invoking
Eclipse. This is due to the nature in which Maven exports the project object
model to Eclipse's native format.
$ M2_REPO="${HOME}/.m2/repository" eclipse
The Eclipse definition can be regenerated as such:
$ mvn eclipse:eclipse
= USING INTELLIJ IDEA
Give the MAVEN SUNDRIES section below a read.
$ mvn dependency:sources
$ mvn dependency:resolve -Dclassifier=javadoc
IDEA should be ready to import the project now.
= MAVEN SUNDRIES
== Built With
$ mvn --version
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-41-generic" arch: "amd64" Family: "unix"
== Useful Source Assistance with ${HOME}/.m2/settings.xml
"""<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
<mirrors/>
<proxies/>
<profiles>
<profile>
<id>downloadSources</id>
<properties>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>downloadSources</activeProfile>
</activeProfiles>
</settings>
"""