License is only required on plugin dependency.  Not a pom dependency.
Make sure you don't have 2 flexmojos on your pom.  This works.


VELO

On Tue, Apr 14, 2009 at 11:45 PM, aparrish <waparr...@gmail.com> wrote:

>
> Velo:
>
> I have not done the install mojos. A friend looked at my POM files and
> noticed I was missing the following compiler section in my plugin
> dependencies:
>
> <dependencies>
>        <dependency>
>                <groupId>com.adobe.flex</groupId>
>                <artifactId>compiler</artifactId>
>                <version>${flex.version}</version>
>                <type>pom</type>
>        </dependency>
>        <dependency>
>                <groupId>com.adobe.flex.license</groupId>
>                <artifactId>license-flexbuilder-pro-roundarch</artifactId>
>                <version>${flex.version}</version>
>        </dependency>
> </dependencies>
>
> in the plugins section. The license is uploaded to my nexus repository
> and contains the jar file from my 3.2 flex builder install on my
> machine.
>
> The dependencies section for my SWF project contains the following:
>
> <dependency>
>        <groupId>com.adobe.flex.framework</groupId>
>        <artifactId>flex-framework</artifactId>
>        <version>${flex.version}</version>
>        <type>pom</type>
> </dependency>
> <dependency>
>        <groupId>com.adobe.flex.sdk</groupId>
>        <artifactId>datavisualization</artifactId>
>        <type>swc</type>
> </dependency>
> <dependency>
>        <groupId>com.adobe.flex.sdk</groupId>
>        <artifactId>datavisualization</artifactId>
>         <classifier>en_US</classifier>
>        <type>swc</type>
> </dependency>
> <dependency>
>        <groupId>com.adobe.flex.license</groupId>
>         <artifactId>license-flexbuilder-pro-roundarch</artifactId>
>        <version>${flex.version}</version>
> </dependency>
>
> The flex.version is configured in my top level pom file like the
> following:
>
> <properties>
>        <flex.version>3.2.0.3958</flex.version>
> </properties>
>
> I can see that everything builds as normal, but I am still getting the
> watermark. If there is some additional information I can post I would
> greatly appreciate the heads up. If there is someone capable of
> testing the code out for me I am happy to send it along. It is purely
> a test project to help me learn about your plugin (which is great so
> far aside from this licensing thing).
>
> I will surely check back in the morning to see if anyone has any
> ideas. Thanks for any and all help!
>
> If there is a sample reference implementation that you can refer me to
> that should help test a compile via licensing properly I can try that
> as well if you can point it out to me.
>
> Thanks!
> Adam
>
> On Apr 14, 6:44 pm, Marvin Froeder <velo...@gmail.com> wrote:
> > Don't do install mojo.
> > VELO
> >
> > On Tue, Apr 14, 2009 at 7:43 PM, tstevko <tedste...@gmail.com> wrote:
> >
> > > Whoops. Thinking too much, not explaining properly. What I meant to
> > > say was: because we're looking for com.adobe.flex.compiler, I tried
> > > using com.adobe.flex.compiler as the groupID. The whole compiler
> > > group, including license.jar, is uploaded when you install an SDK into
> > > your maven repository using the install-mojo (see
> > >http://flex-mojos.info/2008/08/21/install-mojo/).  Try that, as well
> > > as the putting the dependency in the plugin dependencies section.
> >
> > > On Apr 14, 6:28 pm, tstevko <tedste...@gmail.com> wrote:
> > > > I had the same issue. The one thing that I saw was that the
> dependency
> > > > group ID was "com.adobe.flex", but in the "you should see this in the
> > > > output" section, we're looking for
> > > > "com.adobe.flex.compiler:license.jar". Also, make sure that the
> > > > dependencies section is in the plugin tags; I made the mistake of
> > > > putting it into the project dependencies, not the plugin dependency.
> >
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to flex-mojos@googlegroups.com
To unsubscribe from this group, send email to
flex-mojos+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to