Because some of my modules are flex3 and some others are flex4. If I would specify the 3.5 version without [range], maven would automatically resolve it to the 4.0 version
Koen On Nov 9, 3:58 pm, Marvin Froeder <[email protected]> wrote: > If you only wanna 3.5.0.12683 why don't you simple declare 3.5.0.12683 on > the pom? instead of this [no]range ? > > > > > > > > On Tue, Nov 9, 2010 at 12:52 PM, Koen Weyn <[email protected]> wrote: > > Hello, > > > I am trying to construct a multi-module project, that has some modules > > using flex3 sdk and some other modules using flex4 sdk. > > To achieve this, I try to use a fixed range version for the flex3 > > framework dependency: > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>flex-framework</artifactId> > > <version>[3.5.0.12683]</version> > > <type>pom</type> > > <scope>external</scope> > > </dependency> > > > Otherwise mavens dependency mechanism would simply use the most > > current flex4 framework dependency for all modules. > > However, this does not work because of an error in the maven- > > metadata.xml of the flexgroups repository (more specifically > > >https://repository.sonatype.org/content/groups/flexgroup/com/adobe/fl... > > ), > > which contains a list of versions that is limited to 4.5 flex > > releases: > > <metadata> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>flex-framework</artifactId> > > <versioning> > > <latest>4.5.0.17077</latest> > > <release>4.5.0.17077</release> > > <versions> > > <version>4.5.0.17689</version> > > <version>4.5.0.17855</version> > > <version>4.5.0.17077</version> > > </versions> > > <lastUpdated>20101026004130</lastUpdated> > > </versioning> > > </metadata> > > > As such I get the following error when trying to build a flex3 module: > > Couldn't find a version in [4.5.0.17077, 4.5.0.17689, 4.5.0.17855] to > > match range [3.5.0.12683,3.5.0.12683] > > com.adobe.flex.framework:flex-framework:pom:null > > > Adding the required 3.5 version to the version list in maven- > > metadata.xml solves that issue. > > > Is someone on this mailing list authorized to make changes to the > > metadata, and willing to update it to contain a full version list? > > > thanks in advance, > > > Koen > > > -- > > 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]<flex-mojos%2bunsubscr...@googlegrou > > ps.com> > > For more options, visit this group at > >http://groups.google.com/group/flex-mojos > > >http://flexmojos.sonatype.org/ -- 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/
