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 > <[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 >> > > -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
