On Fri, 4 Nov 2005, Mark Hobson wrote:

Sorry guys, but I closed the issue with a "Won't fix",
see http://jira.codehaus.org/browse/MNG-1410 for an explanation.

Should you really have a good reason this is a bug/improvement,
NOT breaking maven 2's dependency handling, you can reopen it.

-- Kenney

> Hi Barry,
>
> I noticed this yesterday too and raised an issue:
> http://jira.codehaus.org/browse/MNG-1410
>
> You may want to supply patches there.
>
> Cheers,
>
> Mark
>
> On 04/11/05, Barry Kaplan <[EMAIL PROTECTED]> wrote:
> > Below is what I did to get a proper project to be created. Now I don't
> > really understand how snapshots are supposed to work, so I'm sure there
> > are problems with this solution. But at least it is creating proper
> > eclipse projects. Now I need to learn how to make a custom verson of a
> > plugin available to my team..........
> >
> >     public static MavenProject findReactorProject( List reactorProjects,
> > Artifact artifact )
> >     {
> >         if ( reactorProjects == null )
> >         {
> >             return null; // we're a single project
> >         }
> >
> >         for ( Iterator it = reactorProjects.iterator(); it.hasNext(); )
> >         {
> >             MavenProject project = (MavenProject) it.next();
> >
> >             if ( project.getGroupId().equals( artifact.getGroupId() )
> >                 && project.getArtifactId().equals(
> > artifact.getArtifactId() )
> >                 && isVersionMatch(project, artifact) )
> >                 //project.getVersion().equals( artifact.getVersion() ) )
> >             {
> >                 return project;
> >             }
> >         }
> >
> >         return null;
> >     }
> >
> >     public static boolean isVersionMatch(MavenProject project, Artifact
> > artifact) {
> >         return project.getVersion ().equals(artifact.getVersion())
> >                 ||
> > project.getVersion().equals(artifact.getVersionRange().toString());
> >     }
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to