File tree 2 files changed +61
-1
lines changed
2 files changed +61
-1
lines changed Original file line number Diff line number Diff line change 5
5
.project
6
6
.classpath
7
7
.settings
8
- bin
8
+ bin
9
+ src /main /webapp /WEB-INF /classes
10
+ src /main /webapp /WEB-INF /lib
Original file line number Diff line number Diff line change 36
36
<target >7</target >
37
37
</configuration >
38
38
</plugin >
39
+ <plugin >
40
+ <groupId >org.apache.maven.plugins</groupId >
41
+ <artifactId >maven-war-plugin</artifactId >
42
+ <executions >
43
+ <execution >
44
+ <phase >package</phase >
45
+ <configuration >
46
+ <attachClasses >true</attachClasses >
47
+ <webXml >${basedir} /src/main/webapp/WEB-INF/web.xml</webXml >
48
+ </configuration >
49
+ <goals >
50
+ <goal >inplace</goal >
51
+ </goals >
52
+ </execution >
53
+ </executions >
54
+ </plugin >
39
55
<plugin >
40
56
<groupId >org.apache.maven.plugins</groupId >
41
57
<artifactId >maven-jar-plugin</artifactId >
59
75
</archive >
60
76
</configuration >
61
77
</plugin >
78
+ <plugin >
79
+ <groupId >org.apache.maven.plugins</groupId >
80
+ <artifactId >maven-install-plugin</artifactId >
81
+ <executions >
82
+ <execution >
83
+ <id >Add-2-local-repository</id >
84
+ <phase >package</phase >
85
+ <configuration >
86
+ <packaging >jar</packaging >
87
+ <groupId >test</groupId >
88
+ <artifactId >demo-junit</artifactId >
89
+ <version >1.0.1-20170422</version >
90
+ <file >${project.build.directory} /${artifactId} -${version} .jar</file >
91
+ </configuration >
92
+ <goals >
93
+ <goal >install-file</goal >
94
+ </goals >
95
+ </execution >
96
+ </executions >
97
+ </plugin >
98
+ <plugin >
99
+ <groupId >org.codehaus.mojo</groupId >
100
+ <artifactId >build-helper-maven-plugin</artifactId >
101
+ <version >1.7</version >
102
+ <executions >
103
+ <execution >
104
+ <id >attach-artifacts</id >
105
+ <phase >package</phase >
106
+ <goals >
107
+ <goal >attach-artifact</goal >
108
+ </goals >
109
+ <configuration >
110
+ <artifacts >
111
+ <artifact >
112
+ <file >${project.build.directory} /${artifactId} -${version} .jar</file >
113
+ <type >jar</type >
114
+ </artifact >
115
+ </artifacts >
116
+ </configuration >
117
+ </execution >
118
+ </executions >
119
+ </plugin >
62
120
</plugins >
63
121
</build >
64
122
You can’t perform that action at this time.
0 commit comments