Could you please help me to resolve the issue:
Below is the log where problems started.
[WARNING] C:\0-Workspace\spring-flex-testdrive\insync-air-spring\src\main\flex\Contact.as:[5,15] No constructor function
was specified for class Contact. public class Contact
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ insync-air-spring ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\0-Workspace\spring-flex-testdrive\insync-air-spring\src\test\resources
[INFO]
[INFO] --- flexmojos-maven-plugin:3.2.0:test-compile (default-test-compile) @ insync-air-spring ---
[INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[WARNING] Test folder not foundC:\0-Workspace\spring-flex-testdrive\insync-air-spring\src\test\flex
[INFO]
[INFO] --- flexmojos-maven-plugin:3.2.0:test-run (default-test-run) @ insync-air-spring ---
[INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[WARNING] Skipping test run. Runner not found: C:\0-Workspace\spring-flex-testdrive\insync-air-spring\target\test-classe
s
[INFO]
[INFO] --- exec-maven-plugin:1.1-beta-1:exec (generate-cert) @ insync-air-spring ---
[INFO]
[INFO] --- exec-maven-plugin:1.1-beta-1:exec (package-air) @ insync-air-spring ---
[INFO] Could not generate timestamp: handshake alert: unrecognized_name
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spring BlazeDS Integration Test Drive Samples ..... SUCCESS [0.383s]
[INFO] Chat Sample ....................................... SUCCESS [11.265s]
[INFO] Collaboration Sample .............................. SUCCESS [4.959s]
[INFO] Company Manager Sample ............................ SUCCESS [4.591s]
[INFO] Feed Starter Sample ............................... SUCCESS [2.081s]
[INFO] Insync AIR Sample ................................. FAILURE [9.855s]
[INFO] Insync01 Sample ................................... SKIPPED
[INFO] Insync02 Sample ................................... SKIPPED
[INFO] Insync03 Sample ................................... SKIPPED
[INFO] Insync04 Sample ................................... SKIPPED
[INFO] Insync05 Sample ................................... SKIPPED
[INFO] Insync06 Sample ................................... SKIPPED
[INFO] Insync07 Sample ................................... SKIPPED
[INFO] JMS Chat Sample ................................... SKIPPED
[INFO] Spring Security Sample ............................ SKIPPED
[INFO] Simple Push Sample ................................ SKIPPED
[INFO] Spring BlazeDS Integration 101 Sample ............. SKIPPED
[INFO] Spring Integration POJO Messaging Sample .......... SKIPPED
[INFO] Trader Desktop Sample ............................. SKIPPED
[INFO] Spring BlazeDS Integration Test Drive Web Application SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.520s
[INFO] Finished at: Tue Jan 17 17:50:37 PST 2012
[INFO] Final Memory: 24M/290M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1-beta-1:exec (package-air) on project insync-air-s
pring: Result of java -jar C:\0-Workspace\spring-flex-testdrive\insync-air-spring/libs/adt.jar -package -storetype pkcs1
2 -keystore testdrivecert.p12 -storepass 12345 -keypass 12345 insync-air-spring.air C:\0-Workspace\spring-flex-testdrive
\insync-air-spring/../testdrive/src/main/webapp/insync-air-spring/main-app.xml -C C:\0-Workspace\spring-flex-testdrive\i
nsync-air-spring/../testdrive/src/main/webapp/insync-air-spring main.swf -C C:\0-Workspace\spring-flex-testdrive\insync-
air-spring\src\main\flex assets execution is: '10'. -> [Help 1]
[ERROR]
I did only two changes in root pom.xml to connect to repositories
<repositories>
<!--repository>
<id>flex-mojos-repository</id>
<url>http://repository.sonatype.org/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository-->
<repository>
<id>flex</id>
<url>http://repository.sonatype.org/content/groups/flexgroup</url>
<name>Sonatype Flex Repo</name>
</repository>
<repository>
<id>ObjectWEB</id>
<url>http://maven.ow2.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>flex-mojos-repository2</id>
<url>http://repository.sonatype.org/content/groups/flexgroup</url>
</pluginRepository>
<!-- pluginRepository>
<id>flex-mojos-repository</id>
<url>http://repository.sonatype.org/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository -->
</pluginRepositories>


Reply With Quote