In the eclipse plugin, EclipseUtils.findReactorProject() does the below snippet when deciding whether a reactor project matches a dependency artifact (and if so, a direct eclipse project dependency is created instead of a repo jar depenency):

           if ( project.getGroupId().equals( artifact.getGroupId() )
&& project.getArtifactId().equals( artifact.getArtifactId() )
               && project.getVersion().equals( artifact.getVersion() ) )
           {
               return project;
           }

However, when working with SNAPSHOT, the project version will be, eg "1.0-SNAPSHOT" where the actual artifact dependency will be eg "1.0-20051103.223110-12". Hence they will never match, even though the dated version does indeed correspond to the snapshot.

Is this a bug, or is there something else I am not understanding?

-barry


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

Reply via email to