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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/