Folks,

I'm having a few problems building Flex Mojos at the moment, any help would
be greatly appreciated.

First of all, here are the steps I followed, anticipating a successful build
with Maven 2.0.9, so please let me know if there are different steps to
follow instead.

1. mkdir flex-mojos-trunk
2. cd flex-mojos-trunk
3. svn co http://svn.sonatype.org/flexmojos/trunk .
4. mvn clean install

Unfortunately, this failed due to an unsatisfied dependency for
org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.3-SNAPSHOT
which is unexpected because it is one of the module projects being built.

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Flexmojos Parent
[INFO]   Flexmojos Sandbox
[INFO]   Flexmojos Generator
[INFO]   Flexmojos Generator api
[INFO]   Flexmojos Generator - graniteds 1.1.0
[INFO]   Flexmojos Generator - graniteds 2.0.0
[INFO]   Flexmojos Maven Plugin
[INFO]   Flexmojos Super poms
[INFO]   Flexmojos Archetypes
[INFO]   Flexmojos Archetypes - flex-application
[INFO]   Flexmojos Archetypes - flex-library
[INFO]   Flexmojos Archetypes - modular web application
[INFO]   Flexmojos Testing
[INFO]   Flexmojos Unit Test support
[INFO]   Flexmojos Integration Tests
[INFO]   Flexmojos Aggregator
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is correct:
Unable to download the artifact from any repository
...
  org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.3-SNAPSHOT

After looking at the top-level pom.xml, I found there are a few different
build profiles available.  So, in order to workaround the issue above, I
tried the following instead:

o mvn -P minimal clean install

This made better progress than before, but still failed due to a different
unresolved dependency.

[INFO] Building Flexmojos Generator - graniteds 2.0.0
...
Missing:
----------
1) org.graniteds:granite-generator:jar:2.0.0.RC1
...
  Path to dependency:
      1)
org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.3-SNAPSHOT
      2) org.graniteds:granite-generator:jar:2.0.0.RC1

2) org.graniteds:granite-generator-share:jar:2.0.0.RC1
...
  Path to dependency:
      1)
org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.3-SNAPSHOT
      2) org.graniteds:granite-generator-share:jar:2.0.0.RC1

Looking in the flex-mojos Maven2 repository, the 1.1.0 version of graniteds
is present but the 2.0.0.RC1 version of graniteds is missing.

http://repository.sonatype.org/content/groups/flexgroup/org/graniteds/granite-generator/

Perhaps it would be possible to add the graniteds 2.0.0.RC1 dependency to
the flex-mojos repository?

Kind Regards,
John Fallows

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