super pom.xml <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>com.cattsoft.oss</groupId> <artifactId>super</artifactId> <version>7.0-SNAPSHOT</version> <packaging>pom</packaging> <name>super</name> <properties> <spring.version>3.0.4.RELEASE</spring.version> <hibernate.version>3.5.5-Final</hibernate.version> <flex.sdk.version>4.1.0.16076</flex.sdk.version> <blazeds.version>4.0.0.14931</blazeds.version> <flexUnit.version>0.9</flexUnit.version> <cxf.version>2.0.6</cxf.version> <flex-mojos.version>3.7.1</flex-mojos.version> <spring-actionscript.version>0.7.1</spring-actionscript.version> <mate.version>0.8.9</mate.version> <flashplayer.version.major>10</flashplayer.version.major> <flashplayer.version.minor>1</flashplayer.version.minor> <flashplayer.version.revision>0</flashplayer.version.revision> </properties> <dependencies> <!-- testing --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>2.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymockclassextension</artifactId> <version>2.4</version> <scope>test</scope> </dependency> </dependencies> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <configuration> <linkXref>true</linkXref> <sourceEncoding>utf-8</sourceEncoding> <minimumTokens>100</minimumTokens> <targetJdk>1.5</targetJdk> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>changelog-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.2</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> </plugin> </plugins> </reporting> <distributionManagement> <repository> <id>internal</id> <url>http://teds.cattsoft.com/archiva/repository/internal/</url> </repository> <snapshotRepository> <id>snapshots</id> <url>http://teds.cattsoft.com/archiva/repository/snapshots/</url> </snapshotRepository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <testFailureIgnore>true</testFailureIgnore> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.7</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.2</version> <configuration> <instrumentation> <excludes> <exclude>**/*Test.class</exclude> </excludes> </instrumentation> </configuration> <executions> <execution> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-2</version> </plugin> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flex-mojos.version}</version> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>${flex.sdk.version}</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> <defaultGoal>install</defaultGoal> <resources> <resource> <directory>${basedir}/src/main/resources</directory> </resource> </resources> </build> <repositories> <repository> <id>internal</id> <url>http://teds.cattsoft.com/archiva/repository/internal</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>snapshots</id> <url>http://teds.cattsoft.com/archiva/repository/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>flexgrop</id> <url>http://repository.sonatype.org/content/groups/flexgroup</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>internal</id> <url>http://teds.cattsoft.com/archiva/repository/internal</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>flex-mojos-repository</id> <url>http://repository.sonatype.org/content/groups/flexgroup</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> <profiles> <profile> <id>release</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <inherited>true</inherited> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <inherited>true</inherited> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <minmemory>128m</minmemory> <maxmemory>1g</maxmemory> <aggregate>true</aggregate> <groups> <group> <title>trms Packages</title> <packages>*.service</packages> <packages>*.dao</packages> <packages>*.business</packages> <packages>*.domain</packages> </group> </groups> </configuration> </plugin> <plugin> <inherited>true</inherited> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <updateReleaseInfo>true</updateReleaseInfo> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project> flex pom.xml <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"> <parent> <artifactId>super</artifactId> <groupId>com.cattsoft.oss</groupId> <version>7.0-SNAPSHOT</version> <relativePath>../super/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>${project.parent.groupId}</groupId> <artifactId>flex</artifactId> <packaging>pom</packaging> <name>flex</name> <build> <sourceDirectory>src/main/flex</sourceDirectory> <testSourceDirectory>src/test/flex</testSourceDirectory> <pluginManagement> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flex-mojos.version}</version> <extensions>true</extensions> <configuration> <incremental>true</incremental> <debug>false</debug> <rslUrls> <rsl>flex/libs/{artifactId}-{version}.{extension}</rsl> </rslUrls> <mergeResourceBundle>true</mergeResourceBundle> <resourceBundlePath>${basedir}/src/main/resources/locale/{locale}</resourceBundlePath> <targetPlayer>${flashplayer.version.major}.${flashplayer.version.minor}.${flashplayer.version.revision}</targetPlayer> <verifyDigests>false</verifyDigests> <moduleFiles> <module>**/*View.mxml</module> <module>**/*Dialog.mxml</module> <module>**/*BasicFormPanel.mxml</module> <module>**/*DeviceConfigInfoPanel.mxml</module> <module>**/*CtoEditPanel.mxml</module> <module>**/*RmModulePanel.mxml</module> <module>**/*Widget.mxml</module> </moduleFiles> <themes> <theme>${project.build.directory}/themes/spark-theme.css</theme> <theme>${project.build.directory}/themes/halo-theme.swc</theme> </themes> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <dependencies> <dependency> <groupId>com.cattsoft.oss</groupId> <artifactId>assembly</artifactId> <version>${project.version}</version> </dependency> </dependencies> <configuration> <descriptorRefs> <descriptorRef>flex-assembly</descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>attached</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-themes-for-flex4</id> <phase>generate-resources</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <includeTypes>swc,css</includeTypes> <outputDirectory>target/themes</outputDirectory> <overWriteIfNewer>true</overWriteIfNewer> <includeGroupIds>com.adobe.flex.framework</includeGroupIds> <includeArtifactIds>halo,spark</includeArtifactIds> <includeClassifiers>theme</includeClassifiers> <stripVersion>true</stripVersion> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>framework</artifactId> <version>${flex.sdk.version}</version> <type>swc</type> <scope>caching</scope> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>framework</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>rpc</artifactId> <version>${flex.sdk.version}</version> <scope>caching</scope> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>rpc</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> <version>${flex.sdk.version}</version> <type>swc</type> <scope>external</scope> <classifier>10.1</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <scope>external</scope> <classifier>10.1</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>spark</artifactId> <version>${flex.sdk.version}</version> <scope>caching</scope> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>spark</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>sparkskins</artifactId> <version>${flex.sdk.version}</version> <scope>caching</scope> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>osmf</artifactId> <version>${flex.sdk.version}</version> <scope>caching</scope> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>osmf</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>textLayout</artifactId> <version>${flex.sdk.version}</version> <scope>caching</scope> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>textLayout</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex</artifactId> <version>${flex.sdk.version}</version> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>utilities</artifactId> <version>${flex.sdk.version}</version> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flash-integration</artifactId> <version>${flex.sdk.version}</version> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flash-integration</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>datavisualization</artifactId> <version>${flex.sdk.version}</version> <type>swc</type> <scope>caching</scope> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>datavisualization</artifactId> <version>${flex.sdk.version}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>halo</artifactId> <version>${flex.sdk.version}</version> <classifier>theme</classifier> <type>swc</type> <scope>theme</scope> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>spark</artifactId> <version>${flex.sdk.version}</version> <classifier>theme</classifier> <type>css</type> <scope>theme</scope> </dependency> <!--dependency> <groupId>org.springframework</groupId> <artifactId>spring-actionscript</artifactId> <version>${spring-actionscript.version}</version> <type>swc</type> <scope>rsl</scope> </dependency--> <dependency> <groupId>com.asfusion</groupId> <artifactId>mate</artifactId> <version>${mate.version}</version> <type>swc</type> <scope>rsl</scope> </dependency> <dependency> <groupId>flexlib</groupId> <artifactId>flexlib-bin</artifactId> <version>2.5</version> <type>swc</type> <scope>rsl</scope> <classifier>flex4</classifier> </dependency> <dependency> <groupId>flexlib</groupId> <artifactId>flexmdi</artifactId> <version>1.1</version> <type>swc</type> <scope>rsl</scope> </dependency> <dependency> <groupId>flexlib</groupId> <artifactId>as3xls</artifactId> <version>2.0</version> <type>swc</type> <scope>rsl</scope> </dependency> <dependency> <groupId>flexlib</groupId> <artifactId>D.eval</artifactId> <version>1.1</version> <type>swc</type> </dependency> <dependency> <groupId>com.yahoo.developer</groupId> <artifactId>astra-flex</artifactId> <version>1.4</version> <type>swc</type> </dependency> <!-- testing --> <dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>4.0-beta-2</version> <type>swc</type> <scope>test</scope> </dependency> </dependencies> </project> flex lib pom.xml <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"> <parent> <artifactId>flex</artifactId> <groupId>com.cattsoft.oss</groupId> <version>7.0-SNAPSHOT</version> <relativePath>../flex/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>com.cattsoft.oss</groupId> <artifactId>osslib</artifactId> <packaging>swc</packaging> <name>osslib</name> <url>${project.parent.url}</url> <!--dependencies> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>flex</artifactId> <version>1.0</version> <type>pom</type> </dependency> </dependencies--> <build> <sourceDirectory>src/main/flex</sourceDirectory> <testSourceDirectory>src/test/flex</testSourceDirectory> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flex-mojos.version}</version> <configuration> <namespaces> <namespace> <uri>http://oss.cattsoft.com/flex/</uri> <manifest>${build.sourceDirectory}/manifest.xml</manifest> </namespace> </namespaces> <includeNamespaces> <namespaces>http://oss.cattsoft.com/flex/</namespaces> </includeNamespaces> <includeClasses> <!-- support--> <include>oss.util.SystemConstants</include> <include>oss.util.ui.flex.support.Dimension</include> <include>oss.util.ui.flex.support.HashMap</include> <include>oss.util.ui.flex.support.ObjectUtils</include> <include>oss.util.ui.flex.support.PingYing</include> <include>oss.util.ui.flex.support.Reflection</include> <include>oss.util.ui.flex.support.StringUtils</include> <include>oss.util.ui.flex.support.WeakMap</include> <include>oss.util.ui.flex.view.base.ViewHandler</include> <!-- menubar--> <include>oss.util.ui.flex.graphkit.component.menubar.command.impl.OpenBrowserCmd</include> <include>oss.util.ui.flex.graphkit.component.menubar.command.impl.OpenFlexCmd</include> <include>oss.util.ui.flex.graphkit.component.menubar.command.impl.OpenSwingCmd</include> <include>oss.util.ui.flex.graphkit.component.menubar.command.impl.UndefinedCmd</include> <!-- topo--> <include>oss.util.ui.flex.graphkit.component.tree.TreeItem</include> <include>oss.topo.view.render.RenderManager</include> <!-- LocalCache--> <include>oss.service.sysman.localcache.ILocalCacheManager</include> </includeClasses> <includes> <include>oss.util.ui.flex.support.Dimension</include> <include>oss.util.ui.flex.support.ArrayUtils</include> <include>oss.util.ui.flex.support.CookieUtils</include> <include>oss.topo.data.BaseEquipment</include> <include>oss.topo.data.CardNode</include> <include>oss.topo.data.PortNode</include> <include>oss.topo.data.RackNode</include> <include>oss.topo.data.ShelfNode</include> <include>oss.topo.data.SlotNode</include> </includes> </configuration> <executions> <execution> <goals> <goal>optimize</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <configuration> <tagBase> file:///C:/Temp/tags </tagBase> </configuration> </plugin> </plugins> </build> </project> flex app pom.xml <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"> <parent> <artifactId>flex</artifactId> <groupId>com.cattsoft.oss</groupId> <version>7.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <description> Flex </description> <groupId>com.cattsoft.oss.rms</groupId> <artifactId>main-flex</artifactId> <packaging>swf</packaging> <name>main-flex</name> <dependencies> <!-- internal --> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>osslib</artifactId> <version>${project.parent.version}</version> <type>swc</type> <scope>rsl</scope> </dependency> <!-- dependency> <groupId>${project.groupId}</groupId> <artifactId>rmslib</artifactId> <version>${project.parent.version}</version> <type>swc</type> <scope>rsl</scope> </dependency> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>gislib</artifactId> <version>${project.parent.version}</version> <type>swc</type> <scope>rsl</scope> </dependency--> </dependencies> <build> <finalName>trms</finalName> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flex-mojos.version}</version> <extensions>true</extensions> <configuration> <moduleFiles> <module>**/*View.mxml</module> <module>**/*Dialog.mxml</module> <module>**/*BasicFormPanel.mxml</module> <module>**/*DeviceConfigInfoPanel.mxml</module> <module>**/*CtoEditPanel.mxml</module> <module>**/*RmModulePanel.mxml</module> <module>**/*Widget.mxml</module> </moduleFiles> <output>${project.build.directory}/${project.build.finalName}.swf </output> <themes> <theme>${project.build.directory}/themes/spark-theme.css</theme> <theme>${project.build.directory}/themes/halo-theme.swc</theme> </themes> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> </plugin> </plugins> </build> </project> web pom.xml <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"> <parent> <artifactId>super</artifactId> <groupId>com.cattsoft.oss</groupId> <version>7.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>com.cattsoft.oss.rms</groupId> <artifactId>trms-web</artifactId> <packaging>war</packaging> <name>trms-web</name> <dependencies> <!-- internal dependencies --> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>service-security-business</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>service-sysman-business</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>main-business</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>main-flex</artifactId> <version>${project.parent.version}</version> <type>swf</type> </dependency> </dependencies> <build> <finalName>trmsWAR</finalName> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flex-mojos.version}</version> <executions> <execution> <goals> <goal>copy-flex-resources</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <phase>compile</phase> <goals> <goal>unpack</goal> </goals> <configuration> <overWrite>false</overWrite> <outputDirectory> ${project.build.directory}/${project.build.finalName} </outputDirectory> <artifactItems> <artifactItem> <groupId> ${project.groupId} </groupId> <artifactId>main-flex</artifactId> <version> ${project.version} </version> <type>zip</type> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> </profiles> </project>