You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2015/04/22 14:51:29 UTC

[1/2] maven-indexer git commit: Add minimal information to a newly created artifact info (using the IndexUtils method), linking it to the context it belongs to.

Repository: maven-indexer
Updated Branches:
  refs/heads/master ac19770a3 -> a5039e593


Add minimal information to a newly created artifact info (using the IndexUtils method), linking it to the context it belongs to.


Project: http://git-wip-us.apache.org/repos/asf/maven-indexer/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-indexer/commit/6d87d0be
Tree: http://git-wip-us.apache.org/repos/asf/maven-indexer/tree/6d87d0be
Diff: http://git-wip-us.apache.org/repos/asf/maven-indexer/diff/6d87d0be

Branch: refs/heads/master
Commit: 6d87d0be5860b830af3ce74127cfe282403b29f3
Parents: 1c2af7a
Author: Eduard Moraru <En...@gmail.com>
Authored: Mon Jan 12 19:40:01 2015 +0200
Committer: Eduard Moraru <En...@gmail.com>
Committed: Mon Jan 12 19:40:01 2015 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/maven/index/context/IndexUtils.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-indexer/blob/6d87d0be/indexer-core/src/main/java/org/apache/maven/index/context/IndexUtils.java
----------------------------------------------------------------------
diff --git a/indexer-core/src/main/java/org/apache/maven/index/context/IndexUtils.java b/indexer-core/src/main/java/org/apache/maven/index/context/IndexUtils.java
index f03bd81..78ff5d1 100644
--- a/indexer-core/src/main/java/org/apache/maven/index/context/IndexUtils.java
+++ b/indexer-core/src/main/java/org/apache/maven/index/context/IndexUtils.java
@@ -122,6 +122,10 @@ public class IndexUtils
 
         ArtifactInfo artifactInfo = new ArtifactInfo();
 
+        // Add minimal information to the artifact info linking it to the context it belongs to.
+        artifactInfo.setRepository(context.getRepositoryId());
+        artifactInfo.setContext(context.getId());
+
         for ( IndexCreator ic : context.getIndexCreators() )
         {
             res |= ic.updateArtifactInfo( doc, artifactInfo );


[2/2] maven-indexer git commit: Merge remote-tracking branch 'enygma/fix-artifact-info-construction' into pr-11

Posted by cs...@apache.org.
Merge remote-tracking branch 'enygma/fix-artifact-info-construction' into pr-11


Project: http://git-wip-us.apache.org/repos/asf/maven-indexer/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-indexer/commit/a5039e59
Tree: http://git-wip-us.apache.org/repos/asf/maven-indexer/tree/a5039e59
Diff: http://git-wip-us.apache.org/repos/asf/maven-indexer/diff/a5039e59

Branch: refs/heads/master
Commit: a5039e5932c77a1dceb1822e16954088a6773c4a
Parents: ac19770 6d87d0b
Author: Tamas Cservenak <ta...@cservenak.net>
Authored: Wed Apr 22 14:51:15 2015 +0200
Committer: Tamas Cservenak <ta...@cservenak.net>
Committed: Wed Apr 22 14:51:15 2015 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/maven/index/context/IndexUtils.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------