@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getGroupId() + " : " + artifactInfo.getArtifactId(); }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getGroupId() + " : " + artifactInfo.getArtifactId(); }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getGroupId() + " : " + artifactInfo.getArtifactId(); }
public TreeNode createANode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { TreeNode result = createNode( tview, req, path, false, ai.getArtifactId(), Type.A ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); return decorateANode( tview, req, ai, path, result ); }
public TreeNode createANode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { TreeNode result = createNode( tview, req, path, false, ai.getArtifactId(), Type.A ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); return decorateANode( tview, req, ai, path, result ); }
public TreeNode createANode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { TreeNode result = createNode( tview, req, path, false, ai.getArtifactId(), Type.A ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); return decorateANode( tview, req, ai, path, result ); }
public TreeNode createArtifactNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { StringBuilder sb = new StringBuilder( ai.getArtifactId() ).append( "-" ).append( ai.getVersion() ); if ( ai.getClassifier() != null ) { sb.append( "-" ).append( ai.getClassifier() ); } sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() ); TreeNode result = createNode( tview, req, path, true, sb.toString(), Type.artifact ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateArtifactNode( tview, req, ai, path, result ); }
public TreeNode createArtifactNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { StringBuilder sb = new StringBuilder( ai.getArtifactId() ).append( "-" ).append( ai.getVersion() ); if ( ai.getClassifier() != null ) { sb.append( "-" ).append( ai.getClassifier() ); } sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() ); TreeNode result = createNode( tview, req, path, true, sb.toString(), Type.artifact ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateArtifactNode( tview, req, ai, path, result ); }
public TreeNode createArtifactNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { StringBuilder sb = new StringBuilder( ai.getArtifactId() ).append( "-" ).append( ai.getVersion() ); if ( ai.getClassifier() != null ) { sb.append( "-" ).append( ai.getClassifier() ); } sb.append( "." ).append( ai.getFileExtension() == null ? "jar" : ai.getFileExtension() ); TreeNode result = createNode( tview, req, path, true, sb.toString(), Type.artifact ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateArtifactNode( tview, req, ai, path, result ); }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getGroupId() + ":" + artifactInfo.getArtifactId() + ":" + artifactInfo.getVersion() + ":" + artifactInfo.getClassifier(); }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getGroupId() + ":" + artifactInfo.getArtifactId() + ":" + artifactInfo.getVersion() + ":" + artifactInfo.getClassifier(); }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getGroupId() + ":" + artifactInfo.getArtifactId() + ":" + artifactInfo.getVersion() + ":" + artifactInfo.getClassifier(); }
public boolean accepts( IndexingContext ctx, ArtifactInfo ai ) { String key = ai.getGroupId() + ai.getArtifactId() + ai.getPackaging() + ai.getClassifier(); if ( !repositoriesIgnored ) { key = ai.getRepository() + key; } if ( gas.contains( key ) ) { return false; } else { gas.add( key ); postprocess( ctx, ai ); return true; } }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getRepository() + ":" + artifactInfo.getGroupId() + ":" + artifactInfo.getArtifactId() + ":" + artifactInfo.getVersion() + ":" + artifactInfo.getClassifier(); }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getRepository() + ":" + artifactInfo.getGroupId() + ":" + artifactInfo.getArtifactId() + ":" + artifactInfo.getVersion() + ":" + artifactInfo.getClassifier(); }
@Override protected String getGroupKey( ArtifactInfo artifactInfo ) { return artifactInfo.getRepository() + ":" + artifactInfo.getGroupId() + ":" + artifactInfo.getArtifactId() + ":" + artifactInfo.getVersion() + ":" + artifactInfo.getClassifier(); }
public void artifactDiscovered( ArtifactContext ac ) { count++; long t = System.currentTimeMillis(); ArtifactInfo ai = ac.getArtifactInfo(); if ( !quiet && debug && "maven-plugin".equals( ai.getPackaging() ) ) { System.err.printf( "Plugin: %s:%s:%s - %s %s\n", // ai.getGroupId(), ai.getArtifactId(), ai.getVersion(), ai.getPrefix(), "" + ai.getGoals() ); } if ( !quiet && ( debug || ( t - ts ) > 2000L ) ) { System.err.printf( " %6d %s\n", count, formatFile( ac.getPom() ) ); ts = t; } }
public TreeNode createVNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { TreeNode result = createNode( tview, req, path, false, ai.getVersion(), Type.V ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateVNode( tview, req, ai, path, result ); }
public TreeNode createVNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { TreeNode result = createNode( tview, req, path, false, ai.getVersion(), Type.V ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateVNode( tview, req, ai, path, result ); }
public TreeNode createVNode( IndexTreeView tview, TreeViewRequest req, ArtifactInfo ai, String path ) { TreeNode result = createNode( tview, req, path, false, ai.getVersion(), Type.V ); result.setGroupId( ai.getGroupId() ); result.setArtifactId( ai.getArtifactId() ); result.setVersion( ai.getVersion() ); return decorateVNode( tview, req, ai, path, result ); }