File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 163163 </instructions >
164164 </configuration >
165165 </plugin >
166- <plugin >
167- <groupId >org.codehaus.mojo</groupId >
168- <artifactId >rpm-maven-plugin</artifactId >
169- <configuration >
170- <release >1</release >
171- <copyright >The MIT License</copyright >
172- <group >Development/Java</group >
173- <workarea >/var/tmp/${project.build.finalName} </workarea >
174- <defineStatements >
175- <defineStatement >_javadir ${rpm.java.dir} </defineStatement >
176- <defineStatement >_javadocdir ${rpm.javadoc.dir} </defineStatement >
177- </defineStatements >
178- <mappings >
179- <mapping >
180- <directory >${rpm.java.dir} </directory >
181- <filemode >644</filemode >
182- <username >root</username >
183- <groupname >root</groupname >
184- <sources >
185- <source >
186- <location >${project.build.directory} /${project.build.finalName} .jar</location >
187- </source >
188- </sources >
189- </mapping >
190- <mapping >
191- <directory >${rpm.javadoc.dir} /${project.build.finalName} </directory >
192- <filemode >644</filemode >
193- <username >root</username >
194- <groupname >root</groupname >
195- <sources >
196- <source >
197- <location >${project.build.directory} /apidocs</location >
198- </source >
199- </sources >
200- </mapping >
201- </mappings >
202- <install >%__ln_s ${project.build.finalName} .jar %{buildroot}%{_javadir}/${project.name} .jar</install >
203- </configuration >
204- </plugin >
205166 </plugins >
206167 </build >
207168 <dependencies >
233194 <scope >test</scope >
234195 </dependency >
235196 </dependencies >
236- <properties >
237- <rpm .java.dir>/usr/share/java</rpm .java.dir>
238- <rpm .javadoc.dir>/usr/share/javadoc</rpm .javadoc.dir>
239- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
240- </properties >
241197</project >
You can’t perform that action at this time.
0 commit comments