<?xml version="1.0"?><project>
  <parent>
    <artifactId>crud</artifactId>
    <groupId>org.andromda.samples.crud</groupId>
    <version>3.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>crud-core</artifactId>
  <packaging>ejb</packaging>
  <name>AndroMDA CRUD Sample Core Business Tier</name>
  <version>3.2</version>
  <build>
    <resources>
      <resource>
        <directory>target/src</directory>
        <excludes>
          <exclude>**/*.java</exclude>
        </excludes>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.andromda.maven.plugins</groupId>
        <artifactId>andromda-multi-source-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.andromda.maven.plugins</groupId>
        <artifactId>andromdapp-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>schema</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <jdbcDriver>${jdbc.driver}</jdbcDriver>
          <jdbcDriverJar>${jdbc.driver.jar}</jdbcDriverJar>
          <jdbcConnectionUrl>${jdbc.url}</jdbcConnectionUrl>
          <jdbcUsername>${jdbc.username}</jdbcUsername>
          <jdbcPassword>${jdbc.password}</jdbcPassword>
          <properties>
            <property>
              <name>mappingsLocation</name>
              <value>${project.basedir}/target/src</value>
            </property>
            <property>
              <name>mappingFileExtension</name>
              <value>hbm.xml</value>
            </property>
            <property>
              <name>createOutputPath</name>
              <value>${project.basedir}/../app/target/schema-create.sql</value>
            </property>
            <property>
              <name>dropOutputPath</name>
              <value>${project.basedir}/../app/target/schema-drop.sql</value>
            </property>
          </properties>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-ejb-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
          <generateClient>true</generateClient>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>${pom.groupId}</groupId>
      <artifactId>crud-common</artifactId>
      <version>3.2</version>
    </dependency>
    <dependency>
      <groupId>org.andromda</groupId>
      <artifactId>andromda-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.andromda.translationlibraries</groupId>
      <artifactId>andromda-ocl-translation-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.andromda.translationlibraries</groupId>
      <artifactId>andromda-ocl-validation-library</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring</artifactId>
    </dependency>
    <dependency>
      <groupId>aopalliance</groupId>
      <artifactId>aopalliance</artifactId>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
    </dependency>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>jboss-j2ee</artifactId>
    </dependency>
    <dependency>
      <groupId>org.andromda</groupId>
      <artifactId>andromda-script-wrappers</artifactId>
    </dependency>
  </dependencies>
  <distributionManagement>
    <status>deployed</status>
  </distributionManagement>
</project>