Thanks again Bryan. I figured out the problem myself. I had added the framework and compiler dependencies in the global <dependencies> tag instead of <plugin> <dependencies>....
On Jun 25, 2:20 pm, Bryan Turner <[email protected]> wrote: > With the pom snippets shown I can't tell. Is the compiler dependency inside > the <plugin/> block for FlexMojos, or is it in the <dependencies/> block for > your application? The compiler should be a dependency of the plugin, not > your application. If that alone does not help, please post more context from > your pom. I'll update the thread in the morning with some chunks from my own > poms (we're using Flex 3.5. It's not 4, but that doesn't seem to matter > here--we're not getting a mismatch against 3.2, so whatever issue is biting > you we've got it solved one way or another). > > The link from the error message directs you to a webpage that is very plain > about where each dependency must go and how they interact. > > Best regards, > Bryan Turner > > On Jun 25, 2010 2:01 AM, "Nabeel Ahmed" <[email protected]> wrote: > > Thanks for the quick response. It helped a lot. > I found the required version in the new repository. > But even though I have changed the versions of both compiler and flex- > framework in my pom.xml to 4.0.0.13875, I'm still getting a version > mismatch error. I have checked all my pom.xml files. Any ideas? > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Flex compiler and flex framework versions doesn't match. > Compiler: '3.2.0.3958' - Framework: '4.0.0.13875'. > You can use 'ignoreVersionIssues' to disable this check. Please > refer to Flexmojos maven doc. > If you prefer fixing it instead of ignoring, take a look > at:https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version > > --------------------------------------------------- > > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-... > <version>4.0.0.13875</version> > > <type>pom</type> > </dependency> > <dependency> > > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>4.0.0.13875</version> > <type>pom</type> > </dependency> > > --------------------------------------------------- > > On Jun 24, 9:56 pm, Bryan Turner <[email protected]> wrote:> You might > try modifying your Maven settings to usehttp:// > > repository.sonatype.org/content/groups/flexgroup/, which is actually> the > FlexMojos repository, as a repository instead of or in addition > > tohttp://repository.sonatype.org/content/groups/public/, which is the main > > > Sonatype repository and is not the FlexMojos repository. The former > > has com.adobe.flex:compiler:... > > <url>http://repository.sonatype.org/content/groups/flexgroup/< > > http://repository.sonatype.org/content/groups/public/> > > > </url> > > </repository> > > > Additionally, in your pom.xml, you are depending on two different versions > > of Granite (1.2.0 and... > > On Thu, Jun 24, 2010 at 5:07 AM, Nabeel Ahmed <[email protected]> wrote: > > > I am trying to migrat... > > >http://repository.sonatype.org/content/groups/public/com/adobe/flex/c... > > > [INFO] Unable to find resource 'com.adobe.flex:compiler:pom: > > > 4.0.0.13555' in repository flex... > > ... > > > read more » > > -- > > You received this message because you are subscribed to the Google > Groups "Flex Mojos" group. > To pos... -- 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/
