Hi Christofer,

I tried how youtold me, but it doesn't work. this are the errors:

Plugin execution not covered by lifecycle configuration:
org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC1:compile-swf
(execution: default-compile-swf, phase: compile)
Plugin execution not covered by lifecycle configuration:
org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC1:test-compile
(execution: default-test-compile, phase: test-compile)

Just a point : I think that I need to specify for maven the flex sdk
used. If I'm right can you (or anyone else) suggest me how to do this?

Thanks.

On Sep 8, 4:18 pm, Christofer Dutz <[email protected]>
wrote:
> Hi Andrei,
>
> Try not to use this really really outdated version: 4.0-pre-alpha-1
> but the most recent one 4.0-RC1
>
> This should work then :-)
>
> Chris
>
> 2011/9/8 Andrei Petru Mura <[email protected]>:
>
>
>
>
>
>
>
> > Hello,
>
> > As the title suggests, I have problems when I try to create a flex
> > project from flexmojos archetypes.
>
> > I'm using  flexmojos-archetypes-application archetype, version 4.0-pre-
> > alpha-1.
> > After my project is generated, I got this errors:
>
> > Plugin execution not covered by lifecycle configuration:
> > org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-pre-alpha-1:compile-
> > swf (execution: default-compile-swf, phase: compile)
> > Plugin execution not covered by lifecycle configuration:
> > org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-pre-alpha-1:test-
> > compile (execution: default-test-compile, phase: test-compile).
>
> > Any help would be apreciated.
>
> > Bellow you can see my pom.xml and my settings.xml
>
> > pom.xml:
>
> > <?xml version="1.0" encoding="UTF-8"?>
>
> > <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
> >www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
> > maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd";>
> >  <modelVersion>4.0.0</modelVersion>
>
> >  <groupId>asd</groupId>
> >  <artifactId>asd</artifactId>
> >  <version>0.0.1-SNAPSHOT</version>
> >  <packaging>swf</packaging>
>
> >  <name>asd Flex</name>
>
> >  <build>
> >    <sourceDirectory>src/main/flex</sourceDirectory>
> >    <testSourceDirectory>src/test/flex</testSourceDirectory>
> >    <plugins>
> >      <plugin>
> >        <groupId>org.sonatype.flexmojos</groupId>
> >        <artifactId>flexmojos-maven-plugin</artifactId>
> >        <version>4.0-pre-alpha-1</version>
> >        <extensions>true</extensions>
> >      </plugin>
> >    </plugins>
> >  </build>
>
> >  <dependencies>
> >    <dependency>
> >      <groupId>com.adobe.flex.framework</groupId>
> >      <artifactId>flex-framework</artifactId>
> >      <version>4.0.0.13875</version>
> >      <type>pom</type>
> >    </dependency>
>
> >    <dependency>
> >      <groupId>com.adobe.flexunit</groupId>
> >      <artifactId>flexunit</artifactId>
> >      <version>0.85</version>
> >      <type>swc</type>
> >      <scope>test</scope>
> >    </dependency>
> >  </dependencies>
>
> > </project>
>
> > settings.xml
>
> > <?xml version="1.0" encoding="UTF-8"?>
>
> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0";
> >          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
> >http://maven.apache.org/xsd/settings-1.0.0.xsd";>
>
> >  <profiles>
> >  <profile>
> >        <id>flex-mojos</id>
> >            <repositories>
> >                <!-- Required for regular plugin use until moved over
> > to Maven central repo. -->
> >                <repository>
> >                    <id>flex-mojos-repository</id>
> >                    <url>http://repository.sonatype.org/content/groups/
> > flexgroup/</url>
> >                    <releases> <enabled>true</enabled> </releases>
> >                    <snapshots> <enabled>false</enabled> </snapshots>
> >                </repository>
>
> >                <!-- Required for building plugin from source. -->
> >                <repository>
> >                    <id>flex-mojos-internal-repository</id>
> >                    <url>http://repository.sonatype.org/content/groups/
> > public/</url>
> >                    <releases> <enabled>true</enabled> </releases>
> >                    <snapshots> <enabled>true</enabled> </snapshots>
> >                </repository>
>
> >                <repository>
> >                    <id>apache-internal-repository</id>
> >                    <url>https://repository.apache.org/content/
> > repositories/maven-014/</url>
> >                    <releases> <enabled>true</enabled> </releases>
> >                    <snapshots> <enabled>true</enabled> </snapshots>
> >                </repository>
>
> >            </repositories>
> >            <pluginRepositories>
> >                <!-- Required for regular plugin use until moved over
> > to Maven central repo. -->
> >                <pluginRepository>
> >                    <id>flex-mojos-plugin-repository</id>
> >                    <url>http://repository.sonatype.org/content/groups/
> > flexgroup/</url>
> >                    <releases> <enabled>true</enabled> </releases>
> >                    <snapshots> <enabled>true</enabled> </snapshots>
> >                </pluginRepository>
>
> >                <!-- Required for building plugin from source. -->
> >                <pluginRepository>
> >                    <id>flex-mojos-internal-plugins-repository</id>
> >                    <url>http://repository.sonatype.org/content/groups/
> > public/</url>
> >                    <releases> <enabled>true</enabled> </releases>
> >                    <snapshots> <enabled>true</enabled> </snapshots>
> >                </pluginRepository>
> >            </pluginRepositories>
> >        </profile>
> >  </profiles>
>
> >  <activeProfiles>
> >    <activeProfile>flex-mojos</activeProfile>
> >  </activeProfiles>
>
> > </settings>
>
> > --
> > 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/

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