Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<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>plexus-components</artifactId>
    <groupId>org.codehaus.plexus</groupId>
    <version>1.1.6</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>plexus-jdo2</artifactId>
  <name>Plexus JDO Component</name>
  <version>1.0-alpha-8</version>
  <inceptionYear>2005</inceptionYear>
  <developers>
    <developer>
      <id>3</id>
      <name>David Wynter</name>
      <email>david (at) dwynter.plus.com</email>
      <organization>STPenable Ltd.</organization>
      <timezone>UTC+0</timezone>
    </developer>
  </developers>
  <dependencies>
    <dependency>
      <groupId>javax.jdo</groupId>
      <artifactId>jdo2-api</artifactId>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>jpox</groupId>
      <artifactId>jpox</artifactId>
      <version>1.1.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>jdbc-stdext</artifactId>
          <groupId>javax.sql</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>1.7.3.0</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <!-- I Couldn't get the test classes to generate from modello.
           So I just placed the pre-generated classes into the src/test/* tree instead.
           I left this configuration in here to allow others to possibly get this
           automatic approach to work out.
           - Joakim
        -->
      <!--
      <plugin>
        <groupId>org.codehaus.modello</groupId>
        <artifactId>modello-maven-plugin</artifactId>
        <version>1.0-alpha-9</version>
        <configuration>
          <version>1.0.0</version>
          <packageWithVersion>false</packageWithVersion>
          <model>src/test/mdo/testobjects.xml</model>
        </configuration>
        <executions>
          <execution>
            <id>generate-test-source</id>
            <phase>generate-test-sources</phase>
            <goals>
              <goal>java</goal>
            </goals>
            <configuration>
              <outputDirectory>target/test-generated-sources/modello</outputDirectory>
            </configuration>
          </execution>
          <execution>
            <id>generate-jdo-mappings</id>
            <phase>generate-test-resources</phase>
            <goals>
              <goal>jpox-jdo-mapping</goal>
            </goals>
            <configuration>
              <outputDirectory>target/test-classes</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
       -->
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jpox-maven-plugin</artifactId>
        <version>1.0.3</version>
        <executions>
          <execution>
            <phase>test-compile</phase>
            <goals>
              <goal>enhance</goal>
            </goals>
            <configuration>
              <classes>${basedir}/target/test-classes</classes>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <scm>
    <connection>scm:svn:https://svn.codehaus.org/plexus/tags/plexus-jdo2-1.0-alpha-8</connection>
    <developerConnection>scm:svn:https://svn.codehaus.org/plexus/tags/plexus-jdo2-1.0-alpha-8</developerConnection>
  </scm>
</project>
New to GrepCode? Check out our FAQ X