Permalink
Browse files

Adding debug config, repository info and plugin repository info to PO…

…Ms (ensuring they build from scratch).
  • Loading branch information...
1 parent 0366b79 commit 58dacefaf16f0203ea506180bf9eb3b6f2654cc0 @justinjmoses justinjmoses committed Sep 30, 2011
@@ -19,13 +19,13 @@
-->
<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>
-
- <groupId>\${groupId}</groupId>
- <artifactId>\${artifactId}</artifactId>
- <version>\${version}</version>
- <packaging>swf</packaging>
-
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>\${groupId}</groupId>
+ <artifactId>\${artifactId}</artifactId>
+ <version>\${version}</version>
+ <packaging>swf</packaging>
+
<name>\${artifactId} Flex</name>
<build>
@@ -37,6 +37,9 @@
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${project.version}</version>
<extensions>true</extensions>
+ <configuration>
+ <debug>true</debug>
+ </configuration>
</plugin>
</plugins>
</build>
@@ -58,4 +61,21 @@
</dependency>
</dependencies>
-</project>
+ <!-- Repository and PluginRepository section for Flex SDK and compiler dependencies.
+ Note: instead of including this in every POM, you can append it to your user (~/.m2/settings.xml) or global
+ (M2_HOME/conf/settings.xml) settings file.
+ -->
+ <repositories>
+ <repository>
+ <id>flex-mojos-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>flex-mojos-plugin-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </pluginRepository>
+ </pluginRepositories>
+</project>
@@ -18,6 +18,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
- <mx:Text text="Hello World!"/>
-</mx:Application>
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
+ <fx:Declarations>
+ <!-- Place non-visual elements (e.g., services, value objects) here -->
+ </fx:Declarations>
+</s:Application>
@@ -19,13 +19,13 @@
-->
<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>
-
- <groupId>\${groupId}</groupId>
- <artifactId>\${artifactId}</artifactId>
- <version>\${version}</version>
- <packaging>swc</packaging>
-
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>\${groupId}</groupId>
+ <artifactId>\${artifactId}</artifactId>
+ <version>\${version}</version>
+ <packaging>swc</packaging>
+
<name>\${artifactId} Flex</name>
<build>
@@ -37,6 +37,9 @@
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${project.version}</version>
<extensions>true</extensions>
+ <configuration>
+ <debug>true</debug>
+ </configuration>
</plugin>
</plugins>
</build>
@@ -58,4 +61,22 @@
</dependency>
</dependencies>
-</project>
+ <!-- Repository and PluginRepository section for Flex SDK and compiler dependencies.
+ Note: instead of including this in every POM, you can append it to your user (~/.m2/settings.xml) or global
+ (M2_HOME/conf/settings.xml) settings file.
+ -->
+ <repositories>
+ <repository>
+ <id>flex-mojos-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>flex-mojos-plugin-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+</project>
@@ -30,4 +30,23 @@
<module>swf</module>
<module>war</module>
</modules>
+
+ <!-- Repository and PluginRepository section for Flex SDK and compiler dependencies.
+ Note: instead of including this in every POM, you can append it to your user (~/.m2/settings.xml) or global
+ (M2_HOME/conf/settings.xml) settings file.
+ -->
+ <repositories>
+ <repository>
+ <id>flex-mojos-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>flex-mojos-plugin-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </pluginRepository>
+ </pluginRepositories>
+
</project>
@@ -40,7 +40,8 @@
<configuration>
<locales>
<locale>en_US</locale>
- </locales>
+ </locales>
+ <debug>true</debug>
</configuration>
</plugin>
</plugins>
@@ -41,6 +41,7 @@
<locales>
<locale>en_US</locale>
</locales>
+ <debug>true</debug>
</configuration>
</plugin>
</plugins>

0 comments on commit 58dacef

Please sign in to comment.