With locally i mean on my windows laptop, against my ~/.m2 repository which is of course populated through our internal repository (archiva).
If I do a mvn -X install on a swf project that uses the charting components I find the following [DEBUG] com.adobe.flex.compiler:license:jar:3.2.0.3958:runtime (selected for runtime) This confuses me in two ways: It should reference the artifact that I installed with your installer mojo - which would be "3.2.0.3958.cdm" and it should be selected for compile time, right ? But in the end that swf that I compile on my machine does not show the watermark. To make the confusion perfect I checked the mvn -X output of a totally other project, that uses the "official" 3.2.0.3958 artifacts that I obtained from your repo (http://svn.sonatype.org/). This project does not make use of any charting - I did not even specify any license information in any pom.xml - but the flex mojo prints out the license information from my flex builder license !!! Where does it get that from ? Is there any windows registry access ? the license string is printed out with all the "-" characters removed. I'm a little confused. Dirk On 14 Jan., 22:18, "RedBugz Software" <[email protected]> wrote: > On Wed, Jan 14, 2009 at 2:04 PM, ddinger <[email protected]> wrote: > > I moved the compiler dependency to the plugin section, but I still get > > the watermark ;-) > > What confuses me is, that if I execute the maven build locally > > everything works fine. > > What do you mean "locally". Is this running on a build server or something? > > You need either the Flex Builder version of the Flex SDK or the free > non-MPL version of the Flex SDK installed somewhere (using > install-mojo) where the build can see it. On your local machine it's > your local repository (~/.m2). If you are doing this on a build server > or several machines, you should use an internal repository (Nexus, > Archiva, etc.) and deploy the FDK there. > > When doing the build, use the mvn -X parameter to get verbose output, > and somewhere in your build you should see something like: > [DEBUG] (f) pluginArtifacts = [........, > com.adobe.flex.compiler:license:jar:3.2.0.3958:compile,......] > > If you don't see any references to the license.jar on the plugins > classpath, it won't accept the license key. > > Logan --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
