if in the copy-flex-resources goal I set useFinalName then the build
completes successfully.

 should I open a JIRA for this?

  <packaging>war</packaging>
  <build>
    <plugins>
      <plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>4.0-SNAPSHOT</version>
        <executions>
          <execution>
            <goals>
              <goal>copy-flex-resources</goal>
            </goals>
          <configuration>
                <useFinalName>false</useFinalName>
          </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>maven-jetty-plugin</artifactId>
        <version>6.1.17</version>
      </plugin>
    </plugins>
  </build>

On Dec 7, 11:59 am, Dani <[email protected]> wrote:
> Hey,
>
> I've created modular application using the flexmojos-archetypes-
> modular-webapp archetype
> when I run: mvn clean install
>
> I get the following error:
>
> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> plugin:4.0-SNAPSHOT:copy-flex-resources (default) on project war:
> Execution default of goal org.sonatype.flexmojos:flexmojos-maven-
> plugin:4.0-SNAPSHOT:copy-flex-resources failed. NullPointerException -
>
> > [Help 1]
>
> Caused by: java.lang.NullPointerException
>         at
> org.sonatype.flexmojos.plugin.war.CopyMojo.getDestinationFile(CopyMojo.java :
> 211)
>         at
> org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody0(CopyMojo.jav a:
> 144)
>         at
> org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody1$advice(CopyM 
> ojo.java:
> 24)
>         at
> org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody2(CopyMojo.jav a:
> 124)
>         at
> org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody3$advice(CopyM 
> ojo.java:
> 17)
>         at org.sonatype.flexmojos.plugin.war.CopyMojo.execute(CopyMojo.java:
> 1)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildP 
> luginManager.java:
> 107)
>         ... 20 more
>
> any idea what's the problem?
> it also happens in the alpha and beta versions of flexmojos-maven-
> plugin

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to