// Path: centrepoint/modules/model/src/main/java/com/effectivemaven/centrepoint/model/plugin/PanelItem.java
// public class PanelItem
// {
//     /** The label to display for the text or link. */
//     private final String name;
// 
//     /** The optional URL to link to. */
//     private final String url;
// 
//     public PanelItem( String name )
//     {
//         this.name = name;
//         this.url = null;
//     }
// 
//     public PanelItem( String name, String url )
//     {
//         this.name = name;
//         this.url = url;
//     }
// 
//     public String getName()
//     {
//         return name;
//     }
// 
//     public String getUrl()
//     {
//         return url;
//     }
// }


import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.logging.Logger;
import org.apache.archiva.web.xmlrpc.api.SearchService;
import org.apache.archiva.web.xmlrpc.api.beans.Artifact;
import com.atlassian.xmlrpc.Binder;
import com.atlassian.xmlrpc.BindingException;
import com.atlassian.xmlrpc.ConnectionInfo;
import com.atlassian.xmlrpc.DefaultBinder;
import com.effectivemaven.centrepoint.model.MavenCoordinates;
import com.effectivemaven.centrepoint.model.Project;
import com.effectivemaven.centrepoint.model.plugin.PanelItem;
import com.effectivemaven.centrepoint.model.plugin.PanelPlugin;
package com.effectivemaven.centrepoint.plugins.archiva;




public class ArchivaSearchPlugin
    implements PanelPlugin
{
    private static Logger logger = Logger.getLogger( ArchivaSearchPlugin.class.getName() );

    /**
     * Get a list of items present in the panel.
     * 
     * @return the list of panel items
     */
// Path: centrepoint/modules/model/src/main/java/com/effectivemaven/centrepoint/model/plugin/PanelItem.java
// public class PanelItem
// {
//     /** The label to display for the text or link. */
//     private final String name;
// 
//     /** The optional URL to link to. */
//     private final String url;
// 
//     public PanelItem( String name )
//     {
//         this.name = name;
//         this.url = null;
//     }
// 
//     public PanelItem( String name, String url )
//     {
//         this.name = name;
//         this.url = url;
//     }
// 
//     public String getName()
//     {
//         return name;
//     }
// 
//     public String getUrl()
//     {
//         return url;
//     }
// }


// Path: plugins/archiva-search-plugin/src/main/java/com/effectivemaven/centrepoint/plugins/archiva/ArchivaSearchPlugin.java
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.logging.Logger;
import org.apache.archiva.web.xmlrpc.api.SearchService;
import org.apache.archiva.web.xmlrpc.api.beans.Artifact;
import com.atlassian.xmlrpc.Binder;
import com.atlassian.xmlrpc.BindingException;
import com.atlassian.xmlrpc.ConnectionInfo;
import com.atlassian.xmlrpc.DefaultBinder;
import com.effectivemaven.centrepoint.model.MavenCoordinates;
import com.effectivemaven.centrepoint.model.Project;
import com.effectivemaven.centrepoint.model.plugin.PanelItem;
import com.effectivemaven.centrepoint.model.plugin.PanelPlugin;

package com.effectivemaven.centrepoint.plugins.archiva;




public class ArchivaSearchPlugin
    implements PanelPlugin
{
    private static Logger logger = Logger.getLogger( ArchivaSearchPlugin.class.getName() );

    /**
     * Get a list of items present in the panel.
     * 
     * @return the list of panel items
     */
    public List<PanelItem> getItems( Project project )