Ok, it appears that I have solved my problem with much help from Logan
and Marvin. Thanks to both of you!

Logan took a look at my code and saw that when compiling the svn-
analytics-client project which has a parent pom the license works
fine. However when compiling the top level the license was not working
properly.

The solution was to pull the flexmojos-maven-plugin configuration up
to the top level pom file's pluginManagement section. This ensured
that the license and its dependencies were on the classpath.

I would love to get this added to your FAQ. Is that something I can do
to help others not experience this? Alternatively have you guys ever
had to define the license at that level?

Thanks again for all the help.

-Adam

On Apr 16, 5:58 pm, Marvin Froeder <velo...@gmail.com> wrote:
> 3.2-SNAPSHOT.... not 3.2*.0*
>
> VELO
>
> On Thu, Apr 16, 2009 at 6:50 PM, Adam Parrish <waparr...@gmail.com> wrote:
> > Assuming you just want the maven plugin changed from 3.0.0 to
> > 3.2.0-SNAPSHOT
>
> > Is that correct?
>
> > On Thu, Apr 16, 2009 at 5:48 PM, Marvin Froeder <velo...@gmail.com> wrote:
>
> >> Ok, next try....
> >> I did some changes on flexmojos 3.2-SNAPSHOT to print some extra debugging
> >> information....
>
> >> Can you send logs for me? Running 3.2-SNAP.
>
> >> VELO
>
> >> On Thu, Apr 16, 2009 at 6:09 PM, Adam Parrish <waparr...@gmail.com>wrote:
>
> >>> Here it is
>
> >>> -AP
>
> >>> On Thu, Apr 16, 2009 at 4:58 PM, Marvin Froeder <velo...@gmail.com>wrote:
>
> >>>> You did sent me mvn help:effective-pom -X.... I need clean install -X =D
>
> >>>> VELO
>
> >>>> On Thu, Apr 16, 2009 at 5:47 PM, Adam Parrish <waparr...@gmail.com>wrote:
>
> >>>>> I believe the output I sent you was just where the problem resides.
>
> >>>>> I ran it from the following directory
> >>>>> aparrish-macbook:svn-analytics-client adamparrish$ pwd
> >>>>> /NEOSAVVY/svn-analytics-trunk/trunk/svn-analytics-client
>
> >>>>> I can upgrade to 2.1 if you feel that will make a difference. I am all
> >>>>> for helping resolve this issue. I am hopeful that this is not a user 
> >>>>> error.
>
> >>>>> -AP
>
> >>>>> On Thu, Apr 16, 2009 at 2:23 PM, Marvin Froeder 
> >>>>> <velo...@gmail.com>wrote:
>
> >>>>>> You are building a modular project, right?
> >>>>>> All at once... can you try just the module where the problem resides?
> >>>>>>  I think this is related to some limitations on maven 2.0.x, if license
> >>>>>> works when you build only your SWF module, try maven 2.1.
>
> >>>>>> VELO
>
> >>>>>> On Thu, Apr 16, 2009 at 3:16 PM, Adam Parrish 
> >>>>>> <waparr...@gmail.com>wrote:
>
> >>>>>>> Yes - I did it on -X
>
> >>>>>>> I didnt see info.flex-mojos in there anywhere. Only
> >>>>>>> org.sonatype.flexmojos.
>
> >>>>>>> Anything else I should look for?
>
> >>>>>>> On Thu, Apr 16, 2009 at 2:12 PM, Marvin Froeder 
> >>>>>>> <velo...@gmail.com>wrote:
>
> >>>>>>>> Did you search for what I asked you to?
> >>>>>>>> What did you found? "info.flex-mojos" or "org.sonatype.flexmojos" or
> >>>>>>>> both?
>
> >>>>>>>> Did you did that on -X log?
>
> >>>>>>>> VELO
>
> >>> Listening for transport dt_socket at address: 4000
> >>> + Error stacktraces are turned on.
> >>> Maven version: 2.0.9
> >>> Java version: 1.5.0_16
> >>> OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"
> >>> [DEBUG] Building Maven user-level plugin registry from:
> >>> '/Users/adamparrish/.m2/plugin-registry.xml'
> >>> [DEBUG] Building Maven global-level plugin registry from:
> >>> '/opt/maven/conf/plugin-registry.xml'
> >>> [INFO] Scanning for projects...
> >>> [DEBUG] Searching for parent-POM:
> >>> com.neosavvy.svn.analytics:svn-analytics-toplevel::1.0-SNAPSHOT of 
> >>> project:
> >>> com.neosavvy.svn.analytics:svn-analytics-client:swf:1.0-SNAPSHOT in 
> >>> relative
> >>> path: ../pom.xml
> >>> [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for
> >>> project: com.neosavvy.svn.analytics:svn-analytics-client:swf:1.0-SNAPSHOT
> >>> [DEBUG] Searching for parent-POM:
> >>> org.sonatype.flexmojos:flexmojos-flex-super-pom::3.0.0 of project:
> >>> com.neosavvy.svn.analytics:svn-analytics-toplevel:pom:1.0-SNAPSHOT in
> >>> relative path: ../pom.xml
> >>> [DEBUG] Parent-POM:
> >>> org.sonatype.flexmojos:flexmojos-flex-super-pom::3.0.0 not found in 
> >>> relative
> >>> path: ../pom.xml
> >>> [DEBUG] Retrieving parent-POM:
> >>> org.sonatype.flexmojos:flexmojos-flex-super-pom::3.0.0 for project:
> >>> com.neosavvy.svn.analytics:svn-analytics-toplevel:pom:1.0-SNAPSHOT from 
> >>> the
> >>> repository.
> >>> [DEBUG] Retrieving parent-POM:
> >>> org.sonatype.flexmojos:flexmojos-super-pom-commons::3.0.0 for project:
> >>> org.sonatype.flexmojos:flexmojos-flex-super-pom:pom:3.0.0 from the
> >>> repository.
> >>> [DEBUG] Adding managed dependencies for
> >>> com.neosavvy.svn.analytics:svn-analytics-client
> >>> [DEBUG]   com.adobe.flex.sdk:datavisualization:swc:3.2.0.3958
> >>> [DEBUG]   com.adobe.flex.sdk:datavisualization:swc:en_US:3.2.0.3958
> >>> [DEBUG]   junit:junit:jar:4.5:test
> >>> [DEBUG]   org.tmatesoft.svnkit:svnkit:jar:1.2.0.4949
> >>> [DEBUG]   org.springframework:spring:jar:2.5.6
> >>> [DEBUG]   org.apache.ibatis:ibatis-sqlmap:jar:2.3.0
> >>> [DEBUG]   log4j:log4j:jar:1.2.15
> >>> [DEBUG]   net.sf.ehcache:ehcache:jar:1.6.0-beta3
> >>> [DEBUG]   com.oracle:ojdbc14_g:jar:10.2.0.4.0
> >>> [DEBUG]   quartz:quartz:jar:1.5.2
> >>> [DEBUG]   javax.j2ee:j2ee:jar:1.4
> >>> [DEBUG]   com.adobe.blazeds:blazeds-remoting:jar:3.0
> >>> [DEBUG]   com.adobe.blazeds:blazeds-common:jar:3.0
> >>> [DEBUG]   com.adobe.blazeds:blazeds-core:jar:3.0
> >>> [DEBUG]   com.adobe.blazeds:blazeds-proxy:jar:3.0.0.544
> >>> [DEBUG]   com.adobe.blazeds:blazeds-opt:jar:3.0.0.544
> >>> [DEBUG] Retrieving parent-POM:
> >>> org.sonatype.flexmojos:flexmojos-parent::3.0.0 for project:
> >>> null:flexmojos-maven-plugin:maven-plugin:null from the repository.
> >>> [DEBUG] Retrieving parent-POM: org.sonatype.forge:forge-parent::5 for
> >>> project: org.sonatype.flexmojos:flexmojos-parent:pom:3.0.0 from the
> >>> repository.
> >>> [DEBUG] Adding managed dependencies for unknown:flexmojos-maven-plugin
> >>> [DEBUG]   com.adobe.flex:compiler:pom:3.2.0.3958
> >>> [DEBUG]   com.adobe.flex.compiler:xmlParserAPIs:jar:3.2.0.3958
> >>> [DEBUG]   com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958
> >>> [DEBUG]   org.apache.maven:maven-core:jar:2.0.9
> >>> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.9
> >>> [DEBUG]   org.apache.maven:maven-project:jar:2.0.9
> >>> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0.9
> >>> [DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.9
> >>> [DEBUG]   org.apache.maven:maven-model:jar:2.0.9
> >>> [DEBUG]   commons-io:commons-io:jar:1.4
> >>> [DEBUG]   org.apache.maven.reporting:maven-reporting-impl:jar:2.0.2
> >>> [DEBUG]   org.apache.velocity:velocity:jar:1.5
> >>> [DEBUG]   plexus:plexus-velocity:jar:1.1.1
> >>> [DEBUG]   org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.4
> >>> [DEBUG]   junit:junit:jar:4.4:test
> >>> [DEBUG]   org.graniteds:granite-generator:jar:1.1.0
> >>> [DEBUG]   eu.cedarsoft.utils:zip:jar:1.1
> >>> [DEBUG]   org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.0.4
> >>> [DEBUG]   de.java2html:java2html:jar:5.0
> >>> [DEBUG]   commons-codec:commons-codec:jar:1.3
> >>> [DEBUG]   org.aspectj:aspectjrt:jar:1.6.1
> >>> [DEBUG]   commons-lang:commons-lang:jar:2.4
> >>> [DEBUG]   dom4j:dom4j:jar:1.6.1
> >>> [DEBUG]   commons-httpclient:commons-httpclient:jar:3.1
> >>> [DEBUG]   org.jdom:jdom:jar:1.1
> >>> [DEBUG]   jaxen:jaxen:jar:1.1
> >>> [DEBUG]   com.thoughtworks.xstream:xstream:jar:1.3
> >>> [DEBUG]   org.testng:testng:jar:jdk15:5.8:test
> >>> [DEBUG]   org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:provided
> >>> [DEBUG]   org.codehaus.plexus:plexus-cli:jar:1.0-alpha-8:provided
> >>> [DEBUG]
> >>> org.codehaus.plexus:plexus-component-annotations:jar:1.0-alpha-8
> >>> [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
> >>> [INFO]
> >>> ------------------------------------------------------------------------
> >>> [INFO] Building SVN Analytics Client
> >>> [INFO]    task-segment: [clean, install]
> >>> [INFO]
> >>> ------------------------------------------------------------------------
> >>> [DEBUG] Error looking up lifecycle mapping to retrieve optional mojos.
> >>> Lifecycle ID: clean. Error: Component descriptor cannot be found in the
> >>> component repository:
> >>> org.apache.maven.lifecycle.mapping.LifecycleMappingswf.
> >>> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> >>> Component descriptor cannot be found in the component repository:
> >>> org.apache.maven.lifecycle.mapping.LifecycleMappingswf.
> >>>        at
> >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323)
> >>>        at
> >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
> >>>        at
> >>> org.apache.maven.execution.MavenSession.lookup(MavenSession.java:125)
> >>>        at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.findOptionalMojosForLifecycle(DefaultLifecycleExecutor.java:1128)
> >>>        at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016)
> >>>        at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:997)
> >>>        at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
> >>>        at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> >>>        at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
> >>>        at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> >>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>        at
> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>>        at
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>>        at java.lang.reflect.Method.invoke(Method.java:585)
> >>>        at
> >>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >>>        at
> >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >>> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::10
> >>> for project: null:maven-clean-plugin:maven-plugin:2.2 from the
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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