APPENDIX C − POM.XML FOR GRAPHWALKER

<?xml version=”1.0” encoding=”UTF-8”?>

<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>

  <groupId>com.company</groupId>

  <version>1.0-SNAPSHOT</version>

  <artifactId>myProject</artifactId>

  <name>GraphWalker Example</name>

 

  <properties>

    <graphwalker.version>4.0.0-SNAPSHOT</graphwalker.version>

    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

  </properties>

 

  <dependencies>

    <dependency>

      <groupId>org.graphwalker</groupId>

      <artifactId>graphwalker-core</artifactId>

      <version>${graphwalker.version}</version>

    </dependency>

    <dependency>

      <groupId>org.graphwalker</groupId>

      <artifactId>graphwalker-io</artifactId>

      <version>${graphwalker.version}</version>

    </dependency>

    <dependency>

      <groupId>org.graphwalker</groupId>

      <artifactId>graphwalker-java</artifactId>

      <version>${graphwalker.version}</version>

    </dependency>

    <dependency>

      <groupId>org.graphwalker</groupId>

      <artifactId>graphwalker-maven-plugin</artifactId>

      <version>${graphwalker.version}</version>

    </dependency>

    <!-- https://mvnrepository.com/artifact/junit/junit -->

      <groupId>junit</groupId>

      <artifactId>junit</artifactId>

      <version>4.12</version>

     <!-- <scope>test</scope> -->

    </dependency>

      </dependencies>

 

  <build>

    <plugins>

      <plugin>

        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-compiler-plugin</artifactId>

        <version>3.1</version>

        <configuration>

          <source>1.8</source>

          <target>1.8</target>

        </configuration>

      </plugin>

      <plugin>

        <groupId>org.graphwalker</groupId>

        <artifactId>graphwalker-maven-plugin</artifactId>

        <version>${graphwalker.version}</version>

        <!-- Bind goals to the default lifecycle -->

        <executions>

          <execution>

            <id>generate-test-sources</id>

            <phase>generate-test-sources</phase>

            <goals>

              <goal>generate-test-sources</goal>

            </goals>

          </execution>

          <execution>

            <id>test</id>

            <phase>test</phase>

            <goals>

              <goal>test</goal>

            </goals>

          </execution>

        </executions>

      </plugin>

    </plugins>

  </build>

 

  <repositories>

    <repository>

        <releases>

            <enabled>false</enabled>

            <updatePolicy>always</updatePolicy>

            <checksumPolicy>warn</checksumPolicy>

        </releases>

        <snapshots>

            <enabled>true</enabled>

            <updatePolicy>never</updatePolicy>

            <checksumPolicy>fail</checksumPolicy>

        </snapshots>

        <id>sonatype-nexus-snapshots</id>

        <name>Sonatype Nexus Snapshots</name>

        <url>https://oss.sonatype.org/content/repositories/snapshots</url>

        <layout>default</layout>

    </repository>

  </repositories>

  <pluginRepositories>

    <pluginRepository>

        <id>sonatype-nexus-snapshots</id>

        <name>Sonatype Nexus Snapshots</name>

        <url>https://oss.sonatype.org/content/repositories/snapshots</url>

        <releases>

            <enabled>false</enabled>

        </releases>

        <snapshots>

            <enabled>true</enabled>

        </snapshots>

    </pluginRepository>

  </pluginRepositories>

</project>

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.100.180