No news about these one ?

I've got no problem with a simple pom (resources are copied).

But If I use in the parent pom some filtering like this, no resources
are copied :

  <build>

    <plugins>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <mkdir dir="${project.build.directory}" />

                <tstamp>
                  <format property="last.updated" pattern="yyyy-MM-dd
hh:mm:ss" />
                </tstamp>
                <echo file="${basedir}/target/filter.properties">

build.time=${last.updated}${line.separator}os.infos=${os.name}
${os.version}${line.separator}user.infos=${user.name}${line.separator}java.infos=JDK
${java.vendor} ${java.runtime.version}
                </echo>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
      </plugin>

    </plugins>

    <filters>
      <filter>${basedir}/target/filter.properties</filter>
    </filters>

    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>

  </build>

Did m2eclipse support ant-tasks here ?

2008/6/27 Henri Gomez <[EMAIL PROTECTED]>:
> Hi to all,
>
> I got a strange problem with m2eclipse 0.9.4
>
> When I'm using maven 2.0.9 from command line, I got the resources
> copied from src/main/resources to target-classes
>
> When I'm using the embedded maven (ie project clean), the resources
> are not copied to to target-classes.
>
> If I do a Run Maven package, they are.
>
> Any idea of way to track it in the console ?
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to