This repository was archived by the owner on Jul 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 </configuration >
6666 </plugin >
6767
68+ <!-- copy resources to target -->
6869 <plugin >
6970 <groupId >org.apache.maven.plugins</groupId >
70- <artifactId >maven-install -plugin</artifactId >
71- <version >3.0.0-M1 </version >
71+ <artifactId >maven-resources -plugin</artifactId >
72+ <version >3.1.0 </version >
7273 <configuration >
73- <generatePom >true</generatePom >
74- <pomFile >${project.basedir} /pom.xml</pomFile >
75- <file >${project.build.directory} /${project.artifactId} -${project.version} .jar</file >
74+ <outputDirectory >${project.build.directory} </outputDirectory >
7675 </configuration >
7776 <executions >
7877 <execution >
79- <phase >install</phase >
80- <goals >
81- <goal >install-file</goal >
82- </goals >
78+ <phase >package</phase >
8379 </execution >
8480 </executions >
8581 </plugin >
8682
83+ <!-- generate checksums in target -->
8784 <plugin >
8885 <groupId >net.ju-n.maven.plugins</groupId >
8986 <artifactId >checksum-maven-plugin</artifactId >
90- <version >1.2</version >
87+ <version >1.4</version >
88+ <configuration >
89+ <fileSets >
90+ <fileSet >
91+ <directory >${project.build.directory} </directory >
92+ <includes >
93+ <include >*.jar</include >
94+ <include >pom.xml</include >
95+ </includes >
96+ </fileSet >
97+ </fileSets >
98+ </configuration >
9199 <executions >
92100 <execution >
93101 <phase >package</phase >
94102 <goals >
95- <goal >artifacts </goal >
103+ <goal >files </goal >
96104 </goals >
97105 </execution >
98106 </executions >
110118 </configuration >
111119 </plugin >
112120 </plugins >
121+ <!-- copy resources to target -->
122+ <resources >
123+ <resource >
124+ <directory >${project.basedir} </directory >
125+ <includes >
126+ <include >pom.xml</include >
127+ </includes >
128+ </resource >
129+ </resources >
113130 </build >
114131
115132 <repositories >
You can’t perform that action at this time.
0 commit comments