Ok thanks a lot for the extremly fast reply, it seems to have fixed an issue i've been struggling with for hours.
I just took the version from some example. Where do i figure out what version to use? When i tested with 3.8 it worked when i built the module by itself, but building from the parent pom failed with the same license.jar warning on the module. Is it ok to define the dependency on the only module that requires the license.jar or is there something else that i can do wrong to have it working built by itself but not when called from a parent pom? Cheers, /Staffan On Jan 27, 5:00 pm, Marvin Froeder <[email protected]> wrote: > I would really suggest you using a newer flexmojos.... 3.4.2 is more then a > year old.... maybe there was some bug, I don't really recall. > > On Thu, Jan 27, 2011 at 1:57 PM, StaffanM <[email protected]> wrote: > > I'm trying to build a project using sdk 3.2. A module includes > > datavisualisation, so i tried to add the license feature of Flexmjos > > but i seem to fail. What i am currently trying i took from the FAQ: > > > <plugins> > > <plugin> > > <groupId>org.sonatype.flexmojos</groupId> > > <artifactId>flexmojos-maven-plugin</artifactId> > > <version>3.4.2</version> > > <extensions>true</extensions> > > > <configuration> > > <licenses> > > <flexbuilder3>XXXX-XXXX...</flexbuilder3> > > </licenses> > > </configuration> > > <dependencies> > > <dependency> > > <groupId>com.adobe.flex</groupId> > > <artifactId>license</artifactId> > > <version>3.2.0.3958</version> > > </dependency> > > </dependencies> > > </plugin> > > </plugins> > > > I also installed the license.jar from the sdk: > > <execution> > > <id>install license.jar</id> > > > <goals><goal>install-file</goal></goals> > > <phase>validate</phase> > > <configuration> > > <file>C:/Program Files > > (x86)/Adobe/Adobe Flash Builder 4/sdks/ > > 3.2.0/lib/license.jar</file> > > > <groupId>com.adobe.flex</groupId> > > > <artifactId>license</artifactId> > > > <version>3.2.0.3958</version> > > <packaging>jar</packaging> > > </configuration> > > </execution> > > > But.. i get the watermarks in the dataVis components after trying > > multiple valid flexbuilder3 licenses. > > > When checking the Flexmojos output, it says that it cannot find the > > license.jar. > > [WARNING] Unable to find license.jar on classpath. Check wiki for > > instructions about how to add it: > > https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.3 > > > If i check the extended output (mvn install -X), i see that it seems > > Flexmojos has picked up the jar? > > com.adobe.flex:license:jar:3.2.0.3958:compile > > ... > > [DEBUG] com.adobe.flex:license:jar:3.2.0.3958:compile (selected for > > compile) > > > When i test creating a new Flex project using SDK 3.2, i get > > watermarks in my Flash builder 4 IDE. When i try to make one using > > SDK4, there are none. But in my maven builds i've tried using both > > valid Flash builder4 and Flex builder 3 licenses without getting it to > > work. > > > Any advice on what i can try to make this work? > > > -- > > 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%[email protected]> > > 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/
