summaryrefslogblamecommitdiffstats
path: root/core/modules/qemu/runvirt-plugin-qemu/pom.xml
blob: 1d64e06584f9f6462dbd8cf41735879510f90f3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                        
       
                                                                                

        
              
                                                                
                                                                      


                                                       
               
 


                                 
                                                                                                









                                           
                                                                                               








                                           




                                                
                                  




                                                   
                                  

                         
                

                                           
                                  


                         

                                          
                                  
                            

                 

                                           

                                  

                 

                                                 
                                   


                            

                                                 
                                   

                            


                                                 
                                  

                         


                                      
                                  
                            



                                         
                                  






                                                 
                 







                                                 


                 

              

                                                         
                                


















                                                                             
                                                   
                                                      
                                


                                                   
                                                      

                                                         

               
                                                   
                                                      
                                   

               
                                                   
                                                 
                                







                                
                                                   
                                                      
                                








                                  





                                                                                     




                                                                      
                    




                                                                
              

          
<?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>org.openslx.runvirt.plugin.qemu</groupId>
  <artifactId>runvirt-plugin-qemu</artifactId>
  <version>1.0-SNAPSHOT</version>

  <name>runvirt-plugin-qemu</name>
  <url>https://git.openslx.org/openslx-ng/mltk.git/</url>

  <scm>
    <connection>scm:git:https://git.openslx.org/openslx-ng/mltk.git</connection>
  </scm>

  <properties>
    <main.class>org.openslx.runvirt.plugin.qemu.App</main.class>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>11</maven.compiler.source>
    <maven.compiler.target>11</maven.compiler.target>
    <maven.compiler.release>11</maven.compiler.release>
  </properties>

  <repositories>
    <repository>
      <id>mltk-repo-snapshot</id>
      <url>https://mltk-services.ruf.uni-freiburg.de/nexus/content/repositories/snapshots/</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
      </snapshots>
    </repository>
    <repository>
      <id>mltk-repo-release</id>
      <url>https://mltk-services.ruf.uni-freiburg.de/nexus/content/repositories/releases/</url>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-api</artifactId>
      <version>[5.0,6.0)</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <version>[5.0,6.0)</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>[4.0,5.0)</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-cli</groupId>
      <artifactId>commons-cli</artifactId>
      <version>[1.0,2.0)</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-exec</artifactId>
      <version>[1.0,2.0)</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-api</artifactId>
      <version>[2.17,3.0)</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-core</artifactId>
      <version>[2.17,3.0)</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.ginsberg</groupId>
      <artifactId>junit5-system-exit</artifactId>
      <version>[1.0,2.0)</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.libvirt</groupId>
      <artifactId>libvirt</artifactId>
      <version>[0.5,1.0)</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
      <version>[5.0,6.0)</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.openslx.bwlp</groupId>
      <artifactId>master-sync-shared</artifactId>
      <version>1.1-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.openslx.bwlp</groupId>
      <artifactId>master-sync-shared</artifactId>
      <version>1.1-SNAPSHOT</version>
      <classifier>tests</classifier>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>buildnumber-maven-plugin</artifactId>
        <version>3.0.0</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>create</goal>
              <goal>create-timestamp</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <doCheck>false</doCheck>
          <doUpdate>false</doUpdate>
          <timezone>UTC</timezone>
          <timestampPropertyName>build.time</timestampPropertyName>
          <scmBranchPropertyName>revision.branch</scmBranchPropertyName>
          <buildNumberPropertyName>revision.version</buildNumberPropertyName>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.1</version>
        <configuration>
          <source>${maven.compiler.source}</source>
          <target>${maven.compiler.target}</target>
          <release>${maven.compiler.release}</release>
          <compilerArgument>-Xlint:all</compilerArgument>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>3.0.0-M5</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
          <execution>
            <id>default-jar</id>
            <phase>none</phase>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2.2</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <archive>
            <manifest>
              <mainClass>${main.class}</mainClass>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
            </manifest>
            <manifestEntries>
              <Build-Timestamp>${build.time}</Build-Timestamp>
              <Revision-Branch>${revision.branch}</Revision-Branch>
              <Revision-Version>${revision.version}</Revision-Version>
            </manifestEntries>
          </archive>
          <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
          </descriptorRefs>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>