I am seeing the following when I run the build. I have also tried with
4.0-beta-3, looks like we should try 4.0-beta-4 as well.

[INFO] Scanning for projects...
[WARNING] The POM for org.apache.maven:maven-settings:jar:
3.0.1-20101122.160113-33 is missing, no dependency information
available
[WARNING] The POM for org.apache.maven:maven-settings-builder:jar:
3.0.1-20101122.160113-33 is missing, no dependency information
available
[WARNING] The POM for org.apache.maven:maven-repository-metadata:jar:
3.0.1-20101122.160113-33 is missing, no dependency information
available
[WARNING] The POM for org.apache.maven:maven-model-builder:jar:
3.0.1-20101122.160113-33 is missing, no dependency information
available
[WARNING] The POM for org.apache.maven:maven-aether-provider:jar:
3.0.1-20101122.160113-33 is missing, no dependency information
available
[ERROR] Internal error: java.lang.ClassCastException:
org.apache.maven.artifact.repository.MavenArtifactRepository cannot be
cast to org.apache.maven.artifact.repository.ArtifactRepository ->
[Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.ClassCastException:
org.apache.maven.artifact.repository.MavenArtifactRepository cannot be
cast to org.apache.maven.artifact.repository.ArtifactRepository
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
163)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
        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:597)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
290)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
230)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
409)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: java.lang.ClassCastException:
org.apache.maven.artifact.repository.MavenArtifactRepository cannot be
cast to org.apache.maven.artifact.repository.ArtifactRepository
        at
org.sonatype.flexmojos.plugin.ChecksumEnforcerMavenExtension.afterProjectsRead(ChecksumEnforcerMavenExtension.java:
24)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
268)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
151)
        ... 11 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:

On Dec 26, 2:30 pm, James Ward <[email protected]> wrote:
> I have a simple project structure but I'm having SWC dependency
> issues.  My project has an AIR app module and a SWC library module.
> Everything is on github:https://github.com/jlward4th/fmtest
>
> When I run the build from the top level project everything works
> fine.  But when I try to run the build from within the AIR app module
> it can't find the SWC library:
>
> jam...@w500:~/projects/fmtest/app$ mvn package
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building fmtest app 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.547s
> [INFO] Finished at: Sun Dec 26 12:29:34 MST 2010
> [INFO] Final Memory: 12M/165M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project app: Could not resolve
> dependencies for project fmtest:app:swf:1.0-SNAPSHOT: Failed to
> collect dependencies for [com.adobe.flex.framework:air-framework:pom:
> 4.5.0.18623 (compile), fmtest:lib:swc:1.0-SNAPSHOT (compile)]: Failed
> to read artifact descriptor for fmtest:lib:swc:1.0-SNAPSHOT: Failure
> to find fmtest:fmtest:pom:1.0-SNAPSHOT 
> inhttp://repository.sonatype.org/content/groups/flexgroup
> was cached in the local repository, resolution will not be reattempted
> until the update interval of flexmojos has elapsed or updates are
> forced -> [Help 1]
>
> Any ideas what I've done wrong?
>
> Thanks!
>
> -James

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

Reply via email to