blob: 5f6baee85e0ed3f2cf023eb359755238e9d6bc4d (
plain)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Generated by Apache Maven Doxia at Nov 14, 2010 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>API - </title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
<meta name="Date-Revision-yyyymmdd" content="20101114" />
<meta http-equiv="Content-Language" content="en" />
</head>
<body class="composite">
<div id="banner">
<div id="bannerLeft">
API
</div>
<div class="clear">
<hr/>
</div>
</div>
<div id="breadcrumbs">
<div class="xleft">
<span id="publishDate">Last Published: 2010-11-14</span>
| <span id="projectVersion">Version: 0.9-SNAPSHOT</span>
</div>
<div class="xright">
</div>
<div class="clear">
<hr/>
</div>
</div>
<div id="leftColumn">
<div id="navcolumn">
<h5>Parent Project</h5>
<ul>
<li class="none">
<a href="../index.html" title="semantic-versioning">semantic-versioning</a>
</li>
</ul>
<h5>Overview</h5>
<ul>
<li class="none">
<a href="index.html" title="Introduction">Introduction</a>
</li>
<li class="none">
<strong>Usage</strong>
</li>
</ul>
<h5>Project Documentation</h5>
<ul>
<li class="collapsed">
<a href="project-info.html" title="Project Information">Project Information</a>
</li>
</ul>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
</a>
</div>
</div>
<div id="bodyColumn">
<div id="contentBox">
<div class="section"><h2>What is this?<a name="What_is_this"></a></h2><p>This simple command line tool looks at Java JAR files and determine inspect API changes.</p></div><div class="section"><h2>Diff<a name="Diff"></a></h2><p>Dumps all changes between two JARs on standard output.</p><div><pre>% java -jar target/semantic-versioning-0.9-SNAPSHOT.jar previousJar currentJar (includes) (excludes)
Class org.project.MyClass
Added Class
Class org.project.MyClass2
Added Method method1
Removed Field field1
Changed Field field2 removed: final
</pre></div></div><div class="section"><h2>Check<a name="Check"></a></h2><p>Checks compatibility type between two JARs.</p><div><pre>% java -jar target/semantic-versioning-0.9-SNAPSHOT.jar previousJar currentJar (includes) (excludes)
BACKWARD_COMPATIBLE_IMPLEMENTER</pre></div></div><div class="section"><h2>Infer<a name="Infer"></a></h2><p>Infers JAR version based on a previously versioned JAR.</p><div><pre>% java -jar target/semantic-versioning-0.9-SNAPSHOT.jar previousVersion previousJar currentJar (includes) (excludes)
1.0.0</pre></div></div><div class="section"><h2>Validate<a name="Validate"></a></h2><p>Validates JAR version based on a previously versioned JAR.</p><div><pre>% java -jar target/semantic-versioning-0.9-SNAPSHOT.jar previousVersion previousJar currentVersion currentJar (includes) (excludes)
true</pre></div></div>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
<div class="xright">Copyright © 2010.
All Rights Reserved.
</div>
<div class="clear">
<hr/>
</div>
</div>
</body>
</html>
|