Skip to content

Commit 1147ec6

Browse files
committed
Add generation of dependency report
1 parent 6cdcb2c commit 1147ec6

File tree

3 files changed

+120
-1
lines changed

3 files changed

+120
-1
lines changed

pom.xml

+15-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
</plugin>
348348
<plugin>
349349
<artifactId>maven-assembly-plugin</artifactId>
350-
<version>2.2.1</version>
350+
<version>2.4</version>
351351
<executions>
352352
<execution>
353353
<id>dist-changelog</id>
@@ -419,6 +419,20 @@
419419
</descriptors>
420420
</configuration>
421421
</execution>
422+
<execution>
423+
<?m2e ignore?>
424+
<id>make-report-assembly</id>
425+
<phase>package</phase>
426+
<goals>
427+
<goal>single</goal>
428+
</goals>
429+
<configuration>
430+
<appendAssemblyId>true</appendAssemblyId>
431+
<descriptors>
432+
<descriptor>report-assembly.xml</descriptor>
433+
</descriptors>
434+
</configuration>
435+
</execution>
422436
</executions>
423437
</plugin>
424438
<plugin>

report-assembly.xml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<assembly
2+
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
5+
<id>dependency-report</id>
6+
<formats>
7+
<format>zip</format>
8+
</formats>
9+
<files>
10+
<file>
11+
<source>${project.basedir}/src/main/dependencies.json</source>
12+
<outputDirectory>/</outputDirectory>
13+
</file>
14+
</files>
15+
<includeBaseDirectory>false</includeBaseDirectory>
16+
</assembly>

src/main/dependencies.json

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"components": [
3+
{
4+
"name": "Aloha Editor",
5+
"modules": [
6+
{
7+
"name": "Core",
8+
"dependencies": [
9+
{
10+
"name": "Amplify Store",
11+
"current": "1.1.0",
12+
"latest": "1.1.2"
13+
},
14+
{
15+
"name": "jQuery",
16+
"current": "1.7.2",
17+
"latest": "3.7.1"
18+
},
19+
{
20+
"name": "jQuery UI",
21+
"current": "1.9.0",
22+
"latest": "1.13.2"
23+
},
24+
{
25+
"name": "jQuery Grid",
26+
"current": "4.0.0",
27+
"latest": "5.8.5"
28+
},
29+
{
30+
"name": "jsTree",
31+
"current": "1.0-rc3",
32+
"latest": "3.3.16"
33+
},
34+
{
35+
"name": "jquery.layout",
36+
"current": "1.3.0-rc30.7",
37+
"latest": "1.3.0-rc30.7"
38+
},
39+
{
40+
"name": "Rangy",
41+
"current": "1.2.1",
42+
"latest": "1.3.1"
43+
},
44+
{
45+
"name": "RequireJS",
46+
"current": "2.0.5",
47+
"latest": "2.3.6"
48+
},
49+
{
50+
"name": "RequireJS i18n",
51+
"current": "2.0.1",
52+
"latest": "2.0.6"
53+
},
54+
{
55+
"name": "RequireJS text",
56+
"current": "1.0.6+",
57+
"latest": "2.0.16"
58+
}
59+
]
60+
},
61+
{
62+
"name": "Common Plugins",
63+
"dependencies": [
64+
{
65+
"name": "jQuery Jcrop",
66+
"current": "0.9.8",
67+
"latest": "0.9.15"
68+
},
69+
{
70+
"name": "jQuery Mousewheel",
71+
"current": "3.0.6",
72+
"latest": "3.1.12"
73+
}
74+
]
75+
},
76+
{
77+
"name": "Extra Plugins",
78+
"dependencies": [
79+
{
80+
"name": "tipsy",
81+
"current": "1.0.0a",
82+
"latest": "1.0"
83+
}
84+
]
85+
}
86+
]
87+
}
88+
]
89+
}

0 commit comments

Comments
 (0)