Package org.apache.maven.index

Examples of org.apache.maven.index.ArtifactInfoPostprocessor


    }

    req.setArtifactInfoFilter(new AndMultiArtifactInfoFilter(filters));

    if (uniqueRGA) {
      req.setArtifactInfoPostprocessor(new ArtifactInfoPostprocessor()
      {
        public void postprocess(IndexingContext ctx, ArtifactInfo ai) {
          ai.context = "Aggregated";
          ai.repository = null;
        }
      });
    }
    else {
      // we may do this only when !uniqueRGA, otherwise UniqueGAArtifactFilterPostprocessor nullifies
      // ai.repository and ai.context
      req.setArtifactInfoPostprocessor(new ArtifactInfoPostprocessor()
      {
        public void postprocess(IndexingContext ctx, ArtifactInfo ai) {
          String result = ai.context;

          try {
View Full Code Here

TOP

Related Classes of org.apache.maven.index.ArtifactInfoPostprocessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.