Hi,

I'm brand new to flex & flexmojo and trying to use maven to build my
project.

I've been able to use the GAS3 ant task to generate the as3 files, but
I would like to get this flexmojo plugin working, but having serious
difficulties.  I've been trying to read through the docs but am still
not having any success.

I've added the following to my pom.xml:
In <build><plugins>, I've added the following plugin definition.
                        <!--  Flex generation plugin -->
                      <plugin>
                        <groupId>org.sonatype.flexmojos</groupId>
                        <artifactId>flexmojos-maven-plugin</artifactId>
                        <version>3.8</version>
                        <executions>
                          <execution>
                            <goals>
                              <goal>generate</goal>
                            </goals>
                          </execution>
                        </executions>
                        <dependencies>
                                        <dependency>
                                          
<groupId>com.adobe.flex.framework</groupId>
                                          
<artifactId>flex-framework</artifactId>
                                          <version>3.2.0.3958</version>
                                          <type>pom</type>
                                        </dependency>
                        </dependencies>

                      </plugin>


However, whenever I try to maven:generate-sources, I get the following
errors:

[WARNING] The POM for com.adobe.flex:compiler:pom:3.2.0.3958 is
missing, no dependency information available
[WARNING] The POM for com.adobe.flex.compiler:asdoc:zip:template:
3.2.0.3958 is missing, no dependency information available
[WARNING] The POM for net.sf.saxon:saxon-dom:jar:9.0 is missing, no
dependency information available
[WARNING] The POM for jgoogleanalytics:jgoogleanalytics:jar:0.2 is
missing, no dependency information available

[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:3.8:generate (default) on project fashion-week-live: Execution
default of goal org.sonatype.flexmojos:flexmojos-maven-plugin:
3.8:generate failed: Plugin org.sonatype.flexmojos:flexmojos-maven-
plugin:3.8 or one of its dependencies could not be resolved: The
following artifacts could not be resolved: com.adobe.flex:compiler:pom:
3.2.0.3958, com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958,
net.sf.saxon:saxon-dom:jar:9.0, jgoogleanalytics:jgoogleanalytics:jar:
0.2: Failure to find com.adobe.flex:compiler:pom:3.2.0.3958 in
http://localhost:8080/nexus/content/groups/public was cached in the
local repository, resolution will not be reattempted until the update
interval of nexus has elapsed or updates are forced -> [Help 1]

I have my configured my local nexus repo manager to proxy
http://repository.sonatype.org/content/groups/public/

I am completely baffled here as to how to properly structure my
pom.xml to get this to work.

Can anyone point me in the right direction please, and/or provide me
with an example pom.xml that works?  The examples on the sonatype wiki
seem to be quite out of date.  I've been tearing my hair out over this
for the last several hours but not getting anywhere.

Thanks,

Eric

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