mirror of https://github.com/apache/archiva.git
[MRM-874]
submitted by John Michael Luy -display <plugin> for maven-plugin and change title to POM Snippet in artifact info page git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.1.x@692978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b50571285c
commit
9667db350b
|
@ -109,7 +109,18 @@
|
|||
</table>
|
||||
|
||||
<c:if test="${model.packaging != 'pom'}">
|
||||
<h2>POM Dependency Snippet</h2>
|
||||
<h2>POM Snippet</h2>
|
||||
<c:choose>
|
||||
<c:when test="${model.packaging == 'maven-plugin'}">
|
||||
<pre class="pom">
|
||||
<plugin>
|
||||
<groupId>${model.groupId}</groupId>
|
||||
<artifactId>${model.artifactId}</artifactId>
|
||||
<version>${version}</version>
|
||||
</plugin>
|
||||
</pre>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<pre class="pom">
|
||||
<dependency>
|
||||
<groupId>${model.groupId}</groupId>
|
||||
|
@ -118,6 +129,8 @@
|
|||
<type>${model.packaging}</type></c:if>
|
||||
</dependency>
|
||||
</pre>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:if>
|
||||
|
||||
<c:if test="${!empty (model.url) || model.organization != null || !empty (model.licenses)
|
||||
|
|
Loading…
Reference in New Issue