1.maven打包发布包

--HG--
branch : 0.0.7
This commit is contained in:
pxb1988 2011-02-09 01:25:03 +08:00
parent 5233687e93
commit 25827fbd45
8 changed files with 55 additions and 1 deletions

18
pom.xml
View File

@ -85,6 +85,24 @@
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assemble/package.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>

View File

@ -0,0 +1,36 @@
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>distribution</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>src/main/bin/</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<source>src/main/resources/META-INF/LICENSE.txt</source>
<outputDirectory>/</outputDirectory>
</file>
<file>
<source>src/main/resources/META-INF/NOTICE.txt</source>
<outputDirectory>/</outputDirectory>
</file>
</files>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<scope>runtime</scope>
</dependencySet>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<scope>provided</scope>
</dependencySet>
</dependencySets>
</assembly>

View File

@ -55,7 +55,7 @@ public class V3MethodAdapter implements DexMethodVisitor, Opcodes {
static {
log.debug("InsnList.check=false");
// Optmize Tree Analyzer
// Optimize Tree Analyzer
InsnList.check = false;
}