As swc packaging isn't a "standard" maven packaging, you must add the flex
mojo in your pom as an extension like this:
<build>
<plugins>
<plugin>
<groupId>info.rvin.mojo</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<version>1.0</version>
<extensions>true</extensions>
...
</plugin>
</plugins>
</build>
Emmanuel
On Tue, Jul 15, 2008 at 12:11 PM, Rémy Sanlaville <[EMAIL PROTECTED]>
wrote:
> >mvn validate
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Unnamed - com.yahoo.maps.flash:yahoo-map:swc:3.5
> [INFO] task-segment: [validate]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot find lifecycle mapping for packaging: 'swc'.
> Component descriptor cannot be found in the component repository:
> org.apache.maven.lifecycle.mapping.LifecycleMappingswc
> .
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Jul 15 12:08:39 CEST 2008
> [INFO] Final Memory: 1M/254M
> [INFO]
> ------------------------------------------------------------------------
>
>
> In fact, swc is not defined in the corresponding XML Schema (cf.
> http://maven.apache.org/maven-v4_0_0.xsd).
>
> Rémy
>