Skip to main content



      Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » validate not called to find dependencies(files install-file'd from validate phase not available)
validate not called to find dependencies [message #500406] Wed, 25 November 2009 18:34 Go to next message
Eclipse UserFriend
Hello,

I have a project with a pom containing two dependencies that are copied to the users local repository during the validate phase. They are copied with a <goal>install-file</goal>.

Although the project works fine with maven from the commadn line, it will not work in ecilpse with IAM. The classpath container disappears.

If instead 'mvn validate' is run on the command line first, then the project opened in eclipse, it works as expected.

I suspect this is because IAM doesn't run the validate target before deciding there are missing dependencies.

This seems like a bug. Are there any known workarounds, and should I file it as a bug?
Re: validate not called to find dependencies [message #500608 is a reply to message #500406] Fri, 27 November 2009 01:09 Go to previous message
Eclipse UserFriend
probably you are right, your way of using validate is unorthodox and IAM
does not run phases when it parses the pom

you can check the Maven 2 Events view and the Eclipse Error Log to see
if something comes up there.


On 11/25/09 5:34 PM, Kenny MacDermid wrote:
> Hello,
>
> I have a project with a pom containing two dependencies that are copied
> to the users local repository during the validate phase. They are copied
> with a <goal>install-file</goal>.
>
> Although the project works fine with maven from the commadn line, it
> will not work in ecilpse with IAM. The classpath container disappears.
>
> If instead 'mvn validate' is run on the command line first, then the
> project opened in eclipse, it works as expected.
>
> I suspect this is because IAM doesn't run the validate target before
> deciding there are missing dependencies.
>
> This seems like a bug. Are there any known workarounds, and should I
> file it as a bug?
Previous Topic:Problem using maven-jibx-plugin
Next Topic:validate not called to find dependencies
Goto Forum:
  


Current Time: Tue Jul 01 23:01:29 EDT 2025

Powered by FUDForum. Page generated in 0.08947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top