Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…Ms (ensuring they build from scratch).
  • Loading branch information...
commit 58dacefaf16f0203ea506180bf9eb3b6f2654cc0 1 parent 0366b79
justin j. moses justinjmoses authored
36 flexmojos-archetypes/flexmojos-archetypes-application/src/main/resources/archetype-resources/pom.xml
@@ -19,13 +19,13 @@
19 19
20 20 -->
21 21 <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">
22   - <modelVersion>4.0.0</modelVersion>
23   -
24   - <groupId>\${groupId}</groupId>
25   - <artifactId>\${artifactId}</artifactId>
26   - <version>\${version}</version>
27   - <packaging>swf</packaging>
28   -
  22 + <modelVersion>4.0.0</modelVersion>
  23 +
  24 + <groupId>\${groupId}</groupId>
  25 + <artifactId>\${artifactId}</artifactId>
  26 + <version>\${version}</version>
  27 + <packaging>swf</packaging>
  28 +
29 29 <name>\${artifactId} Flex</name>
30 30
31 31 <build>
@@ -37,6 +37,9 @@
37 37 <artifactId>flexmojos-maven-plugin</artifactId>
38 38 <version>${project.version}</version>
39 39 <extensions>true</extensions>
  40 + <configuration>
  41 + <debug>true</debug>
  42 + </configuration>
40 43 </plugin>
41 44 </plugins>
42 45 </build>
@@ -58,4 +61,21 @@
58 61 </dependency>
59 62 </dependencies>
60 63
61   -</project>
  64 + <!-- Repository and PluginRepository section for Flex SDK and compiler dependencies.
  65 + Note: instead of including this in every POM, you can append it to your user (~/.m2/settings.xml) or global
  66 + (M2_HOME/conf/settings.xml) settings file.
  67 + -->
  68 + <repositories>
  69 + <repository>
  70 + <id>flex-mojos-repository</id>
  71 + <url>http://repository.sonatype.org/content/groups/flexgroup</url>
  72 + </repository>
  73 + </repositories>
  74 +
  75 + <pluginRepositories>
  76 + <pluginRepository>
  77 + <id>flex-mojos-plugin-repository</id>
  78 + <url>http://repository.sonatype.org/content/groups/flexgroup</url>
  79 + </pluginRepository>
  80 + </pluginRepositories>
  81 +</project>
10 ...chetypes/flexmojos-archetypes-application/src/main/resources/archetype-resources/src/main/flex/Main.mxml
@@ -18,6 +18,10 @@
18 18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 20 -->
21   -<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
22   - <mx:Text text="Hello World!"/>
23   -</mx:Application>
  21 +<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
  22 + xmlns:s="library://ns.adobe.com/flex/spark"
  23 + xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
  24 + <fx:Declarations>
  25 + <!-- Place non-visual elements (e.g., services, value objects) here -->
  26 + </fx:Declarations>
  27 +</s:Application>
37 flexmojos-archetypes/flexmojos-archetypes-library/src/main/resources/archetype-resources/pom.xml
@@ -19,13 +19,13 @@
19 19
20 20 -->
21 21 <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">
22   - <modelVersion>4.0.0</modelVersion>
23   -
24   - <groupId>\${groupId}</groupId>
25   - <artifactId>\${artifactId}</artifactId>
26   - <version>\${version}</version>
27   - <packaging>swc</packaging>
28   -
  22 + <modelVersion>4.0.0</modelVersion>
  23 +
  24 + <groupId>\${groupId}</groupId>
  25 + <artifactId>\${artifactId}</artifactId>
  26 + <version>\${version}</version>
  27 + <packaging>swc</packaging>
  28 +
29 29 <name>\${artifactId} Flex</name>
30 30
31 31 <build>
@@ -37,6 +37,9 @@
37 37 <artifactId>flexmojos-maven-plugin</artifactId>
38 38 <version>${project.version}</version>
39 39 <extensions>true</extensions>
  40 + <configuration>
  41 + <debug>true</debug>
  42 + </configuration>
40 43 </plugin>
41 44 </plugins>
42 45 </build>
@@ -58,4 +61,22 @@
58 61 </dependency>
59 62 </dependencies>
60 63
61   -</project>
  64 + <!-- Repository and PluginRepository section for Flex SDK and compiler dependencies.
  65 + Note: instead of including this in every POM, you can append it to your user (~/.m2/settings.xml) or global
  66 + (M2_HOME/conf/settings.xml) settings file.
  67 + -->
  68 + <repositories>
  69 + <repository>
  70 + <id>flex-mojos-repository</id>
  71 + <url>http://repository.sonatype.org/content/groups/flexgroup</url>
  72 + </repository>
  73 + </repositories>
  74 +
  75 + <pluginRepositories>
  76 + <pluginRepository>
  77 + <id>flex-mojos-plugin-repository</id>
  78 + <url>http://repository.sonatype.org/content/groups/flexgroup</url>
  79 + </pluginRepository>
  80 + </pluginRepositories>
  81 +
  82 +</project>
19 flexmojos-archetypes/flexmojos-archetypes-modular-webapp/src/main/resources/archetype-resources/pom.xml
@@ -30,4 +30,23 @@
30 30 <module>swf</module>
31 31 <module>war</module>
32 32 </modules>
  33 +
  34 + <!-- Repository and PluginRepository section for Flex SDK and compiler dependencies.
  35 + Note: instead of including this in every POM, you can append it to your user (~/.m2/settings.xml) or global
  36 + (M2_HOME/conf/settings.xml) settings file.
  37 + -->
  38 + <repositories>
  39 + <repository>
  40 + <id>flex-mojos-repository</id>
  41 + <url>http://repository.sonatype.org/content/groups/flexgroup</url>
  42 + </repository>
  43 + </repositories>
  44 +
  45 + <pluginRepositories>
  46 + <pluginRepository>
  47 + <id>flex-mojos-plugin-repository</id>
  48 + <url>http://repository.sonatype.org/content/groups/flexgroup</url>
  49 + </pluginRepository>
  50 + </pluginRepositories>
  51 +
33 52 </project>
3  flexmojos-archetypes/flexmojos-archetypes-modular-webapp/src/main/resources/archetype-resources/swc/pom.xml
@@ -40,7 +40,8 @@
40 40 <configuration>
41 41 <locales>
42 42 <locale>en_US</locale>
43   - </locales>
  43 + </locales>
  44 + <debug>true</debug>
44 45 </configuration>
45 46 </plugin>
46 47 </plugins>
1  flexmojos-archetypes/flexmojos-archetypes-modular-webapp/src/main/resources/archetype-resources/swf/pom.xml
@@ -41,6 +41,7 @@
41 41 <locales>
42 42 <locale>en_US</locale>
43 43 </locales>
  44 + <debug>true</debug>
44 45 </configuration>
45 46 </plugin>
46 47 </plugins>

0 comments on commit 58dacef

Please sign in to comment.
Something went wrong with that request. Please try again.