Commit 04fb26a 1 parent fff534b commit 04fb26a Copy full SHA for 04fb26a
File tree 4 files changed +21
-28
lines changed
4 files changed +21
-28
lines changed Original file line number Diff line number Diff line change 4
4
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
5
5
xsi:schemaLocation=" http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd" >
6
6
7
- <id >all-individual </id >
7
+ <id >bin </id >
8
8
<formats >
9
9
<format >dir</format >
10
+ <format >zip</format >
10
11
</formats >
12
+
11
13
<includeBaseDirectory >false</includeBaseDirectory >
12
14
13
15
<files >
19
21
20
22
<dependencySets >
21
23
<dependencySet >
22
- <outputDirectory >/</outputDirectory >
24
+ <outputDirectory >/plugins</outputDirectory >
25
+ <useProjectArtifact >false</useProjectArtifact >
26
+ <useProjectAttachments >false</useProjectAttachments >
27
+ <includes >
28
+ <include >${project.groupId}:ForgePluginBukkit</include >
29
+ </includes >
30
+ <outputFileNameMapping >${artifact.build.finalName}.${artifact.extension}</outputFileNameMapping >
31
+ </dependencySet >
32
+ <dependencySet >
33
+ <outputDirectory >/mods</outputDirectory >
23
34
<useProjectArtifact >false</useProjectArtifact >
24
35
<useProjectAttachments >false</useProjectAttachments >
25
36
<includes >
26
37
<include >${project.groupId}:*</include >
27
38
</includes >
39
+ <excludes >
40
+ <exclude >${project.groupId}:ForgePluginBukkit</exclude >
41
+ </excludes >
28
42
<outputFileNameMapping >${artifact.build.finalName}.${artifact.extension}</outputFileNameMapping >
29
43
</dependencySet >
30
44
</dependencySets >
Original file line number Diff line number Diff line change 50
50
<plugin >
51
51
<groupId >org.apache.maven.plugins</groupId >
52
52
<artifactId >maven-assembly-plugin</artifactId >
53
- <version >2.4 </version >
53
+ <version >2.5.3 </version >
54
54
<executions >
55
55
<execution >
56
- <id >all-individual </id >
56
+ <id >bin </id >
57
57
<phase >package</phase >
58
58
<goals >
59
59
<goal >single</goal >
60
60
</goals >
61
61
<configuration >
62
- <outputDirectory >${dir.artifacts.individual } </outputDirectory >
62
+ <outputDirectory >${dir.artifacts} </outputDirectory >
63
63
<finalName >ForgePlugin</finalName >
64
64
<attach >false</attach >
65
65
<descriptors >
66
- <descriptor >${assembly.all.individual} </descriptor >
67
- </descriptors >
68
- </configuration >
69
- </execution >
70
- <execution >
71
- <id >all-packaged</id >
72
- <phase >package</phase >
73
- <goals >
74
- <goal >single</goal >
75
- </goals >
76
- <configuration >
77
- <outputDirectory >${dir.artifacts.packaged} </outputDirectory >
78
- <finalName >ForgePlugin-${project.version} </finalName >
79
- <descriptors >
80
- <descriptor >${assembly.all.packaged} </descriptor >
66
+ <descriptor >${project.basedir} /assembly/bin.xml</descriptor >
81
67
</descriptors >
82
68
</configuration >
83
69
</execution >
Original file line number Diff line number Diff line change 42
42
<groupId >org.apache.maven.plugins</groupId >
43
43
<artifactId >maven-jar-plugin</artifactId >
44
44
<version >2.4</version >
45
- <configuration >
46
- <outputDirectory >${dir.artifacts} </outputDirectory >
47
- </configuration >
48
45
</plugin >
49
46
</plugins >
50
47
</build >
Original file line number Diff line number Diff line change 67
67
68
68
<properties >
69
69
<dir .base>${project.basedir} /..</dir .base>
70
- <dir .artifacts.individual>${project.basedir} /../artifacts/individual</dir .artifacts.individual>
71
- <dir .artifacts.packaged>${project.basedir} /../artifacts/packaged</dir .artifacts.packaged>
72
-
73
- <assembly .all.individual>${project.basedir} /../Assembly/assembly/all-individual.xml</assembly .all.individual>
74
- <assembly .all.packaged>${project.basedir} /../Assembly/assembly/all-packaged.xml</assembly .all.packaged>
70
+ <dir .artifacts>${project.basedir} /../artifacts</dir .artifacts>
75
71
76
72
<name .plugin>${project.name} </name .plugin>
77
73
<name .mod>mod_${project.name} </name .mod>
You can’t perform that action at this time.
0 commit comments