I know.
Everything so far was great, untill I decided to do some AIRness...
But then again I suppose I'm not the only one in the world using M3/
FM4 to produce AIR app? If not, then how do you sign your apps?

On 28 Paź, 21:10, Marvin Froeder <[email protected]> wrote:
> Flexmojos 4 do not run on maven 2.....  something odd is happing there...
>
> On Thu, Oct 28, 2010 at 5:07 PM, pbuda <[email protected]> wrote:
> > Actually, what I did was:
> > -delete repository
> > -mvn clean install with Maven 3
>
> > Build Failed with the same error. Decided to try Maven 2.2.1:
> > -mvn clean install
> > -some new dependencies were downloaded (Maven 2 specific, I suppose)
> > -build succeeded.
>
> > I'll live with it for now, but I was really hoping to evaluate Flex
> > Mojos 4 :)
>
> > On 28 Paź, 21:04, Marvin Froeder <[email protected]> wrote:
> > > I would say to try maven 3, with a clean repo.
>
> > > VELO
>
> > > On Thu, Oct 28, 2010 at 4:47 PM, pbuda <[email protected]> wrote:
> > > > Weird thing - I switched to Maven 2.2.1 and after running this, I got
> > > > different error (${project.name} had to be replaced with $
> > > > {project.artifactId}) but then I got a successful build.
>
> > > > Can't explain, switching to 2.2.1 made some more dependencies be
> > > > downloaded. Still doesn't work with Maven 3 though :/
>
> > > > jarfinder lists this
> > > > org.apache.maven.artifact.transform.SnapshotTransformation in maven3-
> > > > alpha-1, maybe there is some version mismatch?
>
> > > > On 28 Paź, 20:19, Marvin Froeder <[email protected]> wrote:
> > > > > I would guess your local repository is corrupted.
>
> > > > > VELO
>
> > > > > On Thu, Oct 28, 2010 at 4:13 PM, pbuda <[email protected]> wrote:
> > > > > > Hi,
> > > > > > I'm new to Flex mojos with AIR, though been working with Flex for a
> > > > > > year and a half now.
>
> > > > > > I'm trying to create my first maven built AIR app but I struggle...
> > > > > > I'm using Flex 3.5, Flex Mojos 3.8.
>
> > > > > > Here's pom:
> > > > > > <?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.0
> > > > > >http://maven.apache.org/xsd/maven-4.0.0.xsd";>
> > > > > >    <modelVersion>4.0.0</modelVersion>
> > > > > >    <parent>
> > > > > >        <artifactId>hbmt</artifactId>
> > > > > >        <groupId>li.buda</groupId>
> > > > > >        <version>0.1.0-SNAPSHOT</version>
> > > > > >    </parent>
> > > > > >    <groupId>li.buda.hbmt</groupId>
> > > > > >    <artifactId>client</artifactId>
> > > > > >    <packaging>swf</packaging>
>
> > > > > >    <build>
> > > > > >        <sourceDirectory>src/main/flex</sourceDirectory>
> > > > > >        <testSourceDirectory>src/test/flex</testSourceDirectory>
> > > > > >        <plugins>
> > > > > >            <plugin>
> > > > > >                <groupId>org.sonatype.flexmojos</groupId>
> > > > > >                <artifactId>flexmojos-maven-plugin</artifactId>
> > > > > >                <version>${flexmojos.version}</version>
> > > > > >                <extensions>true</extensions>
> > > > > >                <configuration>
> > > > > >                    <configurationReport>true</configurationReport>
> > > > > >                    <sourceFile>${project.name}.mxml</sourceFile>
> > > > > >                    <descriptorTemplate>${basedir}/src/main/flex/$
> > > > > > {project.name}-app.xml</descriptorTemplate>
>
> >  <keystore>${basedir}/src/main/resources/cert.p12</
> > > > > > keystore>
> > > > > >                    <storepass>MY_PASSWORD</storepass>
> > > > > >                </configuration>
> > > > > >                <dependencies>
> > > > > >                    <dependency>
> > > > > >                        <groupId>com.adobe.flex</groupId>
> > > > > >                        <artifactId>compiler</artifactId>
> > > > > >                        <version>${flex.version}</version>
> > > > > >                        <type>pom</type>
> > > > > >                    </dependency>
> > > > > >                    <!--
> > > > > >                        Not available in any public repo.
> > > > > >                        Manually download flex sdk and install adt
> > in
> > > > > > local repository.
> > > > > >                    -->
> > > > > >                    <dependency>
> > > > > >                        <groupId>com.adobe.flex.compiler</groupId>
> > > > > >                        <artifactId>adt</artifactId>
> > > > > >                        <version>${flex.version}</version>
> > > > > >                    </dependency>
> > > > > >                </dependencies>
> > > > > >                <executions>
> > > > > >                    <execution>
> > > > > >                        <goals>
> > > > > >                            <goal>sign-air</goal>
> > > > > >                        </goals>
> > > > > >                    </execution>
> > > > > >                </executions>
> > > > > >            </plugin>
> > > > > >        </plugins>
> > > > > >    </build>
> > > > > >    <dependencies>
> > > > > >        <dependency>
> > > > > >            <groupId>com.adobe.flex.framework</groupId>
> > > > > >            <artifactId>air-framework</artifactId>
> > > > > >            <version>${flex.version}</version>
> > > > > >            <type>pom</type>
> > > > > >        </dependency>
> > > > > >        <dependency>
> > > > > >            <groupId>com.adobe.flexunit</groupId>
> > > > > >            <artifactId>flexunit</artifactId>
> > > > > >            <version>4.1.0-RC1</version>
> > > > > >            <type>swc</type>
> > > > > >            <scope>test</scope>
> > > > > >        </dependency>
> > > > > >    </dependencies>
> > > > > > </project>
>
> > > > > > After mvn clean install, I get the following error
>
> > > > > > [ERROR] Failed to execute goal
> > org.sonatype.flexmojos:flexmojos-maven-
> > > > > > plugin:3.8:sign-air (default) on project client: Execution default
> > of
> > > > > > goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:sign-air
> > > > > > failed: A required class was missing while executing
> > > > > > org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:sign-air:
> > org/apache/
> > > > > > maven/artifact/transform/SnapshotTransformation
>
> > > > > > I"m using Maven 3. Switching to Flex Mojos 4.0-beta-2 produced
> > similar
> > > > > > result, although it was ADTPackager class that was missing.
>
> > > > > > Am I doing something wrong, I really can't see any problems with
> > > > > > regard to samples I've seen on the net...
>
> > > > > > --
> > > > > > 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]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[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]<flex-mojos%[email protected]>
> > <flex-mojos%[email protected]<flex-mojos%[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]<flex-mojos%[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