Why did you declare flexmojos two times?

On Jan 4, 11:07 pm, Frank Szilinski <[email protected]>
wrote:
> Tried to convert Flex 3 Project with Maven 3.0.2 and FM 3.6 to new
> Maven 3.0.3 and FM4. I found a lot of Posts in this Group (thanks :)
> but now I am struggling with turning a RSL library goal to "create-
> rsl". Compilation for all modules, the main application, locales,
> themes and the RSL looks good to me. When starting the application I
> get a lot of errors like:
>
> ...
> VerifyError: Error #1014: Class mx.core::BitmapAsset was not found.
> VerifyError: Error #1014: Class IWatcherSetupUtil was not found.
> VerifyError: Error #1014: Class IDataRenderer was not found.
> VerifyError: Error #1014: Class mx.controls::VSlider was not found.
> VerifyError: Error #1014: Class mx.containers::HBox was not found.
> ...
>
> Part of RSL POM:
> ...
>                       <plugin>
>                         <groupId>org.sonatype.flexmojos</groupId>
>                         <artifactId>flexmojos-maven-plugin</artifactId>
>                 <extensions>true</extensions>
>                         <dependencies>
>                           <dependency>
>                             <groupId>org.sonatype.flexmojos</groupId>
>                             <artifactId>flexmojos-flex3-compatibility-layer</
> artifactId>
>                             <version>${flexmojos.version}</version>
>                           </dependency>
>                           <dependency>
>                             <groupId>com.adobe.flex</groupId>
>                             <artifactId>compiler</artifactId>
>                             <version>${flex.sdk.version}</version>
>                             <type>pom</type>
>                           </dependency>
>                         </dependencies>
>                         <executions>
>                           <execution>
>                             <goals>
>                                       <goal>create-rsl</goal>
>                             </goals>
>                                   </execution>
>                                 </executions>
>                 <configuration>
>                                         <optimizeRsl>false</optimizeRsl>
>                                         <reduceMergeABC>false</reduceMergeABC>
>                                         <reduce>false</reduce>
>                                         
> <reduceSortCPool>false</reduceSortCPool>
>                                         <strip>false</strip>
>                 </configuration>
>                           </plugin>
> ...
>
> Part of App POM:
> ...
>                         <plugin>
>                                 <groupId>org.sonatype.flexmojos</groupId>
>                                 
> <artifactId>flexmojos-maven-plugin</artifactId>
>                 <extensions>true</extensions>
>                         <dependencies>
>                           <dependency>
>                             <groupId>org.sonatype.flexmojos</groupId>
>                             <artifactId>flexmojos-flex3-compatibility-layer</
> artifactId>
>                             <version>${flexmojos.version}</version>
>                           </dependency>
>                           <dependency>
>                             <groupId>com.adobe.flex</groupId>
>                             <artifactId>compiler</artifactId>
>                             <version>${flex.sdk.version}</version>
>                             <type>pom</type>
>                           </dependency>
>                         </dependencies>
>                                 <configuration>
>                                         
> <sourceFile>./pElementsWebApp.mxml</sourceFile>
>                                         <rslUrls>
>                         <rsl>${profile.contextRoot}/${profile.rslPath}/
> {artifactId}-${project.version}.{extension}</rsl>
>                                         </rslUrls>
>                                         
> <linkReportAttach>true</linkReportAttach>
>                 </configuration>
>                         </plugin>
> ...
>
> I read about problems with scopes in mvn3 so here is the dependency
> tree:
> ...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building flex core RSL library 1.03.01-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:2.0:tree (default-cli) @ flex-core
> ---
> [INFO] com.esentri.pelements:flex-core:swc:1.03.01-SNAPSHOT
> [INFO] +- com.adobe.flex.framework:flex-framework:pom:
> 3.6.0.16995:compile
> [INFO] |  \- com.adobe.flex.framework:common-framework:pom:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:datavisualization:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:flex:swc:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:rpc:swc:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:utilities:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:zip:configs:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:datavisualization:rb.swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:rb.swc:
> 3.6.0.16995:compile
> [INFO] |     \- com.adobe.flex.framework:rpc:rb.swc:
> 3.6.0.16995:compile
> [INFO] +- com.adobe.flex.framework:playerglobal:swc:
> 10:3.6.0.16995:compile
> [INFO] +- com.googlecode:flexlib:swc:2.4:compile
> [INFO] +- com.asfusion:mate:swc:0.9.1:compile
> [INFO] +- org.efflex:efflex:swc:0.04:compile
> [INFO] +- com.hurlant:as3crypto:swc:1.3:compile
> [INFO] +- com.esentri.pelements:flex-ro:swc:1.03.01-SNAPSHOT:compile
> [INFO] |  \- com.adobe.flex:compiler:pom:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:adt:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:afe:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:aglj32:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:asc:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:asdoc:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:batik-all-flex:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:batik_ja:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:commons-collections:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:commons-discovery:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:commons-logging:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:compc:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:copylocale:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:digest:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:DMV-source:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:fcsh:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:fdb:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:flex-compiler-oem:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:flex-fontkit:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:license:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:mm-velocity-1.4:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:mxmlc:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:mxmlc_ja:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:optimizer:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:rideau:jar:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:swfutils:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:xercesImpl:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:xercesImpl_ja:jar:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.compiler:xercesPatch:jar:
> 3.6.0.16995:compile
> [INFO] |     \- com.adobe.flex.compiler:xmlParserAPIs:jar:
> 3.6.0.16995:compile
> [INFO] \- com.esentri.pelements:flex-l10n-extension:swc:1.03.01-
> SNAPSHOT:compile
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building flex module for social 1.03.01-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:http://devenv.esentri.com:8081/artifactory/remote-repos/com/esentri/p...
> Downloading:http://devenv.esentri.com:8081/artifactory/remote-repos/com/esentri/p...
> Downloading:http://devenv.esentri.com:8081/artifactory/remote-repos/com/esentri/p...
> Downloading:http://devenv.esentri.com:8081/artifactory/remote-repos/com/esentri/p...
> [INFO]
> [INFO] --- maven-dependency-plugin:2.0:tree (default-cli) @ flex-mod-
> social ---
> [INFO] com.esentri.pelements:flex-mod-social:swf:1.03.01-SNAPSHOT
> [INFO] +- com.adobe.flex.framework:flex-framework:pom:
> 3.6.0.16995:compile
> [INFO] |  \- com.adobe.flex.framework:common-framework:pom:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:datavisualization:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:flex:swc:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:rpc:swc:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:utilities:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:zip:configs:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:datavisualization:rb.swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:rb.swc:
> 3.6.0.16995:compile
> [INFO] |     \- com.adobe.flex.framework:rpc:rb.swc:
> 3.6.0.16995:compile
> [INFO] +- com.adobe.flex.framework:playerglobal:swc:
> 10:3.6.0.16995:compile
> [INFO] +- com.adobe.flex:compiler:pom:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:adt:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:afe:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:aglj32:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:asc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:asdoc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:batik-all-flex:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:batik_ja:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:commons-collections:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:commons-discovery:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:commons-logging:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:compc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:copylocale:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:digest:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:DMV-source:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:fcsh:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:fdb:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:flex-compiler-oem:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:flex-fontkit:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:license:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:mm-velocity-1.4:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:mxmlc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:mxmlc_ja:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:optimizer:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:rideau:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:swfutils:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:xercesImpl:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:xercesImpl_ja:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:xercesPatch:jar:
> 3.6.0.16995:compile
> [INFO] |  \- com.adobe.flex.compiler:xmlParserAPIs:jar:
> 3.6.0.16995:compile
> [INFO] +- com.asfusion:mate:swc:0.9.1:compile
> [INFO] +- org.efflex:efflex:swc:0.04:compile
> [INFO] +- com.esentri.pelements:flex-config:zip:resources:1.03.01-
> SNAPSHOT:provided
> [INFO] +- com.esentri.pelements:flex-ro:swc:1.03.01-SNAPSHOT:compile
> [INFO] +- com.esentri.pelements:flex-l10n-extension:swc:1.03.01-
> SNAPSHOT:compile
> [INFO] \- com.esentri.pelements:flex-core:swc:1.03.01-
> SNAPSHOT:external
> [INFO]    +- com.googlecode:flexlib:swc:2.4:runtime
> [INFO]    \- com.hurlant:as3crypto:swc:1.3:runtime
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building flex web application 1.03.01-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:http://devenv.esentri.com:8081/artifactory/remote-repos/com/esentri/p...
> [INFO]
> [INFO] --- maven-dependency-plugin:2.0:tree (default-cli) @ flex-
> pelements-web ---
> [INFO] com.esentri.pelements:flex-pelements-web:swf:1.03.01-SNAPSHOT
> [INFO] +- com.adobe.flex.framework:flex-framework:pom:
> 3.6.0.16995:compile
> [INFO] |  \- com.adobe.flex.framework:common-framework:pom:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:datavisualization:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:flex:swc:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:rpc:swc:3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:utilities:swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:zip:configs:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:datavisualization:rb.swc:
> 3.6.0.16995:compile
> [INFO] |     +- com.adobe.flex.framework:framework:rb.swc:
> 3.6.0.16995:compile
> [INFO] |     \- com.adobe.flex.framework:rpc:rb.swc:
> 3.6.0.16995:compile
> [INFO] +- com.adobe.flex.framework:playerglobal:swc:
> 10:3.6.0.16995:compile
> [INFO] +- com.adobe.flex:compiler:pom:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:adt:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:afe:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:aglj32:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:asc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:asdoc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:batik-all-flex:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:batik_ja:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:commons-collections:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:commons-discovery:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:commons-logging:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:compc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:copylocale:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:digest:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:DMV-source:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:fcsh:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:fdb:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:flex-compiler-oem:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:flex-fontkit:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:license:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:mm-velocity-1.4:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:mxmlc:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:mxmlc_ja:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:optimizer:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:rideau:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:swfutils:jar:3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:xercesImpl:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:xercesImpl_ja:jar:
> 3.6.0.16995:compile
> [INFO] |  +- com.adobe.flex.compiler:xercesPatch:jar:
> 3.6.0.16995:compile
> [INFO] |  \- com.adobe.flex.compiler:xmlParserAPIs:jar:
> 3.6.0.16995:compile
> [INFO] +- com.googlecode:flexlib:swc:2.4:compile
> [INFO] +- com.asfusion:mate:swc:0.9.1:compile
> [INFO] +- org.efflex:efflex:swc:0.04:compile
> [INFO] +- com.hurlant:as3crypto:swc:1.3:compile
> [INFO] +- com.asual:SWFAddress:swc:2.4:compile
> [INFO] +- com.google:analytics:swc:1.0.1.319:compile
> [INFO] +- com.esentri.pelements:flex-config:zip:resources:1.03.01-
> SNAPSHOT:provided
> [INFO] +- com.esentri.pelements:flex-ro:swc:1.03.01-SNAPSHOT:compile
> [INFO] +- com.esentri.pelements:flex-l10n-extension:swc:1.03.01-
> SNAPSHOT:compile
> [INFO] \- com.esentri.pelements:flex-core:swc:1.03.01-SNAPSHOT:rsl
> ...
>
> Any Idea what could be wrong?

-- 
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