Skip to content
This repository has been archived by the owner on Jul 18, 2018. It is now read-only.

Commit

Permalink
fix maven config
Browse files Browse the repository at this point in the history
  • Loading branch information
medcl committed Feb 26, 2014
1 parent 22775c5 commit 76214d5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
Binary file added lib/fastjson-1.1.14.jar
Binary file not shown.
41 changes: 20 additions & 21 deletions pom.xml
Expand Up @@ -75,14 +75,13 @@
<version>1.3.RC2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.1.14</version>
<scope>provided</scope>
<systemPath>${basedir}/lib/fastjson-1.1.14.jar</systemPath>
<scope>system</scope>
</dependency>

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
Expand Down Expand Up @@ -114,24 +113,24 @@
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
<descriptors>
<descriptor>${basedir}/src/main/assemblies/plugin.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
<descriptors>
<descriptor>${basedir}/src/main/assemblies/plugin.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
6 changes: 6 additions & 0 deletions src/main/assemblies/plugin.xml
Expand Up @@ -15,4 +15,10 @@
</excludes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>${basedir}/lib/</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
</assembly>

0 comments on commit 76214d5

Please sign in to comment.