Hi to all,
I try to configure a simple air project with flexmojos. After apply
some fix on my pom (es. ADT dependency) I get another problem:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error invoking AIR api
Embedded error: inputs not set
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
invoking AIR api
at org.sonatype.flexmojos.air.SignAirMojo.execute(SignAirMojo.java:
215)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
694)
... 17 more
Caused by: java.lang.IllegalStateException: inputs not set
at com.adobe.air.AIRPackager.createPackage(AIRPackager.java:399)
at com.adobe.air.AIRPackager.createAIR(AIRPackager.java:376)
at org.sonatype.flexmojos.air.SignAirMojo.execute(SignAirMojo.java:
192)
... 19 more
My pom file is the following:
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>it.kemen.vela</groupId>
<artifactId>interwatch</artifactId>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>it.kemen.framework</groupId>
<artifactId>sample-air</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>air</packaging>
<name>AIR Application</name>
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
<!-- <testSourceDirectory>src/test/flex</testSourceDirectory>-->
<plugins>
<plugin>
<inherited>true</inherited>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<!-- workaround need to fix missing com.adobe.air.Listener --
>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>adt</artifactId>
<version>${flex.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
<configuration>
<storepass>flexmojos</storepass>
<targetPlayer>${flashPlayer.version}</targetPlayer>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- flexmojos Unit testing support
<dependency>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-unittest-support</artifactId>
<version>${flexmojos.version}</version>
<type>swc</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
</exclusion>
</exclusions>
</dependency>-->
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>${flex.version}</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>${flex.version}</version>
<classifier>10</classifier>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>air-framework</artifactId>
<version>${flex.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</project>
my properties setting:
<flexmojos.version>3.5.0</flexmojos.version>
<flex.version>3.5.0.12683</flex.version>
<flashPlayer.version>10.0.0</flashPlayer.version>
It seams that the storepass is not read but I am not sure about that.
Any idea about to solve this issue?
thanks in advance
regards Lorenzo
--
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://flexmojos.sonatype.org/