|
|
@@ -109,15 +109,28 @@ |
|
|
|
</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> |
|
|
|
<artifactId>${model.artifactId}</artifactId> |
|
|
|
<artifactId>${model.artifactId}</artifactId> |
|
|
|
<version>${version}</version><c:if test="${model.packaging != 'jar'}"> |
|
|
|
<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) |