You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by coutant <st...@orange-ftgroup.com> on 2008/09/08 10:25:07 UTC

Re: How to deploy a Flex library (swc)

Yes, Emmanuel, it works. And so we'll do.

But i still feel little unconfortable introducing a dependency from a
standard framework such Flex SDK to an emerging project such
flex-compiler-mojo... 

I suppose a will have to live with that untill Adobe realize that most
developpers want to build with maven!



Emmanuel Venisse-2 wrote:
> 
> 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
> <re...@gmail.com>
> 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
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-deploy-a-Flex-library-%28swc%29-tp18381065p19367892.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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