Guest User

Untitled

a guest
Aug 1st, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.09 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5.     <modelVersion>4.0.0</modelVersion>
  6.  
  7.     <groupId>com.catamania</groupId>
  8.     <artifactId>convertXWiki</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.     <packaging>jar</packaging>
  11.  
  12.     <properties>
  13.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14.         <maven.compiler.source>1.8</maven.compiler.source>
  15.         <maven.compiler.target>1.8</maven.compiler.target>
  16.         <xwiki.version>9.6</xwiki.version>
  17.     </properties>
  18.  
  19.     <dependencies>
  20.         <dependency>
  21.             <groupId>org.xwiki.rendering</groupId>
  22.             <artifactId>xwiki-rendering-syntax-xwiki21</artifactId>
  23.             <version>${xwiki.version}</version>
  24.         </dependency>
  25.         <dependency>
  26.             <groupId>org.xwiki.commons</groupId>
  27.             <artifactId>xwiki-commons-component-default</artifactId>
  28.             <version>${xwiki.version}</version>
  29.         </dependency>
  30.         <dependency>
  31.             <groupId>org.xwiki.rendering</groupId>
  32.             <artifactId>xwiki-rendering-syntax-xhtml</artifactId>
  33.             <version>${xwiki.version}</version>
  34.         </dependency>
  35.         <dependency>
  36.             <groupId>org.xwiki.rendering</groupId>
  37.             <artifactId>xwiki-rendering-transformation-macro</artifactId>
  38.             <version>${xwiki.version}</version>
  39.         </dependency>
  40.         <dependency>
  41.             <groupId>org.xwiki.rendering</groupId>
  42.             <artifactId>xwiki-rendering-macro-toc</artifactId>
  43.             <version>${xwiki.version}</version>
  44.         </dependency>
  45.         <dependency>
  46.             <groupId>org.xwiki.rendering</groupId>
  47.             <artifactId>xwiki-rendering-macro-html</artifactId>
  48.             <version>${xwiki.version}</version>
  49.         </dependency>
  50.         <dependency>
  51.             <groupId>org.xwiki.rendering</groupId>
  52.             <artifactId>xwiki-rendering-macro-box</artifactId>
  53.             <version>${xwiki.version}</version>
  54.         </dependency>
  55.  
  56.         <!-- Logging with Logback -->
  57.         <dependency>
  58.             <groupId>org.slf4j</groupId>
  59.             <artifactId>jcl-over-slf4j</artifactId>
  60.             <version>1.7.25</version>
  61.         </dependency>
  62.         <dependency>
  63.             <groupId>ch.qos.logback</groupId>
  64.             <artifactId>logback-classic</artifactId>
  65.             <version>1.2.3</version>
  66.         </dependency>
  67.     </dependencies>
  68.  
  69.     <build>
  70.         <plugins>
  71.             <plugin>
  72.                 <groupId>org.apache.maven.plugins</groupId>
  73.                 <artifactId>maven-jar-plugin</artifactId>
  74.                 <version>3.0.2</version>
  75.                 <configuration>
  76.                     <archive>
  77.                         <manifest>
  78.                             <mainClass>com.catamania.convertXWiki.Main</mainClass>
  79.                         </manifest>
  80.                     </archive>
  81.                 </configuration>
  82.             </plugin>
  83.             <plugin>
  84.                 <artifactId>maven-assembly-plugin</artifactId>
  85.                 <version>3.0.0</version>
  86.                 <configuration>
  87.                     <archive>
  88.                         <manifest>
  89.                             <mainClass>com.catamania.convertXWiki.Main</mainClass>
  90.                         </manifest>
  91.                     </archive>
  92.                     <descriptorRefs>
  93.                         <descriptorRef>jar-with-dependencies</descriptorRef>
  94.                     </descriptorRefs>
  95.                 </configuration>
  96.                 <executions>
  97.                     <execution>
  98.                         <id>make-assembly</id>
  99.                         <phase>package</phase>
  100.                         <goals>
  101.                             <goal>single</goal>
  102.                         </goals>
  103.                     </execution>
  104.                 </executions>
  105.             </plugin>
  106.         </plugins>
  107.     </build>
  108.  
  109.  
  110. </project>
Advertisement
Add Comment
Please, Sign In to add comment