Web工程 使用Maven压缩及发布代码

一、项目需求:
压缩js及css项目,打包到Andrid工程assets目录下,在移动端提供桌面Web服务。

二、代码:
    <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/xsd/maven-4.0.0.xsd">
	<modelversion>4.0.0</modelversion>
	<groupid>com.fulan.app</groupid>
	<artifactid>SparkWebServer</artifactid>
	<packaging>war</packaging>
	<version>1.0</version>
	<name>SparkWebServer</name>
	<url>http://maven.apache.org</url>
	<dependencies/>
	<build>
		<plugins>
			<plugin>
				<groupid>net.alchim31.maven</groupid>
				<artifactid>yuicompressor-maven-plugin</artifactid>
				<executions>
					<execution>
						<goals>
							<goal>compress</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<encoding>UTF-8</encoding>
					<nosuffix>true</nosuffix>
					<outputdirectory>${basedir}/target</outputdirectory>
					<warsourcedirectory>${basedir}/WebContent</warsourcedirectory>
					<aggregations>
						<!-- compress js to all-min.js -->
						<aggregation>
							<removeincluded>true</removeincluded>
							<output>${project.build.directory}/${project.build.finalName}/all-min.js</output>
							<includes>
								<include>**/jquery-ui-1.10.4.custom/js/jquery-1.10.2.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/dialog.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/jquery.mousewheel.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/jquery.mCustomScrollbar.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/hoverIntent.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/superfish.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/jquery-ui-timepicker-addon.min.js</include>
								<include>**/jquery-ui-1.10.4.custom/js/*.js</include>
								<include>**/js/ip.js</include>
								<include>**/js/fixIE.js</include>
								<include>**/js/commands.js</include>
								<include>**/js/states.js</include>
								<include>**/js/multiMediaConstants.js</include>
								<include>**/js/controller.js</include>
								<include>**/js/common.js</include>
							</includes>
						</aggregation>
						<!-- compress css to all-min.css -->
						<aggregation>
							<removeincluded>true</removeincluded>
							<output>${project.build.directory}/${project.build.finalName}/all-min.css</output>
							<includes>
								<include>**/jquery-ui-1.10.4.custom/css/*.css</include>
								<include>**/css/common.css</include>
								<include>**/*.css</include>
							</includes>
						</aggregation>
					</aggregations>
				</configuration>
			</plugin>
			<plugin>
				<groupid>com.google.code.maven-replacer-plugin</groupid>
				<artifactid>replacer</artifactid>
				<version>1.5.2</version>
				<executions>
					<execution>
						<id>compile1</id>
						<phase>compile</phase>
						<goals>
							<goal>replace</goal>
						</goals>
						<configuration>
							<includes>
								<include>target/SparkWebServer-1.0/*.js</include>
								<include>target/SparkWebServer-1.0/*.css</include>
								<include>WebContent/tabs/*/*.html</include>
							</includes>
							<outputdir>target/tmp/</outputdir>
							<regex>true</regex>
							<regexflags>
								<regexflag>DOTALL</regexflag>
							</regexflags>
							<replacements>
								<!-- move quote css/js/images to top level -->
								<replacement>
									<token/>
									<value/>
								</replacement>
								<replacement>
									<token/>
									<value/>
								</replacement>
								<replacement>
									<token/>
									<value/>
								</replacement>
								<replacement>
									<token/>
									<value/>
								</replacement>
								<replacement>
									<token/>
									<value/>
								</replacement>
								<replacement>
									<token/>
									<value/>
								</replacement>
								<!-- make ip and password equal undefined -->
								<replacement>
									<token/>
									<value/>
								</replacement>
							</replacements>
						</configuration>
					</execution>
					<execution>
						<id>compile2</id>
						<phase>compile</phase>
						<goals>
							<goal>replace</goal>
						</goals>
						<configuration>
							<includes>
								<include>WebContent/*.html</include>
							</includes>
							<outputdir>target/</outputdir>
							<regex>true</regex>
							<regexflags>
								<regexflag>DOTALL</regexflag>
							</regexflags>
							<replacements>
								<!-- replace css/js quote in HTML file -->
								<replacement>
									<token>]]&amp;gt;</token>
									<value>
										<script src="all-min.js"/>]]&amp;gt;</value>
								</replacement>
							</replacements>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupid>org.apache.maven.plugins</groupid>
				<artifactid>maven-antrun-plugin</artifactid>
				<executions>
					<execution>
						<id>compile</id>
						<phase>compile</phase>
						<configuration>
							<tasks>
								<!-- Copy css/js/html files -->
								<echo message="Copying web files......................................."/>
								<copy verbose="true" todir="../SparkMobileStb/assets">
									<fileset dir="WebContent" includes="*.ico"/>
									<fileset dir="target/WebContent" includes="*.html"/>
									<fileset dir="target/tmp/target/SparkWebServer-1.0/" includes="*.js"/>
									<fileset dir="target/tmp/target/SparkWebServer-1.0/" includes="*.css"/>
								</copy>
								<copy verbose="true" todir="../SparkMobileStb/assets/tabs/">
									<fileset dir="target/tmp/WebContent/tabs/"/>
								</copy>
								<!-- Copy image files -->
								<echo message="Copying image files............................."/>
								<copy verbose="true" todir="../SparkMobileStb/assets/images">
									<fileset dir="WebContent/images" includes="*.png"/>
									<fileset dir="WebContent/images" includes="*.jpg"/>
									<fileset dir="WebContent/jquery-ui-1.10.4.custom/css/images" includes="*.png"/>
									<fileset dir="WebContent/jquery-ui-1.10.4.custom/css/images" includes="*.jpg"/>
								</copy>
								<echo message="Copying files End!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"/>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
					<execution>
						<id>clean</id>
						<phase>clean</phase>
						<configuration>
							<tasks>
								<!-- clean, remove folder assets from Android project -->
								<echo message="Deleteing old web files......................................."/>
								<delete includeemptydirs="true">
									<fileset dir="../SparkMobileStb/assets/"/>
								</delete>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>  


三、执行效果
D:\Eclipse\android\SparkWebServer&gt;mvn clean compile
mvn clean compile
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.fulan.app:SparkWebServer:war:1.0
[WARNING] 'build.plugins.plugin.version' for net.alchim31.maven:yuicompressor-maven-plugin is missing. @ line 16, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SparkWebServer 1.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ SparkWebServer ---
[INFO] Deleting D:\Eclipse\android\SparkWebServer\target
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (clean) @ SparkWebServer ---
[INFO] Executing tasks
     [echo] Deleteing old web files.......................................
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ SparkWebServer ---
[debug] execute contextualize
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\Eclipse\android\SparkWebServer\src\main\resources
[INFO] 
[INFO] --- yuicompressor-maven-plugin:1.3.0:compress (default) @ SparkWebServer ---
[INFO] common.css (10960b) -&gt; common.css (8119b)[74%]
[INFO] control.css (2519b) -&gt; control.css (1977b)[78%]
[INFO] dialog.css (1215b) -&gt; dialog.css (752b)[61%]
[INFO] jquery-ui-1.10.4.custom.css (10955b) -&gt; jquery-ui-1.10.4.custom.css (7670b)[70%]
[INFO] jquery-ui-timepicker-addon.min.css (746b) -&gt; jquery-ui-timepicker-addon.min.css (735b)[98%]
[INFO] jquery.mCustomScrollbar.css (10807b) -&gt; jquery.mCustomScrollbar.css (9027b)[83%]
[INFO] superfish.css (2690b) -&gt; superfish.css (1494b)[55%]
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\dialog.js:line -1:column -1:Try to use a single 'var' statement per scope.
time:0,id:false}; ---&gt; var   options  var   var   var   var   var   var  <span class="title">'
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\dialog.js:line -1:column -1:Try to use a single 'var' statement per scope.
:'<div class="bar">
<span class="title">'+options.title+'</span><div class="close"></div>
</div>'; ---&gt; var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   startTimes  var   endTimes  var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   timerId  timerRepeatType  eventType  endDay  repeatModes  eventTypes  dialog.js (10236b)[55%]
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\hoverIntent.js:line -1:column -1:Try to use a single 'var' statement per scope.
,selector:handlerOut});}} ---&gt; var   var   var   var   var   var   hoverIntent.js (1208b)[24%]
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-1.10.2.js:line -1:column -1:Try to use a single 'var' statement per scope.
.contains;})(window); ---&gt; var   var   var   var   var   var   var   var   var   var   var   var   var   jquery-1.10.2.js (107907b)[39%]
[INFO] jquery-ui-1.10.4.custom.js (356814b) -&gt; jquery-ui-1.10.4.custom.js (188007b)[52%]
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-ui-timepicker-addon.min.js:line -1:column -1:Try to use a single 'var' statement per scope.
{},overrides,i;for( ---&gt; var   var   eval  var   var   var   var   var  <table class="ui-tpicker-grid-label"><tr>',"hour"===s){for( ---&gt; var   var  ";}}else{for( ---&gt; var  </tr></table>";}d+="";} ---&gt; var  ",d+=""; ---&gt; var   var   var   var   var   var   var   var   var  e?"amNames":
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-ui-timepicker-addon.min.js:line -1:column -1:Try to use a single 'var' statement per scope.
?new Date:i,a); ---&gt; var   var   var   var   var  s;
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-ui-timepicker-addon.min.js:line -1:column -1:Try to use a single 'var' statement per scope.
(RegExp(r,"i")); ---&gt; var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   var   jquery-ui-timepicker-addon.min.js (38255b)[100%]
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery.mCustomScrollbar.js:line -1:column -1:The variable options has already been declared in the same scope...
{}},theme:"light"}, ---&gt; options  var   var  "); ---&gt; var  ");} ---&gt; var  <div class="mCSB_draggerContainer">
<div class="mCSB_dragger" style=""><div class="mCSB_dragger_bar" style=""></div></div>
<div class="mCSB_draggerRail"></div>
</div>"); ---&gt; var   var   var   var   var   var   mCSB_containerOldSize  var   mCSB_containerNewSize  var   var   var   var   var   var  =mCSB_draggerContainerH-10){ ---&gt; var   var   var   var   var  =mCSB_draggerContainerW-10){ ---&gt; var   var   scrollAmount  var   mCSB_containerP  var   var   var   var   var   var   var   var   options  var   var   var   snapAmount  callbacks  var   var   var   jquery.mCustomScrollbar.js (25360b)[54%]
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery.mousewheel.js:line -1:column -1:Try to use a single 'var' statement per scope.
$.event.fixHooks){for( ---&gt; var   returnValue  jquery.mousewheel.js (1444b)[60%]
[WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\superfish.js:line -1:column -1:Invalid hint syntax: use strict
(function($){ ---&gt; "use strict"  var   var   var   var   superfish.js (4376b)[57%]
[INFO] commands.js (1878b) -&gt; commands.js (1648b)[87%]
[WARNING] ...\WebContent\js\common.js:line -1:column -1:Try to use a single 'var' statement per scope.
);}window.mController=mController; ---&gt; var   var   var   var   var   var   var   var   var   var   var   var   a:eq(0)").text()); ---&gt; var   a").attr
[WARNING] ...\WebContent\js\common.js:line -1:column -1:The variable group has already been declared in the same scope...
"li.sfHover &gt; a:eq(0)").text());var  ---&gt; group  a").attr(
[WARNING] ...\WebContent\js\common.js:line -1:column -1:Try to use a single 'var' statement per scope.
("li.sfHover &gt; a").attr("id"); ---&gt; var   var   common.js (6148b)[48%]
[WARNING] ...\WebContent\js\controller.js:line -1:column -1:Try to use a single 'var' statement per scope.
var url=window.location.href; ---&gt; var   var   var   var   var   var   var   var   var   controller.js (6661b)[64%]
[WARNING] ...\WebContent\js\fixIE.js:line -1:column -1:Try to use a single 'var' statement per scope.
log:function(){}}; ---&gt; var   fixIE.js (560b)[64%]
[WARNING] ...\WebContent\js\multiMediaConstants.js:line -1:column -1:Try to use a single 'var' statement per scope.
stringify(jobj);};}; ---&gt; var   multiMediaConstants.js (1107b)[68%]
[INFO] states.js (400b) -&gt; states.js (336b)[84%]
[INFO] test.js (1156b) -&gt; test.js (320b)[27%]
[INFO] total input (816534b) -&gt; output (423347b)[51%]
[INFO] generate aggregation : D:\Eclipse\android\SparkWebServer\target\SparkWebServer-1.0\all-min.js
[INFO] all-min.js (393253b)
[INFO] generate aggregation : D:\Eclipse\android\SparkWebServer\target\SparkWebServer-1.0\all-min.css
[INFO] all-min.css (29774b)
[INFO] nb warnings: 211, nb errors: 0
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ SparkWebServer ---
[INFO] No sources to compile
[INFO] 
[INFO] --- replacer:1.5.2:replace (compile1) @ SparkWebServer ---
[INFO] Replacement run on 18 files.
[INFO] 
[INFO] --- replacer:1.5.2:replace (compile2) @ SparkWebServer ---
[INFO] Replacement run on 3 files.
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (compile) @ SparkWebServer ---
[INFO] Executing tasks
     [echo] Copying web files.......................................
     [copy] Copying 6 files to D:\Eclipse\android\SparkMobileStb\assets
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\WebContent\1.html to D:\Eclipse\android\SparkMobileStb\assets\1.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\favicon.ico to D:\Eclipse\android\SparkMobileStb\assets\favicon.ico
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\WebContent\login.html to D:\Eclipse\android\SparkMobileStb\assets\login.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\WebContent\index.html to D:\Eclipse\android\SparkMobileStb\assets\index.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\target\SparkWebServer-1.0\all-min.js to D:\Eclipse\android\SparkMobileStb\assets\all-min.js
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\target\SparkWebServer-1.0\all-min.css to D:\Eclipse\android\SparkMobileStb\assets\all-min.css
     [copy] Copying 16 files to D:\Eclipse\android\SparkMobileStb\assets\tabs
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\sentMessage.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\sentMessage.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\common\recordSetupDialog.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\common\recordSetupDialog.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\systemInf.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\systemInf.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\epg\epgMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\epg\epgMain.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\channel\channelMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\channel\channelMain.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\controlMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\controlMain.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\recordSetup.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\recordSetup.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\settingMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\settingMain.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\test\test.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\test\test.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\about.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\about.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\timer.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\timer.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\powerControl.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\powerControl.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\remote.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\remote.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\test\test1.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\test\test1.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\common\eventDialog.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\common\eventDialog.html
     [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\avSetting.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\avSetting.html
     [echo] Copying image files.............................
     [copy] Copying 64 files to D:\Eclipse\android\SparkMobileStb\assets\images
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_00.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_00.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_remote_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_remote_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\remote.png to D:\Eclipse\android\SparkMobileStb\assets\images\remote.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\shadow.png to D:\Eclipse\android\SparkMobileStb\assets\images\shadow.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\top_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\top_bg.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_play_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_play_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_fullscreen_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_fullscreen_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_search_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_search_01.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\tab_select.png to D:\Eclipse\android\SparkMobileStb\assets\images\tab_select.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_play.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_play.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_delete.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_delete.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\close_bar.png to D:\Eclipse\android\SparkMobileStb\assets\images\close_bar.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_menu_down.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_menu_down.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\folder_02.png to D:\Eclipse\android\SparkMobileStb\assets\images\folder_02.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_drop_down.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_drop_down.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\scrollbar_02.png to D:\Eclipse\android\SparkMobileStb\assets\images\scrollbar_02.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_state_hover.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_state_hover.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_play_def.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_play_def.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\folder_close.png to D:\Eclipse\android\SparkMobileStb\assets\images\folder_close.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_edit_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_edit_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search_button_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\search_button_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_search_00.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_search_00.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_bg.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_menu_left.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_menu_left.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_remote_folder.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_remote_folder.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_vlc_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_vlc_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_right_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_right_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\close.png to D:\Eclipse\android\SparkMobileStb\assets\images\close.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_timer_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_timer_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\tv_icon_money.png to D:\Eclipse\android\SparkMobileStb\assets\images\tv_icon_money.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\grey_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\grey_bg.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\logo.png to D:\Eclipse\android\SparkMobileStb\assets\images\logo.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\folder_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\folder_01.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\epg_timer_success.png to D:\Eclipse\android\SparkMobileStb\assets\images\epg_timer_success.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_top_shadow.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_top_shadow.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_timer_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_timer_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_vlc_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_vlc_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\epg_week_bg_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\epg_week_bg_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\scrollbar_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\scrollbar_01.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\epg_week_bg_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\epg_week_bg_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_state_default.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_state_default.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search.png to D:\Eclipse\android\SparkMobileStb\assets\images\search.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search_hover.png to D:\Eclipse\android\SparkMobileStb\assets\images\search_hover.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\mCSB_buttons.png to D:\Eclipse\android\SparkMobileStb\assets\images\mCSB_buttons.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_fullscreen_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_fullscreen_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_01.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_record.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_record.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_list_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_list_bg.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_icon_up.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_icon_up.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_left_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_left_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\black_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\black_bg.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_left_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_left_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\close.png to D:\Eclipse\android\SparkMobileStb\assets\images\close.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_delete_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_delete_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_edit.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_edit.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_icon_down.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_icon_down.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\vcl_hover.png to D:\Eclipse\android\SparkMobileStb\assets\images\vcl_hover.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_right_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_right_nor.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\vcl.png to D:\Eclipse\android\SparkMobileStb\assets\images\vcl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search_button_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\search_button_hl.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\mainmenu_logo_02.png to D:\Eclipse\android\SparkMobileStb\assets\images\mainmenu_logo_02.png
     [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_drop_down_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_drop_down_hl.png
     [echo] Copying files End!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.266s
[INFO] Finished at: Fri Mar 28 10:08:24 CST 2014
[INFO] Final Memory: 15M/37M
[INFO] ------------------------------------------------------------------------
D:\Eclipse\android\SparkWebServer&gt;
</span>

你可能感兴趣的:(maven,Web,xml)