After more googling I found this discussion
http://www.yeap.de/blog2.0/archives/183-Upgrading-flex-mojos-2.0.0-to-flexmojos-maven-plugin-3.x.htmlwhere
others had the same issue. Apparently jdom is needed in your maven lib
if a certain dependency relies on it. Something with plexus was bitching
about it but no idea what that was about. Seems really bad though that
someone would have to manually add that jar to the maven lib so I'd like to
get the root cause of thatissue at some point. Apparently in the older maven
projects it was part of the uber-jar?

On Fri, Dec 11, 2009 at 7:50 PM, Rick R <[email protected]> wrote:

> For what it's worth I got past my recent errors by changing the repository
> http://repository.sonatype.org/content/groups/public/
>
> Now the project that I provided earlier that was zipped up builds, but I
> still have the issue in my current project related to the below. But I'll
> work now on debugging better since the archetype works it must be something
> conflicting in my code causing an issue.
>
>
> [WARNING] Not defined if locales should be merged or not
> [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
> [FATAL ERROR] org.sonatype.flexmojos.compiler.LibraryMojo#execute() caused
> a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date.
> Check the realms:
> [FATAL ERROR] Plugin realm =
> app0.child-container[org.sonatype.flexmojos:flexmojos-maven-plugin:3.4.2]
> ....
> urls[93] =
> file:/Users/rick/.m2/repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/Users/rick/java/maven/lib/maven-2.2.1-uber.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] org/jdom/input/SAXBuilder
> org.jdom.input.SAXBuilder
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
>         at
> org.sonatype.flexmojos.utilities.FDKConfigResolver.getConfig(FDKConfigResolver.java:95)
>
> On Fri, Dec 11, 2009 at 6:29 PM, Rick R <[email protected]> wrote:
>
>> On Fri, Dec 11, 2009 at 5:19 PM, velo <[email protected]> wrote:
>>
>>> Just to make clear your sample project worked.
>>>
>>>
>>
>> Thanks so much for checking it out.
>>
>> Now I'm even more stumped - on the mac (fresh repo) it starts bitching
>> about not being able to get granite and a few others on the mac, yet then on
>> the windows machine, I'm getting a different issue.. both of these run from
>> the same project one on windows and one on the mac with the local repo
>> removed. The windows is using mavan2.0.9 and the mac 2.2.1)
>>
>> Mac:
>>
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.graniteds:granite-generator-share:jar:2.0.0.GA
>>
>>   Try downloading the file manually from the project website.
>>
>>  -- then5 others missing as well
>>
>> But then the same project on WINDOWS gets a different error:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>> Missing:
>> ----------
>> 1) com.adobe.flex.framework:flex-framework:pom:3.2.0.3958
>>   Path to dependency:
>>         1) net.reumann:swc:swc:1.0-SNAPSHOT
>>         2) com.adobe.flex.framework:flex-framework:pom:3.2.0.3958
>> ----------
>> 1 required artifact is missing.
>> for artifact:
>>   net.reumann:swc:swc:1.0-SNAPSHOT
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2)
>>
>>
>
>
>
> --
> Rick R
>



-- 
Rick R

-- 
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/

Reply via email to