Owwww, sorry for the confusion, I though were all on the same pom, my
bad =D

On Jan 10, 7:41 am, Frank Szilinski <[email protected]>
wrote:
> I don't get the point, sorry. You don't mean the "flexmojos-flex3-
> compatibility-layer"? I postet two POM's. The first is the POM of the
> "RSL Library" maven module, the second is the POM of the "Main
> Application" maven module.
>
> On 10 Jan., 10:13, Marvin Froeder <[email protected]> wrote:
>
>
>
>
>
>
>
> > Look at your pom...... it is there two times...
>
> > On Jan 10, 6:37 am, Frank Szilinski <[email protected]>
> > wrote:
>
> > > Hey Marvin, what do you exactly mean by two times?
>
> > > On 10 Jan., 07:57, Marvin Froeder <[email protected]> wrote:
>
> > > > 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
>
> ...
>
> read more »

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