pom.xml 3.87 KB
Newer Older
1
<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">
Paff's avatar
Paff committed
2 3 4
  <modelVersion>4.0.0</modelVersion>

  <parent>
Lars Hermerschmidt's avatar
Lars Hermerschmidt committed
5 6
    <groupId>de.se_rwth.montisecarc</groupId>
    <artifactId>montiSecArc</artifactId>
Lars Hermerschmidt's avatar
Lars Hermerschmidt committed
7
    <version>0.0.4-SNAPSHOT</version>
Paff's avatar
Paff committed
8
  </parent>
Lars Hermerschmidt's avatar
Lars Hermerschmidt committed
9
  <artifactId>montiSecArcAnalysis</artifactId>
Paff's avatar
Paff committed
10 11 12 13 14 15

  <properties>
  </properties>

  <dependencies>
    <dependency>
Lars Hermerschmidt's avatar
Lars Hermerschmidt committed
16 17
      <groupId>de.se_rwth.montisecarc</groupId>
      <artifactId>montiSecArcFE</artifactId>
Paff's avatar
Paff committed
18 19 20
      <version>${project.version}</version>
    </dependency>
    
Paff's avatar
Paff committed
21
    
Paff's avatar
Paff committed
22 23 24
    <dependency>
      <groupId>de.se_rwth.commons</groupId>
      <artifactId>se-commons-utilities</artifactId>
Paff's avatar
Paff committed
25
      <version>${se-commons.version}</version>
Paff's avatar
Paff committed
26 27
    </dependency>
    
28 29 30
    <dependency>
      <groupId>de.monticore.lang.common</groupId>
      <artifactId>common-values</artifactId>
Paff's avatar
Paff committed
31
      <version>${commons.version}</version>
32 33
    </dependency>
    
Paff's avatar
Paff committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
    <!-- .. Test Libraries ........................................ -->

    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-library</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-integration</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </dependency>

    <!-- sysout logging -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <version>${slf4j.version}</version>
      <scope>test</scope>
    </dependency>
    
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    
    <!-- TEST DEPENDENCIES -->
    <dependency>
      <groupId>de.monticore.lang.montiarc</groupId>
      <artifactId>de.arcd.fe</artifactId>
      <classifier>tests</classifier>
      <scope>test</scope>
      <version>${montiarc.version}</version>
   </dependency>
Paff's avatar
Paff committed
82 83
   
   </dependencies>
Paff's avatar
Paff committed
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
  
  <build>

    <plugins>

      <plugin>
        <groupId>de.monticore.maven</groupId>
        <artifactId>monticore-maven-plugin</artifactId>
        <version>${monticore.maven.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>configure</goal>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.4</version>
Paff's avatar
Paff committed
107 108 109 110
        <configuration>
        	<archive>
              	<manifest>
              		<addClasspath>true</addClasspath>
Paff's avatar
Paff committed
111
              		<mainClass>secarc.MontiSecArcAnalysisToolWrapper</mainClass>
Paff's avatar
Paff committed
112 113 114
              	</manifest>
              </archive>
        </configuration>
Paff's avatar
Paff committed
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
        <executions>
          <execution>
            <id>grammars</id>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <classifier>grammars</classifier>
              <classesDirectory>${basedir}/${paths.generated}</classesDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.1.2</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

  </build>
Lars Hermerschmidt's avatar
Lars Hermerschmidt committed
145
</project>