Guest User

Untitled

a guest
Jan 6th, 2023
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 11.97 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"//nexus.ailis.de/content/groups/public/</url>
  3.         </repository>
  4.         <repository>
  5.             <id>com.springsource.repository.bundles.release</id>
  6.             <name>EBR Spring Release Repository</name>
  7.             <url>http://repository.springsource.com/maven/bundles/release</url>
  8.         </repository>
  9.         <repository>
  10.             <id>com.springsource.repository.bundles.external</id>
  11.             <name>EBR External Release Repository</name>
  12.             <url>http://repository.springsource.com/maven/bundles/external</url>
  13.         </repository>
  14.         <repository>
  15.             <id>oss-sonatype-snapshots</id>
  16.             <name>OSS Sonatype Snapshots Repository</name>
  17.             <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  18.         </repository>
  19.         <repository>
  20.             <id>jetty-releases</id>
  21.             <name>Jetty Releases</name>
  22.             <url>https://oss.sonatype.org/content/repositories/jetty-releases</url>
  23.         </repository>
  24.     </repositories>
  25.  
  26.     <build>
  27.         <plugins>
  28.             <plugin>
  29.                 <groupId>org.apache.maven.plugins</groupId>
  30.                 <artifactId>maven-compiler-plugin</artifactId>
  31.                 <configuration>
  32.                     <source>1.7</source>
  33.                     <target>1.7</target>
  34.                 </configuration>
  35.             </plugin>
  36.             <plugin>
  37.                 <artifactId>maven-antrun-plugin</artifactId>
  38.                 <executions>
  39.                     <execution>
  40.                         <phase>generate-resources</phase>
  41.                         <configuration>
  42.                             <target>
  43.                                 <tstamp />
  44.                                 <copy
  45.                                         file="${basedir}/src/main/resources/net/sourceforge/subsonic/i18n/ResourceBundle_en.properties"
  46.                                         tofile="${project.build.directory}/classes/net/sourceforge/subsonic/i18n/ResourceBundle.properties" />
  47.                                 <echo file="${project.build.directory}/classes/build_number.txt">${version.musiccabinet}</echo>
  48.                                 <echo file="${project.build.directory}/classes/build_date.txt">${DSTAMP}</echo>
  49.                                 <echo file="${project.build.directory}/classes/version.txt">${project.version}</echo>
  50.                             </target>
  51.                         </configuration>
  52.                         <goals>
  53.                             <goal>run</goal>
  54.                         </goals>
  55.                     </execution>
  56.                 </executions>
  57.             </plugin>
  58.  
  59.             <plugin>
  60.                 <groupId>org.mortbay.jetty</groupId>
  61.                 <artifactId>jetty-maven-plugin</artifactId>
  62.                 <version>8.1.7.v20120910</version>
  63.                 <configuration>
  64.                     <stopPort>9966</stopPort>
  65.                     <stopKey>foo</stopKey>
  66.                 </configuration>
  67.             </plugin>
  68.  
  69.             <plugin>
  70.                 <groupId>org.apache.maven.plugins</groupId>
  71.                 <artifactId>maven-surefire-plugin</artifactId>
  72.                 <version>2.8</version>
  73.                 <configuration>
  74.                     <forkMode>always</forkMode>
  75.                     <argLine>-Djava.library.path=${basedir}/lib/
  76.                         -Djava.library.path=/usr/local/lib/</argLine>
  77.                 </configuration>
  78.             </plugin>
  79.         </plugins>
  80.     </build>
  81.  
  82.     <profiles>
  83.         <profile>
  84.             <id>jetty</id>
  85.             <build>
  86.                 <finalName>subsonic</finalName>
  87.                 <plugins>
  88.                     <plugin>
  89.                         <groupId>org.mortbay.jetty</groupId>
  90.                         <artifactId>jetty-jspc-maven-plugin</artifactId>
  91.                         <version>8.1.7.v20120910</version>
  92.                         <executions>
  93.                             <execution>
  94.                                 <id>jspc</id>
  95.                                 <goals>
  96.                                     <goal>jspc</goal>
  97.                                 </goals>
  98.                                 <configuration>
  99.                                     <trimSpaces>true</trimSpaces>
  100.                                 </configuration>
  101.                             </execution>
  102.                         </executions>
  103.                     </plugin>
  104.                     <plugin>
  105.                         <groupId>org.apache.maven.plugins</groupId>
  106.                         <artifactId>maven-war-plugin</artifactId>
  107.                         <version>2.2</version>
  108.                         <configuration>
  109.                             <webXml>${basedir}/target/web.xml</webXml>
  110.                         </configuration>
  111.                     </plugin>
  112.                 </plugins>
  113.             </build>
  114.             <activation>
  115.                 <activeByDefault>true</activeByDefault>
  116.             </activation>
  117.         </profile>
  118.         <profile>
  119.             <id>tomcat</id>
  120.             <build>
  121.                 <finalName>subsonic-tomcat</finalName>
  122.                 <plugins>
  123.                     <plugin>
  124.                         <groupId>org.apache.maven.plugins</groupId>
  125.                         <artifactId>maven-war-plugin</artifactId>
  126.                         <version>2.2</version>
  127.                     </plugin>
  128.                 </plugins>
  129.             </build>
  130.         </profile>
  131.     </profiles>
  132.  
  133. </project>
  134.  
Add Comment
Please, Sign In to add comment