Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Could not get the value for staleFile param with jaxws-maven-plugin

From my experience, this error message appears when m2e's embedded Maven runtime has trouble resolving the plugin artifact or one of it's dependencies.
If you have m2e logback support plugin installed, you can check WORKSPACE/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log for more detailed error message.

Cheers,
Rafał

On 09/03/2011 10:10 AM, Asplund Marko wrote:
Hi,

I'm getting the following error in Eclipse Indigo when using m2e & the jaxws-maven-plugin:

Could not get the value for parameter staleFile for plugin execution default (org.codehaus.mojo:jaxws-maven-plugin:1.10:wsimport:default:generate-sources) pom.xml /customerservice-api line 3 Maven Build Problem

It seems that some people have been getting this error when multiple plugin executions have been configured. In my case there's only one execution, AFAIK:

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jaxws-maven-plugin</artifactId>
        <version>1.10</version>
        <executions>
          <execution>
            <goals>
              <goal>wsimport</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <target>${jaxws-api.version}</target>
          <extension>true</extension>
          <xadditionalHeaders>true</xadditionalHeaders>
          <sourceDestDir>${project.build.directory}/generated-sources</sourceDestDir>
        </configuration>
      </plugin>

I also tried specifying staleFile explicitly but that didn't help.
What's causing this issue?

Here're the version details:
- jaxws-maven-plugin v1.10
- m2e v1.0.100.20110804-1717
- m2e connector for jaxws v1.0.0.20110810


marko

_______________________________________________ m2e-users mailing list m2e-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top