aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata
diff options
context:
space:
mode:
authorolivier lamy <olamy@apache.org>2016-05-20 12:43:22 +1000
committerolivier lamy <olamy@apache.org>2016-05-20 12:43:22 +1000
commit5e9cb64d9d80e18a7e1e32dcffadd8c95af9f56d (patch)
treeeda702ab0090be62e82261812722f39cce90d98b /archiva-modules/metadata
parent6742949ceb5efb9e8c60612fa03d67bed0801b6f (diff)
downloadarchiva-5e9cb64d9d80e18a7e1e32dcffadd8c95af9f56d.tar.gz
archiva-5e9cb64d9d80e18a7e1e32dcffadd8c95af9f56d.zip
fix javadoc error
Signed-off-by: olivier lamy <olamy@apache.org>
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java2
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java14
2 files changed, 11 insertions, 5 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java
index c84af362a..70214941e 100644
--- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java
@@ -24,7 +24,7 @@ import java.io.Serializable;
/**
* Information about the issue management system used by the project.
- * <p/>
+ *
* TODO considering moving this to a facet - avoid referring to it externally
*/
@XmlRootElement(name = "issueManagement")
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
index 9570d7dbd..d12a29fc8 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java
@@ -43,21 +43,24 @@ import java.util.Collection;
import java.util.List;
/**
+ * <p>
* Default implementation of the metadata resolver API. At present it will handle updating the content repository
* from new or changed information in the model and artifacts from the repository storage.
- * <p/>
+ * </p>
+ * <p>
* This is a singleton component to allow an alternate implementation to be provided. It is intended to be the same
* system-wide for the whole content repository instead of on a per-managed-repository basis. Therefore, the session is
* passed in as an argument to obtain any necessary resources, rather than the class being instantiated within the
* session in the context of a single managed repository's resolution needs.
- * <p/>
+ * </p>
+ * <p>
* Note that the caller is responsible for the session, such as closing and saving (which is implied by the resolver
* being obtained from within the session). The {@link RepositorySession#markDirty()} method is used as a hint to ensure
* that the session knows we've made changes at close. We cannot ensure the changes will be persisted if the caller
* chooses to revert first. This is preferable to storing the metadata immediately - a separate session would require
* having a bi-directional link with the session factory, and saving the existing session might save other changes
* unknowingly by the caller.
- * <p/>
+ * </p>
*/
@Service("metadataResolver#default")
public class DefaultMetadataResolver
@@ -67,12 +70,15 @@ public class DefaultMetadataResolver
private Logger log = LoggerFactory.getLogger( DefaultMetadataResolver.class );
/**
+ * <p>
* FIXME: this needs to be configurable based on storage type - and could also be instantiated per repo. Change to a
* factory, and perhaps retrieve from the session. We should avoid creating one per request, however.
- * <p/>
+ * </p>
+ * <p>
* TODO: Also need to accommodate availability of proxy module
* ... could be a different type since we need methods to modify the storage metadata, which would also allow more
* appropriate methods to pass in the already determined repository configuration, for example, instead of the ID
+ * </p>
*/
@Inject
@Named(value = "repositoryStorage#maven2")