Hi Sean,

On Fri, Apr 17, 2009 at 7:08 PM, Sean Owen
<sean.o...@positiveenergyusa.com> wrote:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>pose</groupId>
>  <artifactId>posnet</artifactId>
>  <packaging>war</packaging>
>  <version>1.1.1-SNAPSHOT</version>
>  <name>Positive Energy Web</name>
>
>  <build>
>    <plugins>
>      <plugin>
>        <artifactId>maven-resources-plugin</artifactId>
>        <executions>
>          <execution>
>            <phase>validate</phase>
>            <goals>
>              <goal>copy-resources</goal>
>            </goals>
>            <configuration>
>              <outputDirectory>src/main/webapp/clients/pse</outputDirectory>
>              <resources>
>                <resource>
>
> <directory>/opt/pose/main/clients/pse/trunk/src/main/resources/webclientconfig/clients/pse/assets/</directory>
>                  <filtering>true</filtering>
>                </resource>
>              </resources>
>            </configuration>
>          </execution>
>        </executions>
>      </plugin>
>    </plugins>
>  </build>
> </project>

Strictly, you've configured a single execution of the
resources:copy-resources goal. You then attached that configuration to
the build in the validate life cycle phase. You have no configuration
defined for any default resources:copy-resources goal.

> If I run mvn resources:copy-resources with the above pom, I get the same
> error, asking for outputDirectory and resources, both of which are plainly
> specified above.

No doubt! Try just copy and pasting your configuration for this plugin
into <build><pluginManagement><plugins><plugin>.................. then
re-run your direct execution via mvn resources:copy-resources.

> I've consulted every coworker with any maven experience, and they're all
> mystified.

Yikes! That's kind of discouraging... I'm sorry.

Good luck,
-jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to