maven依賴本地包

http://www.cfei.net/archives/535 android


依賴項目外包web

<dependencies>app

       <dependency>  webapp

   <groupId>com.polites.android</groupId>  maven

   <artifactId>gesture-imageview</artifactId>  ui

       <version>1.1.1</version>  spa

       <scope>system</scope>  .net

       <!--本地jar的路徑,相對或者絕對均可以-->  code

       <systemPath>E:/workspace-android/juxing-all/gesture-imageview/bin/gesture-imageview.jar</systemPath>  ci

</dependency>



依賴項目內包


< build >
         < plugins >
             < plugin >
               < artifactId >maven-compiler-plugin</ artifactId >
               < configuration >
                   < source >1.6</ source >
                   < target >1.6</ target >
                   < encoding >UTF-8</ encoding >
                   < compilerArguments >
                    < extdirs >src\main\webapp\WEB-INF\lib</ extdirs >
                  </ compilerArguments >
               </ configuration >
             </ plugin >
         </ plugins >
     </ build >
相關文章
相關標籤/搜索