Advertisement
Guest User

pom.xml

a guest
Dec 11th, 2013
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 51.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <name>app.ui</name>
  6.     <groupId>nu.magick</groupId>
  7.     <artifactId>app.ui</artifactId>
  8.     <packaging>war</packaging>
  9.     <version>1.0.Beta1-SNAPSHOT</version>
  10.    
  11.     <properties>
  12.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13.         <java.version>1.7</java.version>
  14.         <errai.version>2.4.2.Final</errai.version>
  15.         <gwt.version>2.5.1</gwt.version>
  16.         <weld.version>1.1.6.Final</weld.version>
  17.         <gwt.maven.version>2.5.1</gwt.maven.version>
  18.         <mvel.version>2.1.3.Final</mvel.version>
  19.         <jetty.version>6.1.25</jetty.version>
  20.         <slf4j.version>1.6.1</slf4j.version>
  21.         <uel.impl.version>2.1.2-b04</uel.impl.version>
  22.         <drools.version>5.5.0.Final</drools.version>
  23.         <jbpm.version>5.4.0.Final</jbpm.version>
  24.         <shiro.version>1.2.2</shiro.version>
  25.         <skip.tests>true</skip.tests>
  26.         <errai.jboss.home>/Users/cristianmiranda/Documents/Work/Workspace_MG/wildfly</errai.jboss.home>
  27.         <settings.localRepository>/Users/cristianmiranda/.m2/repository</settings.localRepository>
  28.         <errai.devmode.version>3.0.0.20131101-M2</errai.devmode.version>
  29.         <jboss.port>9990</jboss.port>
  30.         <jboss.username>admin</jboss.username>
  31.         <jboss.password>magick</jboss.password>
  32.     </properties>
  33.  
  34.    
  35.     <dependencies>
  36.         <dependency>
  37.  
  38.             <groupId>org.hsqldb</groupId>
  39.             <artifactId>hsqldb</artifactId>
  40.             <version>2.2.9</version>
  41.             <scope>test</scope>
  42.         </dependency>
  43.         <dependency>
  44.             <groupId>org.easymock</groupId>
  45.             <artifactId>easymock</artifactId>
  46.             <version>3.2</version>
  47.             <scope>test</scope>
  48.         </dependency>
  49.                    
  50.         <dependency>
  51.             <groupId>com.googlecode.gwtquery.plugins</groupId>
  52.             <artifactId>enhance-plugin</artifactId>
  53.             <!--<scope>provided</scope>-->
  54.             <version>1.0.4</version>
  55.         </dependency>
  56.         <dependency>
  57.             <groupId>com.googlecode.gwtquery</groupId>
  58.             <artifactId>gwtquery</artifactId>
  59.             <version>1.3.3</version>
  60.             <!--<scope>provided</scope>-->
  61.         </dependency>
  62.         <dependency>
  63.             <groupId>javax.inject</groupId>
  64.             <artifactId>javax.inject</artifactId>
  65.             <version>1</version>
  66.             <scope>provided</scope>
  67.         </dependency>
  68.         <dependency>
  69.             <groupId>javax.servlet</groupId>
  70.             <artifactId>servlet-api</artifactId>
  71.             <version>2.5</version>
  72.             <scope>provided</scope>
  73.         </dependency>
  74.  
  75.         <dependency>
  76.             <groupId>javax.servlet</groupId>
  77.             <artifactId>jsp-api</artifactId>
  78.             <version>2.0</version>
  79.             <scope>provided</scope>
  80.         </dependency>
  81.  
  82.         <dependency>
  83.             <groupId>org.slf4j</groupId>
  84.             <artifactId>slf4j-log4j12</artifactId>
  85.             <version>${slf4j.version}</version>
  86.         </dependency>
  87.  
  88.         <dependency>
  89.             <groupId>junit</groupId>
  90.             <artifactId>junit</artifactId>
  91.             <version>4.10</version>
  92.             <scope>test</scope>
  93.         </dependency>
  94.  
  95.         <dependency>
  96.             <groupId>org.jboss.ejb3</groupId>
  97.             <artifactId>jboss-ejb3-api</artifactId>
  98.             <scope>provided</scope>
  99.             <version>3.1.0</version>
  100.         </dependency>
  101.  
  102.         <dependency>
  103.             <groupId>org.jboss.errai</groupId>
  104.             <artifactId>errai-javaee-all</artifactId>
  105.             <version>${errai.version}</version>
  106.         </dependency>
  107.  
  108.         <!-- Temporary removed Errai JPA since it causes error in build <dependency>
  109.             <groupId>org.jboss.errai</groupId> <artifactId>errai-jpa-client</artifactId>
  110.             <version>${errai.version}</version> </dependency> -->
  111.         <dependency>
  112.          
  113.             <groupId>javax.enterprise</groupId>
  114.             <artifactId>cdi-api</artifactId>
  115.             <scope>provided</scope>
  116.             <version>1.0-SP4</version>
  117.         </dependency>
  118.  
  119.  
  120.         <dependency>
  121.             <groupId>org.jboss.errai</groupId>
  122.             <artifactId>errai-bus</artifactId>
  123.             <version>${errai.version}</version>
  124.             <exclusions>
  125.                 <exclusion>
  126.                     <groupId>javax.inject</groupId>
  127.                     <artifactId>javax.inject</artifactId>
  128.                 </exclusion>
  129.                 <exclusion>
  130.                     <groupId>javax.annotation</groupId>
  131.                     <artifactId>jsr250-api</artifactId>
  132.                 </exclusion>
  133.             </exclusions>
  134.         </dependency>
  135.         <!-- Errai Core -->
  136.         <dependency>
  137.             <groupId>org.jboss.errai</groupId>
  138.             <artifactId>errai-ioc</artifactId>
  139.             <version>${errai.version}</version>
  140.             <exclusions>
  141.                 <exclusion>
  142.                     <groupId>javax.inject</groupId>
  143.                     <artifactId>javax.inject</artifactId>
  144.                 </exclusion>
  145.                 <exclusion>
  146.                     <groupId>javax.annotation</groupId>
  147.                     <artifactId>jsr250-api</artifactId>
  148.                 </exclusion>
  149.             </exclusions>
  150.         </dependency>
  151.         <dependency>
  152.             <groupId>org.jboss.errai</groupId>
  153.             <artifactId>errai-tools</artifactId>
  154.             <version>${errai.version}</version>
  155.             <exclusions>
  156.                 <exclusion>
  157.                     <artifactId>hsqldb</artifactId>
  158.                     <groupId>hsqldb</groupId>
  159.                 </exclusion>
  160.             </exclusions>
  161.         </dependency>
  162.         <dependency>
  163.             <groupId>org.mvel</groupId>
  164.             <artifactId>mvel2</artifactId>
  165.             <version>${mvel.version}</version>
  166.         </dependency>
  167.         <dependency>
  168.             <groupId>org.jboss.errai</groupId>
  169.             <artifactId>errai-ui</artifactId>
  170.             <version>${errai.version}</version>
  171.         </dependency>
  172.         <dependency>
  173.             <groupId>org.jboss.errai</groupId>
  174.             <artifactId>errai-jboss-as-support</artifactId>
  175.             <version>${errai.version}</version>
  176.         </dependency>
  177.  
  178.         <!-- Errai in Development mode -->
  179.         <dependency>
  180.             <groupId>org.jboss.errai</groupId>
  181.             <artifactId>errai-cdi-jboss</artifactId>
  182.             <version>${errai.devmode.version}</version>
  183.         </dependency>
  184.         <dependency>
  185.             <groupId>org.jboss.errai</groupId>
  186.             <artifactId>errai-client-local-class-hider</artifactId>
  187.             <version>${errai.devmode.version}</version>
  188.         </dependency>
  189.  
  190.         <!-- CDI Integration Modules -->
  191.         <dependency>
  192.             <groupId>org.jboss.errai</groupId>
  193.             <artifactId>errai-cdi-client</artifactId>
  194.             <version>${errai.version}</version>
  195.         </dependency>
  196.  
  197.         <dependency>
  198.             <groupId>org.jboss.errai</groupId>
  199.             <artifactId>errai-javax-enterprise</artifactId>
  200.             <version>${errai.version}</version>
  201.             <scope>provided</scope>
  202.         </dependency>
  203.  
  204.         <dependency>
  205.             <groupId>org.jboss.errai</groupId>
  206.             <artifactId>errai-weld-integration</artifactId>
  207.             <version>${errai.version}</version>
  208.         </dependency>
  209.  
  210.         <dependency>
  211.             <groupId>org.jboss.errai</groupId>
  212.             <artifactId>errai-cdi-jetty</artifactId>
  213.             <version>${errai.version}</version>
  214.         </dependency>
  215.  
  216.         <!-- CDI Development Utils -->
  217.         <!-- This must be placed above com.google.gwt:gwt-dev to override the Jetty
  218.             that is present there -->
  219.         <dependency>
  220.             <groupId>org.mortbay.jetty</groupId>
  221.             <artifactId>jetty</artifactId>
  222.             <version>${jetty.version}</version>
  223.         </dependency>
  224.  
  225.         <dependency>
  226.             <groupId>org.mortbay.jetty</groupId>
  227.             <artifactId>jetty-plus</artifactId>
  228.             <version>${jetty.version}</version>
  229.         </dependency>
  230.  
  231.         <dependency>
  232.             <groupId>org.mortbay.jetty</groupId>
  233.             <artifactId>jetty-naming</artifactId>
  234.             <version>${jetty.version}</version>
  235.         </dependency>
  236.  
  237.         <!-- Weld Modules -->
  238.         <dependency>
  239.             <groupId>org.jboss.weld.se</groupId>
  240.             <artifactId>weld-se-core</artifactId>
  241.             <version>${weld.version}</version>
  242.         </dependency>
  243.  
  244.         <dependency>
  245.             <groupId>org.jboss.weld.servlet</groupId>
  246.             <artifactId>weld-servlet-core</artifactId>
  247.             <version>${weld.version}</version>
  248.         </dependency>
  249.  
  250.         <!-- GWT and GWT Extensions -->
  251.         <dependency>
  252.             <groupId>com.google.gwt</groupId>
  253.             <artifactId>gwt-user</artifactId>
  254.             <version>${gwt.version}</version>
  255.             <!--scope>provided</scope -->
  256.         </dependency>
  257.         <dependency>
  258.             <groupId>com.google.gwt</groupId>
  259.             <artifactId>gwt-dev</artifactId>
  260.             <version>${gwt.version}</version>
  261.             <!--scope>provided</scope -->
  262.         </dependency>
  263.  
  264.  
  265.    
  266.        
  267.         <!-- GWT Tour hosted in Github -->
  268.         <dependency>
  269.           <groupId>com.eemi.gwt</groupId>
  270.           <artifactId>tour</artifactId>
  271.           <version>1.0-SNAPSHOT</version>  
  272.         </dependency>
  273.        
  274.  
  275.         <!-- Scribe oAuth library -->  
  276.         <dependency>
  277.             <groupId>org.scribe</groupId>
  278.             <artifactId>scribe</artifactId>
  279.             <version>1.3.5</version>
  280.         </dependency>
  281.  
  282.         <dependency>
  283.             <groupId>org.jooq</groupId>
  284.             <artifactId>joox</artifactId>
  285.             <version>1.1.0</version>
  286.         </dependency>
  287.            
  288.  
  289.         <!-- Runtime / Container dependencies -->
  290.         <dependency>
  291.             <groupId>org.slf4j</groupId>
  292.             <artifactId>slf4j-api</artifactId>
  293.             <version>${slf4j.version}</version>
  294.         </dependency>
  295.         <dependency>
  296.             <groupId>mysql</groupId>
  297.             <artifactId>mysql-connector-java</artifactId>
  298.             <version>5.1.6</version>
  299.         </dependency>
  300.         <dependency>
  301.             <groupId>org.jboss.logging</groupId>
  302.             <artifactId>jboss-logging</artifactId>
  303.             <version>3.1.3.GA</version>
  304.         </dependency>
  305.  
  306.         <!-- RestEasy client -->
  307.         <dependency>
  308.             <groupId>org.jboss.resteasy</groupId>
  309.             <artifactId>resteasy-jaxrs</artifactId>
  310.             <version>2.3.2.Final</version>
  311.         </dependency>
  312.         <!-- Jackson JSON marshaler for rest client -->
  313.         <dependency>
  314.             <groupId>org.jboss.resteasy</groupId>
  315.             <artifactId>resteasy-jackson-provider</artifactId>
  316.             <version>2.3.2.Final</version>
  317.         </dependency>
  318.        
  319.         <dependency>
  320.             <groupId>org.mindrot</groupId>
  321.             <artifactId>jbcrypt</artifactId>
  322.             <version>0.3m</version>
  323.         </dependency>
  324.        
  325.         <dependency>
  326.             <groupId>postgresql</groupId>
  327.             <artifactId>postgresql</artifactId>
  328.             <version>9.2-1002.jdbc4</version>
  329.         </dependency>
  330.  
  331.         <!-- Hibernate 4.1.4 version contains fix with classloaders for running
  332.             GWT -->
  333.         <dependency>
  334.             <groupId>org.hibernate</groupId>
  335.             <artifactId>hibernate-entitymanager</artifactId>
  336.             <version>4.1.10.Final</version>
  337.         </dependency>
  338.         <dependency>
  339.             <groupId>com.watopi</groupId>
  340.             <artifactId>gwtchosen</artifactId>
  341.             <version>1.1.0</version>
  342.             <!--<scope>provided</scope>-->
  343.         </dependency>
  344.         <!-- Hibernate validator -->
  345.         <dependency>
  346.             <groupId>org.hibernate</groupId>
  347.             <artifactId>hibernate-validator-annotation-processor</artifactId>
  348.             <version>4.1.0.Final</version>
  349.         </dependency>
  350.  
  351.         <dependency>
  352.             <groupId>com.magick</groupId>
  353.             <artifactId>models</artifactId>
  354.             <version>0.2.0-Final</version>
  355.         </dependency>
  356.         <dependency>
  357.             <groupId>org.drools</groupId>
  358.             <artifactId>droolsjbpm-ide-common</artifactId>
  359.             <version>${drools.version}</version>
  360.             <exclusions>
  361.                 <exclusion>
  362.                     <artifactId>ecj</artifactId>
  363.                     <groupId>org.eclipse.jdt.core.compiler</groupId>
  364.                 </exclusion>
  365.                 <exclusion>
  366.                     <groupId>com.google.gwt</groupId>
  367.                     <artifactId>gwt-servlet</artifactId>
  368.                 </exclusion>
  369.             </exclusions>
  370.         </dependency>
  371.         <dependency>
  372.             <groupId>org.drools</groupId>
  373.             <artifactId>guvnor-api</artifactId>
  374.             <version>${drools.version}</version>
  375.         </dependency>
  376.          <dependency>
  377.                 <groupId>org.jbpm</groupId>
  378.                 <artifactId>jbpm-flow</artifactId>
  379.                 <version>${jbpm.version}</version>
  380.             </dependency>
  381.             <dependency>
  382.                 <groupId>org.jbpm</groupId>
  383.                 <artifactId>jbpm-flow-builder</artifactId>
  384.                 <version>${jbpm.version}</version>
  385.             </dependency>
  386.             <dependency>
  387.                 <groupId>org.jbpm</groupId>
  388.                 <artifactId>jbpm-bpmn2</artifactId>
  389.                 <version>${jbpm.version}</version>
  390.             </dependency>
  391.         <dependency>
  392.             <groupId>org.apache.cxf</groupId>
  393.             <artifactId>cxf-bundle-jaxrs</artifactId>
  394.             <version>2.2.10</version>
  395.         </dependency>
  396.  
  397.         <!-- Test module dependencies -->
  398.         <dependency>
  399.             <groupId>org.hsqldb</groupId>
  400.             <artifactId>hsqldb</artifactId>
  401.             <version>2.2.9</version>
  402.             <scope>test</scope>
  403.         </dependency>
  404.         <dependency>
  405.             <groupId>org.mockito</groupId>
  406.             <artifactId>mockito-all</artifactId>
  407.             <version>1.8.4</version>
  408.             <scope>test</scope>
  409.         </dependency>
  410.         <dependency>
  411.             <groupId>org.jboss.arquillian.junit</groupId>
  412.             <artifactId>arquillian-junit-container</artifactId>
  413.             <version>1.0.3.Final</version>
  414.             <scope>test</scope>
  415.         </dependency>
  416.         <dependency>
  417.             <groupId>org.jboss.arquillian.container</groupId>
  418.             <artifactId>arquillian-weld-ee-embedded-1.1</artifactId>
  419.             <version>1.0.0.CR6</version>
  420.             <scope>test</scope>
  421.         </dependency>
  422.  
  423.         <!-- Apache Shiro dependencies -->
  424.         <dependency>
  425.             <groupId>org.apache.shiro</groupId>
  426.             <artifactId>shiro-core</artifactId>
  427.             <version>${shiro.version}</version>
  428.         </dependency>
  429.         <dependency>
  430.             <groupId>org.apache.shiro</groupId>
  431.             <artifactId>shiro-web</artifactId>
  432.             <version>${shiro.version}</version>
  433.         </dependency>
  434.  
  435.     </dependencies>
  436.  
  437.     <profiles>
  438.         <profile>
  439.             <id>jetty</id>
  440.             <activation>
  441.                 <activeByDefault>true</activeByDefault>
  442.             </activation>
  443.             <properties>
  444.                 <webDescriptor>jetty</webDescriptor>
  445.             </properties>
  446.             <dependencies>
  447.                 <!-- We need this for CDI BeanManager to work in Dev Mode -->
  448.                 <dependency>
  449.                     <groupId>org.mortbay.jetty</groupId>
  450.                     <artifactId>jetty-naming</artifactId>
  451.                     <version>${jetty.version}</version>
  452.                     <scope>compile</scope>
  453.                 </dependency>
  454.             </dependencies>
  455.         </profile>
  456.  
  457.         <profile>
  458.             <!-- It's required that Jetty's plus option is enabled (OPTIONS=plus,..) -->
  459.             <id>jetty7+</id>
  460.             <properties>
  461.                 <webDescriptor>jetty7+</webDescriptor>
  462.             </properties>
  463.             <dependencies>
  464.                 <dependency>
  465.                     <groupId>org.mortbay.jetty</groupId>
  466.                     <artifactId>jetty</artifactId>
  467.                     <version>${jetty.version}</version>
  468.                     <scope>provided</scope>
  469.                 </dependency>
  470.  
  471.                 <dependency>
  472.                     <groupId>org.mortbay.jetty</groupId>
  473.                     <artifactId>jetty-plus</artifactId>
  474.                     <version>${jetty.version}</version>
  475.                     <scope>provided</scope>
  476.                 </dependency>
  477.  
  478.                 <dependency>
  479.                     <groupId>org.mortbay.jetty</groupId>
  480.                     <artifactId>jetty-naming</artifactId>
  481.                     <version>${jetty.version}</version>
  482.                     <scope>provided</scope>
  483.                 </dependency>
  484.  
  485.                 <dependency>
  486.                     <groupId>org.eclipse.jetty</groupId>
  487.                     <artifactId>jetty-servlet</artifactId>
  488.                     <version>7.2.1.v20101111</version>
  489.                 </dependency>
  490.  
  491.                 <dependency>
  492.                     <groupId>org.jboss.errai</groupId>
  493.                     <artifactId>errai-cdi-jetty</artifactId>
  494.                     <version>${errai.version}</version>
  495.                     <scope>provided</scope>
  496.                 </dependency>
  497.             </dependencies>
  498.         </profile>
  499.  
  500.         <profile>
  501.             <id>jboss6</id>
  502.             <properties>
  503.                 <webDescriptor>jboss6</webDescriptor>
  504.             </properties>
  505.             <dependencies>
  506.  
  507.                 <dependency>
  508.                     <groupId>org.jboss.errai</groupId>
  509.                     <artifactId>errai-bus</artifactId>
  510.                     <exclusions>
  511.                         <exclusion>
  512.                             <groupId>org.slf4j</groupId>
  513.                             <artifactId>slf4j-log4j12</artifactId>
  514.                         </exclusion>
  515.                         <exclusion>
  516.                             <groupId>junit</groupId>
  517.                             <artifactId>junit</artifactId>
  518.                         </exclusion>
  519.                         <exclusion>
  520.                             <groupId>com.google.collections</groupId>
  521.                             <artifactId>google-collections</artifactId>
  522.                         </exclusion>
  523.                         <exclusion>
  524.                             <artifactId>javax.inject</artifactId>
  525.                             <groupId>javax.inject</groupId>
  526.                         </exclusion>
  527.                     </exclusions>
  528.                     <version>${errai.version}</version>
  529.                 </dependency>
  530.  
  531.                 <!-- Exclude all the stuff provided by AS6 -->
  532.                 <dependency>
  533.                     <groupId>javax.inject</groupId>
  534.                     <artifactId>javax.inject</artifactId>
  535.                     <version>1</version>
  536.                     <scope>provided</scope>
  537.                 </dependency>
  538.  
  539.                 <dependency>
  540.                     <groupId>javax.annotation</groupId>
  541.                     <artifactId>jsr250-api</artifactId>
  542.                     <version>1.0</version>
  543.                     <scope>provided</scope>
  544.                 </dependency>
  545.  
  546.                 <dependency>
  547.                     <groupId>org.slf4j</groupId>
  548.                     <artifactId>slf4j-api</artifactId>
  549.                     <version>${slf4j.version}</version>
  550.                     <scope>provided</scope>
  551.                 </dependency>
  552.  
  553.                 <dependency>
  554.                     <groupId>dom4j</groupId>
  555.                     <artifactId>dom4j</artifactId>
  556.                     <version>1.6</version>
  557.                     <scope>provided</scope>
  558.                 </dependency>
  559.  
  560.                 <dependency>
  561.                     <groupId>xml-apis</groupId>
  562.                     <artifactId>xml-apis</artifactId>
  563.                     <version>1.0.b2</version>
  564.                     <scope>provided</scope>
  565.                 </dependency>
  566.  
  567.                 <dependency>
  568.                     <groupId>org.javassist</groupId>
  569.                     <artifactId>javassist</artifactId>
  570.                     <version>3.15.0-GA</version>
  571.                     <scope>provided</scope>
  572.                 </dependency>
  573.  
  574.                 <dependency>
  575.                     <groupId>org.jboss.errai</groupId>
  576.                     <artifactId>errai-ioc</artifactId>
  577.                     <exclusions>
  578.                         <exclusion>
  579.                             <artifactId>jsr250-api</artifactId>
  580.                             <groupId>javax.annotation</groupId>
  581.                         </exclusion>
  582.                         <exclusion>
  583.                             <artifactId>javax.inject</artifactId>
  584.                             <groupId>javax.inject</groupId>
  585.                         </exclusion>
  586.                     </exclusions>
  587.                     <scope>compile</scope>
  588.                     <version>${errai.version}</version>
  589.                 </dependency>
  590.  
  591.                 <dependency>
  592.                     <groupId>org.jboss.errai</groupId>
  593.                     <artifactId>errai-tools</artifactId>
  594.                     <scope>provided</scope>
  595.                     <version>${errai.version}</version>
  596.                 </dependency>
  597.  
  598.                 <dependency>
  599.                     <groupId>org.jboss.errai</groupId>
  600.                     <artifactId>errai-javax-enterprise</artifactId>
  601.                     <version>${errai.version}</version>
  602.                     <scope>provided</scope>
  603.                 </dependency>
  604.  
  605.                 <!-- exclude development tools -->
  606.                 <dependency>
  607.                     <groupId>org.jboss.errai</groupId>
  608.                     <artifactId>errai-cdi-jetty</artifactId>
  609.                     <version>${errai.version}</version>
  610.                     <scope>provided</scope>
  611.                 </dependency>
  612.  
  613.                 <dependency>
  614.                     <groupId>org.jboss.weld.servlet</groupId>
  615.                     <artifactId>weld-servlet-core</artifactId>
  616.                     <scope>provided</scope>
  617.                     <version>${weld.version}</version>
  618.                 </dependency>
  619.  
  620.                 <dependency>
  621.                     <groupId>org.jboss.weld</groupId>
  622.                     <artifactId>weld-core</artifactId>
  623.                     <scope>provided</scope>
  624.                     <version>${weld.version}</version>
  625.                 </dependency>
  626.  
  627.                 <dependency>
  628.                     <groupId>org.jboss.weld.se</groupId>
  629.                     <artifactId>weld-se-core</artifactId>
  630.                     <scope>provided</scope>
  631.                     <version>${weld.version}</version>
  632.                 </dependency>
  633.  
  634.                 <dependency>
  635.                     <groupId>org.jboss.weld</groupId>
  636.                     <artifactId>weld-spi</artifactId>
  637.                     <scope>provided</scope>
  638.                     <version>1.1.Final</version>
  639.                 </dependency>
  640.  
  641.                 <dependency>
  642.                     <groupId>org.mortbay.jetty</groupId>
  643.                     <artifactId>jetty</artifactId>
  644.                     <version>${jetty.version}</version>
  645.                     <scope>provided</scope>
  646.                 </dependency>
  647.  
  648.                 <dependency>
  649.                     <groupId>org.mortbay.jetty</groupId>
  650.                     <artifactId>jetty-plus</artifactId>
  651.                     <scope>provided</scope>
  652.                     <version>${jetty.version}</version>
  653.                 </dependency>
  654.  
  655.                 <dependency>
  656.                     <groupId>org.mortbay.jetty</groupId>
  657.                     <artifactId>jetty-naming</artifactId>
  658.                     <scope>provided</scope>
  659.                     <version>${jetty.version}</version>
  660.                 </dependency>
  661.  
  662.                 <dependency>
  663.                     <groupId>org.jboss.logging</groupId>
  664.                     <artifactId>jboss-logging</artifactId>
  665.                     <scope>provided</scope>
  666.                     <version>3.0.0.Beta4</version>
  667.                 </dependency>
  668.             </dependencies>
  669.         </profile>
  670.  
  671.         <profile>
  672.             <id>jboss7</id>
  673.             <properties>
  674.                 <webDescriptor>jboss7</webDescriptor>
  675.             </properties>
  676.  
  677.             <dependencies>
  678.                 <dependency>
  679.                     <groupId>org.jboss.errai</groupId>
  680.                     <artifactId>errai-bus</artifactId>
  681.                     <exclusions>
  682.                         <exclusion>
  683.                             <groupId>junit</groupId>
  684.                             <artifactId>junit</artifactId>
  685.                         </exclusion>
  686.                         <exclusion>
  687.                             <artifactId>javax.inject</artifactId>
  688.                             <groupId>javax.inject</groupId>
  689.                         </exclusion>
  690.                     </exclusions>
  691.                     <version>${errai.version}</version>
  692.                 </dependency>
  693.  
  694.                 <dependency>
  695.                     <groupId>xml-apis</groupId>
  696.                     <artifactId>xml-apis</artifactId>
  697.                     <version>1.0.b2</version>
  698.                     <scope>provided</scope>
  699.                 </dependency>
  700.  
  701.                 <dependency>
  702.                     <groupId>org.javassist</groupId>
  703.                     <artifactId>javassist</artifactId>
  704.                     <version>3.15.0-GA</version>
  705.                     <scope>provided</scope>
  706.                 </dependency>
  707.  
  708.                 <dependency>
  709.                     <groupId>org.jboss.errai</groupId>
  710.                     <artifactId>errai-tools</artifactId>
  711.                     <scope>provided</scope>
  712.                     <version>${errai.version}</version>
  713.                 </dependency>
  714.  
  715.                 <dependency>
  716.                     <groupId>org.jboss.errai</groupId>
  717.                     <artifactId>errai-javax-enterprise</artifactId>
  718.                     <version>${errai.version}</version>
  719.                     <scope>provided</scope>
  720.                 </dependency>
  721.  
  722.                 <!-- Exclude development tools -->
  723.                 <dependency>
  724.                     <groupId>org.jboss.errai</groupId>
  725.                     <artifactId>errai-cdi-jetty</artifactId>
  726.                     <version>${errai.version}</version>
  727.                     <scope>provided</scope>
  728.                 </dependency>
  729.  
  730.                 <dependency>
  731.                     <groupId>org.jboss.weld.servlet</groupId>
  732.                     <artifactId>weld-servlet-core</artifactId>
  733.                     <version>${weld.version}</version>
  734.                     <scope>provided</scope>
  735.                 </dependency>
  736.  
  737.                 <dependency>
  738.                     <groupId>org.jboss.weld</groupId>
  739.                     <artifactId>weld-core</artifactId>
  740.                     <version>${weld.version}</version>
  741.                     <scope>provided</scope>
  742.                 </dependency>
  743.  
  744.                 <dependency>
  745.                     <groupId>org.jboss.weld.se</groupId>
  746.                     <artifactId>weld-se-core</artifactId>
  747.                     <scope>provided</scope>
  748.                     <version>${weld.version}</version>
  749.                 </dependency>
  750.  
  751.                 <!-- Jetty is used for testing only -->
  752.                 <dependency>
  753.                     <groupId>org.mortbay.jetty</groupId>
  754.                     <artifactId>jetty</artifactId>
  755.                     <version>${jetty.version}</version>
  756.                     <scope>provided</scope>
  757.                 </dependency>
  758.  
  759.                 <dependency>
  760.                     <groupId>org.mortbay.jetty</groupId>
  761.                     <artifactId>jetty-plus</artifactId>
  762.                     <scope>provided</scope>
  763.                     <version>${jetty.version}</version>
  764.                 </dependency>
  765.  
  766.                 <dependency>
  767.                     <groupId>org.mortbay.jetty</groupId>
  768.                     <artifactId>jetty-naming</artifactId>
  769.                     <scope>provided</scope>
  770.                     <version>${jetty.version}</version>
  771.                 </dependency>
  772.  
  773.                 <dependency>
  774.                     <groupId>org.jboss.resteasy</groupId>
  775.                     <artifactId>resteasy-jaxrs</artifactId>
  776.                     <version>2.3.2.Final</version>
  777.                     <scope>provided</scope>
  778.                 </dependency>
  779.                 <!-- Jackson JSON marshaler for rest client -->
  780.                 <dependency>
  781.                     <groupId>org.jboss.resteasy</groupId>
  782.                     <artifactId>resteasy-jackson-provider</artifactId>
  783.                     <version>2.3.2.Final</version>
  784.                     <scope>provided</scope>
  785.                 </dependency>
  786.                 <dependency>
  787.                     <groupId>com.google.gwt</groupId>
  788.                     <artifactId>gwt-dev</artifactId>
  789.                     <version>${gwt.version}</version>
  790.                 </dependency>
  791.             </dependencies>
  792.             <build>
  793.                 <plugins>
  794.                     <plugin>
  795.                         <groupId>org.codehaus.mojo</groupId>
  796.                         <artifactId>gwt-maven-plugin</artifactId>
  797.                         <version>${gwt.maven.version}</version>
  798.                         <executions>
  799.                             <execution>
  800.                                 <goals>
  801.                                     <goal>resources</goal>
  802.                                     <goal>compile</goal>
  803.                                 </goals>
  804.                             </execution>
  805.                         </executions>
  806.                         <configuration>
  807.  
  808.                             <logLevel>WARN</logLevel>
  809.                             <runTarget>App.html</runTarget>
  810.  
  811.                             <extraJvmArgs>-Xmx712m -XX:CompileThreshold=7000 -XX:MaxPermSize=128M -Derrai.jboss.home=${errai.jboss.home} -Derrai.jboss.javaagent.path=${settings.localRepository}/org/jboss/errai/errai-client-local-class-hider/${errai.version}/errai-client-local-class-hider-${errai.version}.jar</extraJvmArgs>
  812.                             <logLevel>INFO</logLevel>
  813.                             <noServer>false</noServer>
  814.                             <server>org.jboss.errai.cdi.server.gwt.JBossLauncher</server>
  815.                             <disableCastChecking>true</disableCastChecking>
  816.  
  817.                             <soyc>false</soyc>
  818.                             <hostedWebapp>src/main/webapp</hostedWebapp>
  819.                             <compileSourcesArtifacts>
  820.                                 <compileSourcesArtifact>org.drools:guvnor-api</compileSourcesArtifact>
  821.                                 <compileSourcesArtifact>org.drools:droolsjbpm-ide-common</compileSourcesArtifact>
  822.                                 <compileSourcesArtifact>com.magick:models</compileSourcesArtifact>
  823.                             </compileSourcesArtifacts>
  824.                             <!-- The GWT compiler must the correct JDT version -->
  825.                             <!-- drools-compiler has dependency on org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile -->
  826.                             <gwtSdkFirstInClasspath>true</gwtSdkFirstInClasspath>
  827.                         </configuration>
  828.                     </plugin>
  829.                 </plugins>
  830.             </build>
  831.         </profile>
  832.  
  833.         <!-- Begin OpenShift Express Profiles -->
  834.         <profile>
  835.             <id>openshift</id>
  836.             <properties>
  837.                 <webDescriptor>jboss7</webDescriptor>
  838.             </properties>
  839.  
  840.             <dependencies>
  841.                 <!-- All errai package are installed with the service archive -->
  842.                 <dependency>
  843.                     <groupId>org.jboss.errai</groupId>
  844.                     <artifactId>errai-bus</artifactId>
  845.                     <exclusions>
  846.  
  847.                         <exclusion>
  848.                             <groupId>junit</groupId>
  849.                             <artifactId>junit</artifactId>
  850.                         </exclusion>
  851.  
  852.                         <exclusion>
  853.                             <artifactId>javax.inject</artifactId>
  854.                             <groupId>javax.inject</groupId>
  855.                         </exclusion>
  856.                     </exclusions>
  857.                     <version>${errai.version}</version>
  858.                 </dependency>
  859.  
  860.                 <dependency>
  861.                     <groupId>xml-apis</groupId>
  862.                     <artifactId>xml-apis</artifactId>
  863.                     <version>1.0.b2</version>
  864.                     <scope>provided</scope>
  865.                 </dependency>
  866.  
  867.                 <dependency>
  868.                     <groupId>org.javassist</groupId>
  869.                     <artifactId>javassist</artifactId>
  870.                     <version>3.15.0-GA</version>
  871.                     <scope>provided</scope>
  872.                 </dependency>
  873.  
  874.                 <dependency>
  875.                     <groupId>org.mvel</groupId>
  876.                     <artifactId>mvel2</artifactId>
  877.                     <version>${mvel.version}</version>
  878.                 </dependency>
  879.  
  880.                 <dependency>
  881.                     <groupId>org.jboss.errai</groupId>
  882.                     <artifactId>errai-ioc</artifactId>
  883.                     <exclusions>
  884.                         <exclusion>
  885.                             <artifactId>jsr250-api</artifactId>
  886.                             <groupId>javax.annotation</groupId>
  887.                         </exclusion>
  888.                         <exclusion>
  889.                             <artifactId>javax.inject</artifactId>
  890.                             <groupId>javax.inject</groupId>
  891.                         </exclusion>
  892.                     </exclusions>
  893.                     <scope>compile</scope>
  894.                     <version>${errai.version}</version>
  895.                 </dependency>
  896.  
  897.                 <dependency>
  898.                     <groupId>org.jboss.errai</groupId>
  899.                     <artifactId>errai-tools</artifactId>
  900.                     <scope>provided</scope>
  901.                     <version>${errai.version}</version>
  902.                 </dependency>
  903.  
  904.                 <dependency>
  905.                     <groupId>org.jboss.errai</groupId>
  906.                     <artifactId>errai-cdi-client</artifactId>
  907.                     <version>${errai.version}</version>
  908.                     <!--<scope>provided</scope> -->
  909.                 </dependency>
  910.  
  911.                 <dependency>
  912.                     <groupId>org.jboss.errai</groupId>
  913.                     <artifactId>errai-javax-enterprise</artifactId>
  914.                     <version>${errai.version}</version>
  915.                     <scope>provided</scope>
  916.                 </dependency>
  917.  
  918.                 <dependency>
  919.                     <groupId>org.jboss.errai</groupId>
  920.                     <artifactId>errai-weld-integration</artifactId>
  921.                     <version>${errai.version}</version>
  922.                 </dependency>
  923.                 <!-- Exclude development tools -->
  924.                 <dependency>
  925.                     <groupId>org.jboss.errai</groupId>
  926.                     <artifactId>errai-cdi-jetty</artifactId>
  927.                     <version>${errai.version}</version>
  928.                     <scope>provided</scope>
  929.                 </dependency>
  930.  
  931.                 <!-- Weld is installed within JBoss -->
  932.                 <dependency>
  933.                     <groupId>org.glassfish.web</groupId>
  934.                     <artifactId>el-impl</artifactId>
  935.                     <version>${uel.impl.version}</version>
  936.                     <scope>provided</scope>
  937.                 </dependency>
  938.  
  939.                 <dependency>
  940.                     <groupId>org.jboss.weld.servlet</groupId>
  941.                     <artifactId>weld-servlet-core</artifactId>
  942.                     <scope>provided</scope>
  943.                     <version>${weld.version}</version>
  944.                 </dependency>
  945.  
  946.                 <dependency>
  947.                     <groupId>org.jboss.weld</groupId>
  948.                     <artifactId>weld-core</artifactId>
  949.                     <scope>provided</scope>
  950.                     <version>${weld.version}</version>
  951.                 </dependency>
  952.  
  953.                 <dependency>
  954.                     <groupId>org.jboss.weld.se</groupId>
  955.                     <artifactId>weld-se-core</artifactId>
  956.                     <scope>provided</scope>
  957.                     <version>${weld.version}</version>
  958.                 </dependency>
  959.  
  960.                 <dependency>
  961.                     <groupId>org.jboss.weld</groupId>
  962.                     <artifactId>weld-spi</artifactId>
  963.                     <scope>provided</scope>
  964.                     <version>1.1.Final</version>
  965.                 </dependency>
  966.  
  967.                 <!-- Jetty is used for testing only -->
  968.                 <dependency>
  969.                     <groupId>org.mortbay.jetty</groupId>
  970.                     <artifactId>jetty</artifactId>
  971.                     <version>${jetty.version}</version>
  972.                     <scope>provided</scope>
  973.                 </dependency>
  974.  
  975.                 <dependency>
  976.                     <groupId>org.mortbay.jetty</groupId>
  977.                     <artifactId>jetty-plus</artifactId>
  978.                     <scope>provided</scope>
  979.                     <version>${jetty.version}</version>
  980.                 </dependency>
  981.  
  982.                 <dependency>
  983.                     <groupId>org.mortbay.jetty</groupId>
  984.                     <artifactId>jetty-naming</artifactId>
  985.                     <scope>provided</scope>
  986.                     <version>${jetty.version}</version>
  987.                 </dependency>
  988.  
  989.             </dependencies>
  990.  
  991.             <build>
  992.                 <plugins>
  993.                     <plugin>
  994.                         <artifactId>maven-war-plugin</artifactId>
  995.                         <version>2.1.1</version>
  996.                         <configuration>
  997.                             <warSourceDirectory>src/main/webapp/</warSourceDirectory>
  998.                             <webappDirectory>src/main/webapp/</webappDirectory>
  999.                             <webXml>src/jetty/web.xml</webXml>
  1000.                             <outputFileNameMapping>@{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping>
  1001.                             <packagingExcludes>**/javax/**/*.*,**/client/local/**/*.class</packagingExcludes>
  1002.                             <outputDirectory>deployments</outputDirectory>
  1003.                         </configuration>
  1004.                     </plugin>
  1005.  
  1006.                     <plugin>
  1007.                         <groupId>org.apache.maven.plugins</groupId>
  1008.                         <artifactId>maven-antrun-plugin</artifactId>
  1009.                         <version>1.2</version>
  1010.                         <executions>
  1011.                             <execution>
  1012.                                 <id>jboss.package</id>
  1013.                                 <phase>prepare-package</phase>
  1014.                                 <configuration>
  1015.                                     <tasks>
  1016.                                         <copy file="src/jboss/web.xml" toDir="src/main/webapp/WEB-INF"
  1017.                                             overwrite="true" />
  1018.  
  1019.                                         <delete file="src/main/webapp/WEB-INF/jetty-env.xml" />
  1020.                                         <delete file="src/main/webapp/WEB-INF/classes/jndi.properties" />
  1021.  
  1022.                                         <copy todir="src/main/webapp/app/">
  1023.                                             <fileset dir="war.cache/app/" />
  1024.                                         </copy>
  1025.                                     </tasks>
  1026.                                 </configuration>
  1027.                                 <goals>
  1028.                                     <goal>run</goal>
  1029.                                 </goals>
  1030.                             </execution>
  1031.                         </executions>
  1032.                     </plugin>
  1033.  
  1034.                     <plugin>
  1035.                         <groupId>org.codehaus.mojo</groupId>
  1036.                         <artifactId>gwt-maven-plugin</artifactId>
  1037.                         <version>${gwt.maven.version}</version>
  1038.                         <configuration>
  1039.                             <skip>true</skip>
  1040.                         </configuration>
  1041.                     </plugin>
  1042.                 </plugins>
  1043.             </build>
  1044.         </profile>
  1045.  
  1046.         <profile>
  1047.             <id>openshift-prepare</id>
  1048.             <properties>
  1049.                 <webDescriptor>jboss7</webDescriptor>
  1050.             </properties>
  1051.  
  1052.             <dependencies>
  1053.                 <!-- All errai package are installed with the service archive -->
  1054.                 <dependency>
  1055.                     <groupId>org.jboss.errai</groupId>
  1056.                     <artifactId>errai-bus</artifactId>
  1057.                     <exclusions>
  1058.  
  1059.                         <exclusion>
  1060.                             <groupId>junit</groupId>
  1061.                             <artifactId>junit</artifactId>
  1062.                         </exclusion>
  1063.  
  1064.                         <exclusion>
  1065.                             <artifactId>javax.inject</artifactId>
  1066.                             <groupId>javax.inject</groupId>
  1067.                         </exclusion>
  1068.                     </exclusions>
  1069.                     <version>${errai.version}</version>
  1070.                 </dependency>
  1071.  
  1072.                 <dependency>
  1073.                     <groupId>xml-apis</groupId>
  1074.                     <artifactId>xml-apis</artifactId>
  1075.                     <version>1.0.b2</version>
  1076.                     <scope>provided</scope>
  1077.                 </dependency>
  1078.  
  1079.                 <dependency>
  1080.                     <groupId>org.javassist</groupId>
  1081.                     <artifactId>javassist</artifactId>
  1082.                     <version>3.15.0-GA</version>
  1083.                     <scope>provided</scope>
  1084.                 </dependency>
  1085.  
  1086.                 <dependency>
  1087.                     <groupId>org.mvel</groupId>
  1088.                     <artifactId>mvel2</artifactId>
  1089.                     <version>${mvel.version}</version>
  1090.                 </dependency>
  1091.  
  1092.                 <dependency>
  1093.                     <groupId>org.jboss.errai</groupId>
  1094.                     <artifactId>errai-ioc</artifactId>
  1095.                     <exclusions>
  1096.                         <exclusion>
  1097.                             <artifactId>jsr250-api</artifactId>
  1098.                             <groupId>javax.annotation</groupId>
  1099.                         </exclusion>
  1100.                         <exclusion>
  1101.                             <artifactId>javax.inject</artifactId>
  1102.                             <groupId>javax.inject</groupId>
  1103.                         </exclusion>
  1104.                     </exclusions>
  1105.                     <scope>compile</scope>
  1106.                     <version>${errai.version}</version>
  1107.                 </dependency>
  1108.  
  1109.                 <dependency>
  1110.                     <groupId>org.jboss.errai</groupId>
  1111.                     <artifactId>errai-tools</artifactId>
  1112.                     <scope>provided</scope>
  1113.                     <version>${errai.version}</version>
  1114.                 </dependency>
  1115.  
  1116.                 <dependency>
  1117.                     <groupId>org.jboss.errai</groupId>
  1118.                     <artifactId>errai-cdi-client</artifactId>
  1119.                     <version>${errai.version}</version>
  1120.                     <!--<scope>provided</scope> -->
  1121.                 </dependency>
  1122.  
  1123.                 <dependency>
  1124.                     <groupId>org.jboss.errai</groupId>
  1125.                     <artifactId>errai-javax-enterprise</artifactId>
  1126.                     <version>${errai.version}</version>
  1127.                     <scope>provided</scope>
  1128.                 </dependency>
  1129.  
  1130.                 <dependency>
  1131.                     <groupId>org.jboss.errai</groupId>
  1132.                     <artifactId>errai-weld-integration</artifactId>
  1133.                     <version>${errai.version}</version>
  1134.                 </dependency>
  1135.                 <!-- Exclude development tools -->
  1136.                 <dependency>
  1137.                     <groupId>org.jboss.errai</groupId>
  1138.                     <artifactId>errai-cdi-jetty</artifactId>
  1139.                     <version>${errai.version}</version>
  1140.                     <scope>provided</scope>
  1141.                 </dependency>
  1142.  
  1143.                 <!-- Weld is installed within JBoss -->
  1144.                 <dependency>
  1145.                     <groupId>org.glassfish.web</groupId>
  1146.                     <artifactId>el-impl</artifactId>
  1147.                     <version>${uel.impl.version}</version>
  1148.                     <scope>provided</scope>
  1149.                 </dependency>
  1150.  
  1151.                 <dependency>
  1152.                     <groupId>org.jboss.weld.servlet</groupId>
  1153.                     <artifactId>weld-servlet-core</artifactId>
  1154.                     <scope>provided</scope>
  1155.                     <version>${weld.version}</version>
  1156.                 </dependency>
  1157.  
  1158.                 <dependency>
  1159.                     <groupId>org.jboss.weld</groupId>
  1160.                     <artifactId>weld-core</artifactId>
  1161.                     <scope>provided</scope>
  1162.                     <version>${weld.version}</version>
  1163.                 </dependency>
  1164.  
  1165.                 <dependency>
  1166.                     <groupId>org.jboss.weld.se</groupId>
  1167.                     <artifactId>weld-se-core</artifactId>
  1168.                     <scope>provided</scope>
  1169.                     <version>${weld.version}</version>
  1170.                 </dependency>
  1171.  
  1172.                 <dependency>
  1173.                     <groupId>org.jboss.weld</groupId>
  1174.                     <artifactId>weld-spi</artifactId>
  1175.                     <scope>provided</scope>
  1176.                     <version>1.1.Final</version>
  1177.                 </dependency>
  1178.  
  1179.                 <!-- Jetty is used for testing only -->
  1180.                 <dependency>
  1181.                     <groupId>org.mortbay.jetty</groupId>
  1182.                     <artifactId>jetty</artifactId>
  1183.                     <version>${jetty.version}</version>
  1184.                     <scope>provided</scope>
  1185.                 </dependency>
  1186.  
  1187.                 <dependency>
  1188.                     <groupId>org.mortbay.jetty</groupId>
  1189.                     <artifactId>jetty-plus</artifactId>
  1190.                     <scope>provided</scope>
  1191.                     <version>${jetty.version}</version>
  1192.                 </dependency>
  1193.  
  1194.                 <dependency>
  1195.                     <groupId>org.mortbay.jetty</groupId>
  1196.                     <artifactId>jetty-naming</artifactId>
  1197.                     <scope>provided</scope>
  1198.                     <version>${jetty.version}</version>
  1199.                 </dependency>
  1200.             </dependencies>
  1201.  
  1202.             <build>
  1203.                 <plugins>
  1204.                     <plugin>
  1205.                         <artifactId>maven-war-plugin</artifactId>
  1206.                         <version>2.1.1</version>
  1207.                         <configuration>
  1208.                             <warSourceDirectory>war.cache</warSourceDirectory>
  1209.                             <webappDirectory>war.cache</webappDirectory>
  1210.                             <webXml>src/jetty/web.xml</webXml>
  1211.                             <outputFileNameMapping>@{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping>
  1212.                             <packagingExcludes>**/javax/**/*.*,**/client/local/**/*.class</packagingExcludes>
  1213.  
  1214.                             <archive>
  1215.                                 <manifestEntries>
  1216.                                     <Dependencies>org.jboss.as.naming,org.jboss.as.server,org.jboss.msc</Dependencies>
  1217.                                 </manifestEntries>
  1218.                             </archive>
  1219.                         </configuration>
  1220.                     </plugin>
  1221.  
  1222.                     <plugin>
  1223.                         <groupId>org.apache.maven.plugins</groupId>
  1224.                         <artifactId>maven-antrun-plugin</artifactId>
  1225.                         <version>1.2</version>
  1226.                         <executions>
  1227.                             <execution>
  1228.                                 <id>jboss.package</id>
  1229.                                 <phase>prepare-package</phase>
  1230.                                 <configuration>
  1231.                                     <tasks>
  1232.                                         <copy file="src/jboss/web.xml" toDir="src/main/webapp/WEB-INF"
  1233.                                             overwrite="true" />
  1234.  
  1235.                                         <delete file="src/main/webapp/WEB-INF/jetty-env.xml" />
  1236.  
  1237.                                         <delete file="src/main/webapp/WEB-INF/classes/jndi.properties" />
  1238.  
  1239.                                         <copy todir="war.cache/app/">
  1240.                                             <fileset dir="src/main/webapp/app/" />
  1241.                                         </copy>
  1242.  
  1243.                                         <exec executable="git">
  1244.                                             <arg value="add" />
  1245.                                             <arg value="war.cache" />
  1246.                                         </exec>
  1247.  
  1248.                                         <exec executable="git">
  1249.                                             <arg value="commit" />
  1250.                                             <arg value="-a" />
  1251.                                             <arg value="-m" />
  1252.                                             <arg value="'commit war.cache'" />
  1253.                                         </exec>
  1254.  
  1255.                                         <echo message="Openshift Prepared!" />
  1256.                                     </tasks>
  1257.                                 </configuration>
  1258.                                 <goals>
  1259.                                     <goal>run</goal>
  1260.                                 </goals>
  1261.                             </execution>
  1262.                         </executions>
  1263.                     </plugin>
  1264.                 </plugins>
  1265.             </build>
  1266.         </profile>
  1267.  
  1268.         <!-- Begin Tomcat 6 and 7 support -->
  1269.         <profile>
  1270.             <id>tomcat</id>
  1271.             <properties>
  1272.                 <webDescriptor>tomcat</webDescriptor>
  1273.             </properties>
  1274.         </profile>
  1275.  
  1276.         <!-- Profile that must be enabled when running integration tests (any test
  1277.             that extends GWTTestCase directly or indirectly) -->
  1278.         <profile>
  1279.             <id>integration-test</id>
  1280.             <properties>
  1281.                 <profile.testOutputDirectory>src/main/webapp/WEB-INF/classes</profile.testOutputDirectory>
  1282.                 <webDescriptor>jetty</webDescriptor>
  1283.             </properties>
  1284.  
  1285.             <build>
  1286.                 <testResources>
  1287.                     <testResource>
  1288.                         <directory>src/test/java</directory>
  1289.                     </testResource>
  1290.                     <testResource>
  1291.                         <directory>src/test/resources</directory>
  1292.                     </testResource>
  1293.                 </testResources>
  1294.                 <plugins>
  1295.                     <plugin>
  1296.                         <artifactId>maven-surefire-plugin</artifactId>
  1297.                         <version>2.5</version>
  1298.                         <configuration>
  1299.                             <skipTests>false</skipTests>
  1300.                             <additionalClasspathElements>
  1301.                                 <additionalClasspathElement>${basedir}/${profile.testOutputDirectory}/
  1302.                                 </additionalClasspathElement>
  1303.                                 <additionalClasspathElement>${basedir}/src/test/java/</additionalClasspathElement>
  1304.                                 <additionalClasspathElement>${basedir}/src/main/java/</additionalClasspathElement>
  1305.                             </additionalClasspathElements>
  1306.                             <useManifestOnlyJar>false</useManifestOnlyJar>
  1307.                             <forkMode>pertest</forkMode>
  1308.  
  1309.                             <!-- Note: to run the test in a real browser, set -DargLine='-Dgwt.args="-runStyle
  1310.                                 Manual:1"' -->
  1311.                            
  1312.                             <argLine>-XX:-UseSplitVerifier -Xmx512m ${argLine}</argLine>
  1313.  
  1314.  
  1315.                             <systemProperties>
  1316.                                 <!-- Must disable long polling for automated tests to succeed -->
  1317.                                 <property>
  1318.                                     <name>errai.hosted_mode_testing</name>
  1319.                                     <value>true</value>
  1320.                                 </property>
  1321.                                 <property>
  1322.                                     <name>gwt.args</name>
  1323.                                     <value>-war src/main/webapp</value>
  1324.                                 </property>
  1325.                             </systemProperties>
  1326.                         </configuration>
  1327.                     </plugin>
  1328.                 </plugins>
  1329.             </build>
  1330.  
  1331.             <dependencies>
  1332.                 <dependency>
  1333.                     <groupId>javax.servlet</groupId>
  1334.                     <artifactId>servlet-api</artifactId>
  1335.                     <version>2.5</version>
  1336.                     <scope>provided</scope>
  1337.                 </dependency>
  1338.                 <dependency>
  1339.                     <groupId>javax.servlet</groupId>
  1340.                     <artifactId>jsp-api</artifactId>
  1341.                     <version>2.0</version>
  1342.                     <scope>provided</scope>
  1343.                 </dependency>
  1344.                 <dependency>
  1345.                     <groupId>log4j</groupId>
  1346.                     <artifactId>log4j</artifactId>
  1347.                     <version>1.2.16</version>
  1348.                 </dependency>
  1349.                 <dependency>
  1350.                     <groupId>junit</groupId>
  1351.                     <artifactId>junit</artifactId>
  1352.                     <version>4.8.1</version>
  1353.                     <scope>compile</scope>
  1354.                 </dependency>
  1355.                 <dependency>
  1356.                     <groupId>org.jboss.ejb3</groupId>
  1357.                     <artifactId>jboss-ejb3-api</artifactId>
  1358.                     <scope>provided</scope>
  1359.                     <version>3.1.0</version>
  1360.                 </dependency>
  1361.  
  1362.                 <!-- Errai Core -->
  1363.                 <dependency>
  1364.                     <groupId>org.jboss.errai</groupId>
  1365.                     <artifactId>errai-bus</artifactId>
  1366.                     <version>${errai.version}</version>
  1367.                 </dependency>
  1368.                 <dependency>
  1369.                     <groupId>org.jboss.errai</groupId>
  1370.                     <artifactId>errai-ioc</artifactId>
  1371.                     <version>${errai.version}</version>
  1372.                     <exclusions>
  1373.                         <exclusion>
  1374.                             <groupId>javax.inject</groupId>
  1375.                             <artifactId>javax.inject</artifactId>
  1376.                         </exclusion>
  1377.                         <exclusion>
  1378.                             <groupId>javax.annotation</groupId>
  1379.                             <artifactId>jsr250-api</artifactId>
  1380.                         </exclusion>
  1381.                     </exclusions>
  1382.                 </dependency>
  1383.  
  1384.                 <dependency>
  1385.                     <groupId>org.jboss.errai</groupId>
  1386.                     <artifactId>errai-cdi-client</artifactId>
  1387.                     <version>${errai.version}</version>
  1388.                     <scope>compile</scope>
  1389.                 </dependency>
  1390.  
  1391.                 <dependency>
  1392.                     <groupId>org.jboss.errai</groupId>
  1393.                     <artifactId>errai-tools</artifactId>
  1394.                     <version>${errai.version}</version>
  1395.                 </dependency>
  1396.                 <dependency>
  1397.                     <groupId>org.mvel</groupId>
  1398.                     <artifactId>mvel2</artifactId>
  1399.                     <version>${mvel.version}</version>
  1400.                 </dependency>
  1401.  
  1402.                 <dependency>
  1403.                     <groupId>org.jboss.errai</groupId>
  1404.                     <artifactId>errai-cdi-jetty</artifactId>
  1405.                     <version>${errai.version}</version>
  1406.                 </dependency>
  1407.  
  1408.                 <!-- CDI Development Utils -->
  1409.                 <!-- This must be placed above com.google.gwt:gwt-dev to override the
  1410.                     Jetty that is present there -->
  1411.                 <dependency>
  1412.                     <groupId>org.mortbay.jetty</groupId>
  1413.                     <artifactId>jetty</artifactId>
  1414.                     <version>${jetty.version}</version>
  1415.                     <scope>compile</scope>
  1416.                 </dependency>
  1417.                 <dependency>
  1418.                     <groupId>org.mortbay.jetty</groupId>
  1419.                     <artifactId>jetty-plus</artifactId>
  1420.                     <version>${jetty.version}</version>
  1421.                     <scope>compile</scope>
  1422.                 </dependency>
  1423.                 <dependency>
  1424.                     <groupId>org.mortbay.jetty</groupId>
  1425.                     <artifactId>jetty-naming</artifactId>
  1426.                     <version>${jetty.version}</version>
  1427.                     <scope>compile</scope>
  1428.                 </dependency>
  1429.  
  1430.                 <!-- Weld Modules -->
  1431.                 <dependency>
  1432.                     <groupId>org.jboss.weld.se</groupId>
  1433.                     <artifactId>weld-se-core</artifactId>
  1434.                     <version>${weld.version}</version>
  1435.                     <scope>compile</scope>
  1436.                 </dependency>
  1437.                 <dependency>
  1438.                     <groupId>org.jboss.weld.servlet</groupId>
  1439.                     <artifactId>weld-servlet-core</artifactId>
  1440.                     <version>${weld.version}</version>
  1441.                     <scope>compile</scope>
  1442.                 </dependency>
  1443.                 <dependency>
  1444.                     <groupId>org.glassfish.web</groupId>
  1445.                     <artifactId>el-impl</artifactId>
  1446.                     <scope>runtime</scope>
  1447.                     <version>2.1.2-b04</version>
  1448.                 </dependency>
  1449.  
  1450.                 <!-- GWT and GWT Extensions -->
  1451.                 <dependency>
  1452.                     <groupId>com.google.gwt</groupId>
  1453.                     <artifactId>gwt-user</artifactId>
  1454.                     <version>${gwt.version}</version>
  1455.                     <scope>compile</scope>
  1456.                 </dependency>
  1457.  
  1458.                 <dependency>
  1459.                     <groupId>com.google.gwt</groupId>
  1460.                     <artifactId>gwt-dev</artifactId>
  1461.                     <version>${gwt.version}</version>
  1462.                     <scope>compile</scope>
  1463.                 </dependency>
  1464.  
  1465.                 <dependency>
  1466.                     <groupId>javax.validation</groupId>
  1467.                     <artifactId>validation-api</artifactId>
  1468.                     <version>1.0.0.GA</version>
  1469.                     <scope>compile</scope>
  1470.                 </dependency>
  1471.  
  1472.                 <dependency>
  1473.                     <groupId>javax.validation</groupId>
  1474.                     <artifactId>validation-api</artifactId>
  1475.                     <version>1.0.0.GA</version>
  1476.                     <classifier>sources</classifier>
  1477.                     <scope>compile</scope>
  1478.                 </dependency>
  1479.  
  1480.                 <!-- Runtime / Container dependencies -->
  1481.                 <dependency>
  1482.                     <groupId>org.slf4j</groupId>
  1483.                     <artifactId>slf4j-api</artifactId>
  1484.                     <version>${slf4j.version}</version>
  1485.                 </dependency>
  1486.  
  1487.                 <dependency>
  1488.                     <groupId>org.jboss</groupId>
  1489.                     <artifactId>jboss-common-core</artifactId>
  1490.                     <version>2.2.14.GA</version>
  1491.                 </dependency>
  1492.  
  1493.                 <dependency>
  1494.                     <groupId>org.jboss.errai</groupId>
  1495.                     <artifactId>errai-javax-enterprise</artifactId>
  1496.                     <version>${errai.version}</version>
  1497.                     <scope>provided</scope>
  1498.                 </dependency>
  1499.  
  1500.             </dependencies>
  1501.         </profile>
  1502.     </profiles>
  1503.     <build>
  1504.         <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
  1505.  
  1506.         <plugins>
  1507.             <plugin>
  1508.                 <groupId>org.apache.maven.plugins</groupId>
  1509.                 <artifactId>maven-compiler-plugin</artifactId>
  1510.                 <version>3.1</version>
  1511.                 <configuration>
  1512.                     <source>${java.version}</source>
  1513.                     <target>${java.version}</target>
  1514.                 </configuration>
  1515.             </plugin>
  1516.             <plugin>
  1517.                 <groupId>org.codehaus.mojo</groupId>
  1518.                 <artifactId>gwt-maven-plugin</artifactId>
  1519.                 <version>${gwt.maven.version}</version>
  1520.  
  1521.                 <configuration>
  1522.  
  1523.                     <logLevel>WARN</logLevel>
  1524.                     <runTarget>App.html</runTarget>
  1525.  
  1526.                     <extraJvmArgs>-Xmx712m -XX:CompileThreshold=7000 -XX:MaxPermSize=128M -Derrai.jboss.home=${errai.jboss.home} -Derrai.jboss.javaagent.path=${settings.localRepository}/org/jboss/errai/errai-client-local-class-hider/${errai.version}/errai-client-local-class-hider-${errai.version}.jar</extraJvmArgs>
  1527.                     <logLevel>INFO</logLevel>
  1528.                     <noServer>false</noServer>
  1529.                     <server>org.jboss.errai.cdi.server.gwt.JBossLauncher</server>
  1530.                     <disableCastChecking>true</disableCastChecking>
  1531.  
  1532.                     <soyc>false</soyc>
  1533.                     <hostedWebapp>src/main/webapp/</hostedWebapp>
  1534.                     <compileSourcesArtifacts>
  1535.                         <compileSourcesArtifact>org.drools:guvnor-api</compileSourcesArtifact>
  1536.                         <compileSourcesArtifact>org.drools:droolsjbpm-ide-common</compileSourcesArtifact>
  1537.                         <compileSourcesArtifact>com.magick:models</compileSourcesArtifact>
  1538.                     </compileSourcesArtifacts>
  1539.                     <!-- The GWT compiler must the correct JDT version -->
  1540.                     <!-- drools-compiler has dependency on org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile -->
  1541.                     <gwtSdkFirstInClasspath>true</gwtSdkFirstInClasspath>
  1542.                 </configuration>
  1543.                 <executions>
  1544.                     <execution>
  1545.                         <id>gwt-clean</id>
  1546.                         <phase>clean</phase>
  1547.                         <goals>
  1548.                             <goal>clean</goal>
  1549.                         </goals>
  1550.                     </execution>
  1551.                     <execution>
  1552.                         <id>gwt-compile</id>
  1553.                         <goals>
  1554.                             <goal>resources</goal>
  1555.                             <goal>compile</goal>
  1556.                         </goals>
  1557.                     </execution>
  1558.                 </executions>
  1559.             </plugin>
  1560.             <plugin>
  1561.                 <artifactId>maven-war-plugin</artifactId>
  1562.                 <version>2.1.1</version>
  1563.                 <configuration>
  1564.                     <warName>${project.artifactId}</warName>
  1565.                     <outputFileNameMapping>@{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping>
  1566.                     <packagingExcludes>**/javax/**/*.*,**/client/local/**/*.class</packagingExcludes>
  1567.  
  1568.                     <webResources>
  1569.                         <resource>
  1570.                             <!-- this is relative to the pom.xml directory -->
  1571.                             <directory>src/${webDescriptor}</directory>
  1572.                         </resource>
  1573.                     </webResources>
  1574.                     <archive>
  1575.                         <manifestEntries>
  1576.                             <Dependencies>org.codehaus.jackson.jackson-core-asl,
  1577.                                 org.codehaus.jackson.jackson-mapper-asl</Dependencies>
  1578.                         </manifestEntries>
  1579.                     </archive>
  1580.                 </configuration>
  1581.             </plugin>
  1582.  
  1583.             <!-- Tests are skipped by default because they require additional GWT
  1584.                 dependencies. Run mvn with -Pintegration-test to enable testing. -->
  1585.             <plugin>
  1586.                 <artifactId>maven-surefire-plugin</artifactId>
  1587.                 <version>2.5</version>
  1588.                 <configuration>
  1589.  
  1590.                     <skipTests>${skip.tests}</skipTests>
  1591.                     <argLine>-XX:-UseSplitVerifier</argLine>
  1592.                     <excludes>
  1593.                         <exclude>**/integration/**.java</exclude>
  1594.                     </excludes>
  1595.                 </configuration>
  1596.             </plugin>
  1597.  
  1598.             <plugin>
  1599.                 <groupId>org.jboss.errai</groupId>
  1600.                 <artifactId>jacoco-gwt-maven-plugin</artifactId>
  1601.                 <version>0.5.4.201202141554</version>
  1602.  
  1603.                 <executions>
  1604.                     <execution>
  1605.                         <id>jacoco-gwt-prepare-agent</id>
  1606.                         <phase>initialize</phase>
  1607.                         <goals>
  1608.                             <goal>prepare-agent</goal>
  1609.                         </goals>
  1610.                     </execution>
  1611.                     <execution>
  1612.                         <id>jacoco-gwt-report</id>
  1613.                         <phase>site</phase>
  1614.                         <goals>
  1615.                             <goal>report</goal>
  1616.                         </goals>
  1617.                     </execution>
  1618.                 </executions>
  1619.             </plugin>
  1620.  
  1621.             <plugin>
  1622.                 <artifactId>maven-clean-plugin</artifactId>
  1623.                 <version>2.4.1</version>
  1624.                 <configuration>
  1625.                     <filesets>
  1626.                         <fileset>
  1627.                             <directory>${basedir}</directory>
  1628.                             <includes>
  1629.                                 <include>www-test/**</include>
  1630.                                 <include>.gwt/**</include>
  1631.                                 <include>.errai/**</include>
  1632.                                 <include>src/main/webapp/app/**</include>
  1633.                                 <include>src/main/webapp/WEB-INF/deploy/**</include>
  1634.                                 <include>src/main/webapp/WEB-INF/lib/**</include>
  1635.                                 <include>src/main/webapp/WEB-INF/classes/**</include>
  1636.                                 <include>**/gwt-unitCache/**</include>
  1637.                                 <include>**/*.JUnit/**</include>
  1638.                             </includes>
  1639.                         </fileset>
  1640.                     </filesets>
  1641.                 </configuration>
  1642.             </plugin>
  1643.             <!-- Jboss Application Server -->
  1644.             <plugin>
  1645.                 <groupId>org.jboss.as.plugins</groupId>
  1646.                 <artifactId>jboss-as-maven-plugin</artifactId>
  1647.                 <version>7.5.Final</version>
  1648.                 <configuration>
  1649.  
  1650.                     <filename>app.ui.war</filename>
  1651.                     <!-- Remote JBoss server configuration -->
  1652.                     <hostname>base.magick.nu</hostname>
  1653.                     <port>${jboss.port}</port>
  1654.                     <username>${jboss.username}</username>
  1655.                     <password>${jboss.password}</password>
  1656.                 </configuration>
  1657.             </plugin>
  1658.         </plugins>
  1659.  
  1660.         <pluginManagement>
  1661.             <plugins>
  1662.                 <plugin>
  1663.                     <groupId>org.eclipse.m2e</groupId>
  1664.                     <artifactId>lifecycle-mapping</artifactId>
  1665.                     <version>1.0.0</version>
  1666.                     <configuration>
  1667.                         <lifecycleMappingMetadata>
  1668.                             <pluginExecutions>
  1669.                                 <pluginExecution>
  1670.                                     <pluginExecutionFilter>
  1671.                                         <groupId>org.codehaus.mojo</groupId>
  1672.                                         <artifactId>gwt-maven-plugin</artifactId>
  1673.                                         <versionRange>[2.3.0,)</versionRange>
  1674.                                         <goals>
  1675.                                             <goal>resources</goal>
  1676.                                         </goals>
  1677.                                     </pluginExecutionFilter>
  1678.                                     <action>
  1679.                                         <execute />
  1680.                                     </action>
  1681.                                 </pluginExecution>
  1682.                                 <pluginExecution>
  1683.                                     <pluginExecutionFilter>
  1684.                                         <groupId>org.jboss.errai</groupId>
  1685.                                         <artifactId>jacoco-gwt-maven-plugin</artifactId>
  1686.                                         <versionRange>[0.0,)</versionRange>
  1687.                                         <goals>
  1688.                                             <goal>prepare-agent</goal>
  1689.                                         </goals>
  1690.                                     </pluginExecutionFilter>
  1691.                                     <action>
  1692.                                         <ignore />
  1693.                                     </action>
  1694.                                 </pluginExecution>
  1695.                             </pluginExecutions>
  1696.                         </lifecycleMappingMetadata>
  1697.                     </configuration>
  1698.                 </plugin>
  1699.             </plugins>
  1700.         </pluginManagement>
  1701.     </build>
  1702.  
  1703.     <!-- Repositories -->
  1704.     <repositories>
  1705.         <repository>
  1706.             <id>jboss-public-repository-group</id>
  1707.             <name>JBoss Public Maven Repository Group</name>
  1708.             <url>https://repository.jboss.org/nexus/content/groups/public/</url>
  1709.             <layout>default</layout>
  1710.             <releases>
  1711.                 <updatePolicy>never</updatePolicy>
  1712.             </releases>
  1713.             <snapshots>
  1714.                 <updatePolicy>never</updatePolicy>
  1715.             </snapshots>
  1716.         </repository>
  1717.         <repository>
  1718.             <id>plugins</id>
  1719.             <url>http://gwtquery-plugins.googlecode.com/svn/mavenrepo</url>
  1720.         </repository>
  1721.         <!-- Github hosting for Gwt-tour library (fork) -->
  1722.         <repository>
  1723.             <id>gwttour-mvn-repo</id>
  1724.             <url>https://raw.github.com/kerbymart/gwt-tour/mvn-repo/</url>
  1725.             <snapshots>
  1726.                 <enabled>true</enabled>
  1727.                 <updatePolicy>always</updatePolicy>
  1728.             </snapshots>
  1729.         </repository>
  1730.  
  1731.     </repositories>
  1732.  
  1733.     <pluginRepositories>
  1734.         <pluginRepository>
  1735.             <id>jboss-public-repository-group</id>
  1736.             <name>JBoss Public Maven Repository Group</name>
  1737.             <url>https://repository.jboss.org/nexus/content/groups/public/</url>
  1738.             <layout>default</layout>
  1739.             <releases>
  1740.                 <updatePolicy>never</updatePolicy>
  1741.             </releases>
  1742.             <snapshots>
  1743.                 <updatePolicy>never</updatePolicy>
  1744.             </snapshots>
  1745.         </pluginRepository>
  1746.     </pluginRepositories>
  1747.  
  1748.     <!-- DistributionManagement -->
  1749.     <distributionManagement>
  1750.         <repository>
  1751.             <id>jboss-releases-repository</id>
  1752.             <name>JBoss Releases Repository</name>
  1753.             <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
  1754.         </repository>
  1755.  
  1756.         <snapshotRepository>
  1757.             <id>jboss-snapshots-repository</id>
  1758.             <name>JBoss Snapshots Repository</name>
  1759.             <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
  1760.         </snapshotRepository>
  1761.     </distributionManagement></project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement