<
build
>
<
sourceDirectory
>src/main/java</
sourceDirectory
>
<
plugins
>
<
plugin
>
<
groupId
>org.apache.maven.plugins</
groupId
>
<
artifactId
>maven-compiler-plugin</
artifactId
>
<
configuration
>
<
defaultLibBundleDir
>lib</
defaultLibBundleDir
>
<
source
>1.5</
source
>
<
target
>1.5</
target
>
<
encoding
>UTF-8</
encoding
>
</
configuration
>
</
plugin
>
<
plugin
>
<
groupId
>org.apache.maven.plugins</
groupId
>
<
artifactId
>maven-jar-plugin</
artifactId
>
<
configuration
>
<
archive
>
<
manifest
>
<
addClasspath
>true</
addClasspath
>
<
classpathPrefix
></
classpathPrefix
>
<
mainClass
>com.xx.xx.xx</
mainClass
>
</
manifest
>
</
archive
>
</
configuration
>
</
plugin
>
<
plugin
>
<
groupId
>org.apache.maven.plugins</
groupId
>
<
artifactId
>maven-dependency-plugin</
artifactId
>
<
executions
>
<
execution
>
<
id
>copy</
id
>
<
phase
>install</
phase
>
<
goals
>
<
goal
>copy-dependencies</
goal
>
</
goals
>
<
configuration
>
<
outputDirectory
>
${project.build.directory}
</
outputDirectory
>
</
configuration
>
</
execution
>
</
executions
>
</
plugin
>
<
plugin
>
<
groupId
>org.apache.maven.plugins</
groupId
>
<
artifactId
>maven-resources-plugin</
artifactId
>
<
version
>2.2</
version
>
<
configuration
>
<
encoding
>UTF-8</
encoding
>
</
configuration
>
</
plugin
>
</
plugins
>
</
build
>