forked from springside/springside4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
springside#32 嵌入式的Jetty实现Executable War, 可用 java -jar xxxx.war 运行,用Ma…
…ven Assembly插件打包.
- Loading branch information
1 parent
e3d70ce
commit 909c895
Showing
6 changed files
with
200 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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>standalone</id> | ||
<formats> | ||
<format>war</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<dependencySets> | ||
<dependencySet> | ||
<outputDirectory>/</outputDirectory> | ||
<includes> | ||
<include>org.eclipse.jetty*:*</include> | ||
</includes> | ||
<scope>provided</scope> | ||
<unpack>true</unpack> | ||
<unpackOptions> | ||
<excludes> | ||
<exclude>META-INF/*</exclude> | ||
</excludes> | ||
</unpackOptions> | ||
</dependencySet> | ||
</dependencySets> | ||
|
||
<fileSets> | ||
<fileSet> | ||
<directory>${project.basedir}/target/${project.build.finalName}</directory> | ||
<outputDirectory>/</outputDirectory> | ||
<excludes> | ||
<exclude>META-INF/**/*</exclude> | ||
</excludes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>${project.basedir}/target/classes</directory> | ||
<includes> | ||
<include>**/*/Main.class</include> | ||
</includes> | ||
<outputDirectory>/</outputDirectory> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |
Oops, something went wrong.