mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-19 14:02:13 +01:00
using maven-install-plugin instead of repacking closure compiler
This commit is contained in:
@@ -43,9 +43,8 @@
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.closure</groupId>
|
||||
<artifactId>repacked-compiler</artifactId>
|
||||
<artifactId>compiler</artifactId>
|
||||
<version>20100917</version>
|
||||
<classifier>full</classifier>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
55
third-party/closure-compiler/pom.xml
vendored
55
third-party/closure-compiler/pom.xml
vendored
@@ -1,55 +0,0 @@
|
||||
<?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/maven-v4_0_0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>sonia.scm.third-party</groupId>
|
||||
<artifactId>sonia.scm.third-party</artifactId>
|
||||
<version>1.0-M3-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.google.closure</groupId>
|
||||
<artifactId>repacked-compiler</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>20100917</version>
|
||||
<name>repacked-compiler</name>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.closure</groupId>
|
||||
<artifactId>compiler</artifactId>
|
||||
<version>20100917</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/compiler-20100917.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attached</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/compiler.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Document : descriptor.xml
|
||||
Created on : November 21, 2010, 7:04 PM
|
||||
Author : sdorra
|
||||
Description:
|
||||
Purpose of the document follows.
|
||||
-->
|
||||
|
||||
|
||||
<assembly xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||||
xmlns='http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1'
|
||||
xsi:schemaLocation='http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd'>
|
||||
<id>full</id>
|
||||
|
||||
<formats>
|
||||
<format>jar</format>
|
||||
</formats>
|
||||
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<unpack>true</unpack>
|
||||
<scope>system</scope>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>target/classes</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
</assembly>
|
||||
2
third-party/pom.xml
vendored
2
third-party/pom.xml
vendored
@@ -17,7 +17,7 @@
|
||||
|
||||
<modules>
|
||||
<module>svnkit-dav</module>
|
||||
<module>closure-compiler</module>
|
||||
<module>shared-libs</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
46
third-party/shared-libs/pom.xml
vendored
Normal file
46
third-party/shared-libs/pom.xml
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?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/maven-v4_0_0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>sonia.scm.third-party</groupId>
|
||||
<artifactId>sonia.scm.third-party</artifactId>
|
||||
<version>1.0-M3-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>sonia.scm.third-party</groupId>
|
||||
<artifactId>shared-libs</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>1.0-M3-SNAPSHOT</version>
|
||||
<name>shared-libs</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>2.3.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>google-closure</id>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
<phase>install</phase>
|
||||
<configuration>
|
||||
<file>${project.basedir}/src/main/lib/compiler-20100917.jar</file>
|
||||
<groupId>com.google.closure</groupId>
|
||||
<artifactId>compiler</artifactId>
|
||||
<version>20100917</version>
|
||||
<packaging>jar</packaging>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user