<?xml version="1.0"?>
<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/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
      <groupId>org.jboss.cache</groupId>
      <artifactId>jbosscache-common-parent</artifactId>
      <version>1.4</version>
   </parent>
   <groupId>org.jboss.cache</groupId>
   <artifactId>jbosscache-demo</artifactId>
   <version>1.2.GA</version>
   <name>JBoss Cache - Core Edition GUI Demo</name>
   <description>JBoss Cache - Core Edition GUI Demo</description>
   <packaging>jar</packaging>
   <dependencies>
      <dependency>
         <groupId>org.jboss.cache</groupId>
         <artifactId>jbosscache-core</artifactId>
         <version>3.0.3.GA</version>
      </dependency>
      <dependency>
         <groupId>jgoodies</groupId>
         <artifactId>forms</artifactId>
         <version>1.0.5</version>
      </dependency>
      <dependency>
         <groupId>com.intellij</groupId>
         <artifactId>forms_rt</artifactId>
         <version>6.0.5</version>
      </dependency>
      <dependency>
         <groupId>log4j</groupId>
         <artifactId>log4j</artifactId>
         <version>1.2.13</version>
      </dependency>
   </dependencies>

   <build>
      <plugins>
         <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>2.2-beta-1</version>
            <executions>
               <execution>
                  <id>assemble</id>
                  <phase>install</phase>
                  <goals>
                     <goal>attached</goal>
                  </goals>
                  <configuration>
                     <descriptors>
                        <descriptor>assembly.xml</descriptor>
                     </descriptors>
                     <finalName>${artifactId}-${version}</finalName>
                     <outputDirectory>target/distribution</outputDirectory>
                     <workDirectory>target/assembly/work</workDirectory>
                  </configuration>
               </execution>
            </executions>
         </plugin>

         <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>ideauidesigner-maven-plugin</artifactId>
            <executions>
               <execution>
                  <goals>
                     <goal>javac2</goal>
                  </goals>
               </execution>
            </executions>
            <configuration>
               <fork>true</fork>
               <debug>true</debug>
               <failOnError>true</failOnError>
            </configuration>
         </plugin>
      </plugins>
   </build>

   <!-- basic JBoss repository so that the common parent POM in jbosscache-support can be found -->
   <repositories>
      <repository>
         <id>repository.jboss.org</id>
         <url>http://repository.jboss.org/maven2</url>
      </repository>
      <repository>
         <id>snapshots.jboss.org</id>
         <url>http://snapshots.jboss.org/maven2</url>
      </repository>
   </repositories>
</project>
