2 ~ Licensed to the Apache Software Foundation (ASF) under one
3 ~ or more contributor license agreements. See the NOTICE file
4 ~ distributed with this work for additional information
5 ~ regarding copyright ownership. The ASF licenses this file
6 ~ to you under the Apache License, Version 2.0 (the
7 ~ "License"); you may not use this file except in compliance
8 ~ with the License. You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing,
13 ~ software distributed under the License is distributed on an
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ~ KIND, either express or implied. See the License for the
16 ~ specific language governing permissions and limitations
20 <%@ taglib prefix="ww" uri="/webwork" %>
21 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
22 <%@ taglib prefix="archiva" uri="http://archiva.apache.org" %>
25 <archiva:groupIdLink var="${model.groupId}" includeTop="true" />
28 <ww:url action="browseArtifact" namespace="/">
29 <ww:param name="groupId" value="%{'${model.groupId}'}"/>
30 <ww:param name="artifactId" value="%{'${model.artifactId}'}"/>
33 <a href="${url}">${model.artifactId}</a> /
34 <strong>${version}</strong>
36 <%-- TODO: new versions?
37 (<strong class="statusFailed">Newer version available:</strong>
38 <a href="artifact.html">2.0.3</a>)
42 <c:if test="${!empty (model.description)}">
43 <blockquote>${model.description}</blockquote>
46 <table class="infoTable">
49 <td>${repositoryId}</td>
53 <td>${model.groupId}</td>
57 <td>${model.artifactId}</td>
61 <td>${model.version}</td>
65 <td><code>${model.packaging}</code></td>
67 <%-- TODO: derivatives
71 <a href="#">Source</a>
73 <a href="#">Javadoc</a>
77 <c:if test="${model.parentProject != null}">
81 ${model.parentProject.groupId} ${model.parentProject.artifactId} ${model.parentProject.version}
83 <ww:url action="showArtifact" namespace="/">
84 <ww:param name="groupId" value="%{'${model.parentProject.groupId}'}"/>
85 <ww:param name="artifactId" value="%{'${model.parentProject.artifactId}'}"/>
86 <ww:param name="version" value="%{'${model.parentProject.version}'}"/>
89 (<a href="${url}">View</a>)
93 <%-- TODO: deployment timestamp
95 <th>Deployment Date</th>
97 15 Jan 2006, 20:38:00 +1000
105 <a href="TODO">Apache Repository</a>
111 <c:if test="${model.packaging != 'pom'}">
112 <h2>POM Dependency Snippet</h2>
115 <groupId>${model.groupId}</groupId>
116 <artifactId>${model.artifactId}</artifactId>
117 <version>${version}</version><c:if test="${model.packaging != 'jar'}">
118 <type>${model.packaging}</type></c:if>
123 <c:if test="${!empty (model.url) || model.organization != null || !empty (model.licenses)
124 || model.issueManagement != null || model.ciManagement != null}">
126 <h2>Other Details</h2>
127 <table class="infoTable">
128 <c:if test="${!empty (model.url)}">
132 <a href="${model.url}">${model.url}</a>
136 <c:if test="${model.organization != null}">
138 <th>Organisation</th>
141 <c:when test="${model.organization != null}">
142 <a href="${model.organization.url}">${model.organization.name}</a>
145 ${model.organization.name}
151 <c:if test="${!empty (model.licenses)}">
152 <c:forEach items="${model.licenses}" var="license">
157 <c:when test="${!empty (license.url)}">
158 <a href="${license.url}">${license.name}</a>
168 <c:if test="${model.issueManagement != null}">
170 <th>Issue Tracker</th>
173 <c:when test="${!empty (model.issueManagement.url)}">
174 <a href="${model.issueManagement.url}">${model.issueManagement.system}</a>
177 ${model.issueManagement.system}
183 <c:if test="${model.ciManagement != null}">
185 <th>Continuous Integration</th>
188 <c:when test="${!empty (model.ciManagement.url)}">
189 <a href="${model.ciManagement.url}">${model.ciManagement.system}</a>
192 ${model.ciManagement.system}
201 <c:if test="${model.scm != null}">
203 <table class="infoTable">
204 <c:if test="${!empty (model.scm.connection)}">
208 <code>${model.scm.connection}</code>
212 <c:if test="${!empty (model.scm.developerConnection)}">
214 <th>Dev. Connection</th>
216 <code>${model.scm.developerConnection}</code>
220 <c:if test="${!empty (model.scm.url)}">
224 <a href="${model.scm.url}">${model.scm.url}</a>