锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲私人无码综合久久网,国产AV旡码专区亚洲AV苍井空,亚洲AV成人片无码网站http://www.tkk7.com/jjshcc/category/48354.htmlzh-cnWed, 10 Jun 2015 19:03:00 GMTWed, 10 Jun 2015 19:03:00 GMT60mvn archetype:generatehttp://www.tkk7.com/jjshcc/archive/2015/06/10/425597.htmlEric_jiangEric_jiangWed, 10 Jun 2015 04:31:00 GMThttp://www.tkk7.com/jjshcc/archive/2015/06/10/425597.htmlhttp://www.tkk7.com/jjshcc/comments/425597.htmlhttp://www.tkk7.com/jjshcc/archive/2015/06/10/425597.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/425597.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/425597.htmlmvn archetype:generate -DgroupId=com.bestpay.support.gd -DartifactId=JBatchReward -DarchetypeArtifactId=maven-archetype-j2ee-simple

]]>
maven2鍒涘緩鐨刟rchetypeArtifactId綾誨瀷http://www.tkk7.com/jjshcc/archive/2015/06/10/425593.htmlEric_jiangEric_jiangWed, 10 Jun 2015 03:39:00 GMThttp://www.tkk7.com/jjshcc/archive/2015/06/10/425593.htmlhttp://www.tkk7.com/jjshcc/comments/425593.htmlhttp://www.tkk7.com/jjshcc/archive/2015/06/10/425593.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/425593.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/425593.html鐪媘aven-definitive-guide鍒扮浜旂珷浜?jiǎn)锛屽彂鐜癿aven鍙互鍒涘緩涓嶅皯綾誨瀷鐨刣emo錛屽彧瑕佽緭鍏ワ細(xì)
mvn archetype:create灝卞彲浠?/span>
涓嶈繃錛屽垱寤虹殑鍚屾椂闇瑕乤rchetypeArtifactId榪欎釜鍙傛暟鏉ヨ瘑鍒紝涓嶈繃涓嶅お娓呮鏈変粈涔堢被鍨嬶紝鍙煡閬撻粯璁や笉濉槸maven-archetype-quickstart 錛寃eb鏄痬aven-archetype-webapp
鍙戠幇鏈夋洿綆鍗曠殑鏂規(guī)硶錛屽彧瑕佽緭鍏vn archetype:generate
灝變細(xì)灝嗘墍鏈夊彲鐢ㄧ殑綾誨瀷鏄劇ず錛屽茍涓旇浣犺嚜宸遍夛紝杈撳嚭濡備笅錛?/span>
1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web application with Hibernate, Spring and JSF)
2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC)
3: internal -> appfuse-basic-struts (AppFuse archetype for creating a web application with Hibernate, Spring and Struts 2)
4: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web application with Hibernate, Spring and Tapestry 4)
5: internal -> appfuse-core (AppFuse archetype for creating a jar application with Hibernate and Spring and XFire)
6: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular application with Hibernate, Spring and JSF)
7: internal -> appfuse-modular-spring (AppFuse archetype for creating a modular application with Hibernate, Spring and Spring MVC)
8: internal -> appfuse-modular-struts (AppFuse archetype for creating a modular application with Hibernate, Spring and Struts 2)
9: internal -> appfuse-modular-tapestry (AppFuse archetype for creating a modular application with Hibernate, Spring and Tapestry 4)
10: internal -> maven-archetype-j2ee-simple (A simple J2EE Java application)
11: internal -> maven-archetype-marmalade-mojo (A Maven plugin development project using marmalade)
12: internal -> maven-archetype-mojo (A Maven Java plugin development project)
13: internal -> maven-archetype-portlet (A simple portlet application)
14: internal -> maven-archetype-profiles ()
15: internal -> maven-archetype-quickstart ()
16: internal -> maven-archetype-site-simple (A simple site generation project)
17: internal -> maven-archetype-site (A more complex site project)
18: internal -> maven-archetype-webapp (A simple Java web application)
19: internal -> struts2-archetype-starter (A starter Struts 2 application with Sitemesh, DWR, and Spring)
20: internal -> struts2-archetype-blank (A minimal Struts 2 application)
21: internal -> struts2-archetype-portlet (A minimal Struts 2 application that can be deployed as a portlet)
22: internal -> struts2-archetype-dbportlet (A starter Struts 2 portlet that demonstrates a simple CRUD interface with db backing)
23: internal -> struts2-archetype-plugin (A Struts 2 plugin)
24: internal -> shale-archetype-blank (A blank Shale web application with JSF)
25: internal -> maven-adf-archetype (Archetype to ease the burden of creating a new application based with ADF)
26: internal -> data-app (A new Databinder application with sources and resources.)
27: internal -> jini-service-archetype (Archetype for Jini service project creation)
28: internal -> softeu-archetype-seam (JSF+Facelets+Seam Archetype)
29: internal -> softeu-archetype-seam-simple (JSF+Facelets+Seam (no persistence) Archetype)
30: internal -> softeu-archetype-jsf (JSF+Facelets Archetype)
31: internal -> jpa-maven-archetype (JPA application)
32: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype)
33: internal -> confluence-plugin-archetype (Atlassian Confluence plugin archetype)
34: internal -> maven-archetype-har (Hibernate Archive)
35: internal -> maven-archetype-sar (JBoss Service Archive)
36: internal -> wicket-archetype-quickstart (A simple Apache Wicket project)

]]>
Maven涓浗闀滃儚http://www.tkk7.com/jjshcc/archive/2015/03/17/423548.htmlEric_jiangEric_jiangTue, 17 Mar 2015 13:28:00 GMThttp://www.tkk7.com/jjshcc/archive/2015/03/17/423548.htmlhttp://www.tkk7.com/jjshcc/comments/423548.htmlhttp://www.tkk7.com/jjshcc/archive/2015/03/17/423548.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/423548.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/423548.html鏈夋鏃墮棿娌$敤maven浜?jiǎn)锛屾渶榪戜嬌鐢╩aven涓嬭澆jar鍖呮椂閫熷害緙撴參錛屾渶鍒濅互涓烘槸鑷繁緗戦熺殑闂錛屽悗鏉ョ‘瀹氭槸璁塊棶maven鐨刢entral repository绔熷害緙撴參銆傚湪緗戜笂鎵懼埌浜?jiǎn)涓涓猰aven repository鐨勪腑鍥介暅鍍忥紝閫熷害鐩稿綋涓嶉敊銆傜壒姝ゆ敹钘忋?/span>


    

<mirror>

      <id>CN</id>
      <name>OSChina Central</name>                                                                                                                       
      <url>http://maven.oschina.net/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>

    </mirror>

========================================================

OSChina Maven 搴撲嬌鐢ㄥ府鍔?


==================鍏朵粬maven浠撳簱闀滃儚==========================

<mirror>  
      <id>repo2</id>  
      <mirrorOf>central</mirrorOf>  
      <name>Human Readable Name for this Mirror.</name>  
      <url>http://repo2.maven.org/maven2/</url>  
</mirror>  
<mirror>  
      <id>net-cn</id>  
      <mirrorOf>central</mirrorOf>  
      <name>Human Readable Name for this Mirror.</name>  
      <url>http://maven.net.cn/content/groups/public/</url>   
</mirror>  
<mirror>  
      <id>ui</id>  
      <mirrorOf>central</mirrorOf>  
      <name>Human Readable Name for this Mirror.</name>  
     <url>http://uk.maven.org/maven2/</url>  
</mirror>  
<mirror>  
      <id>ibiblio</id>  
      <mirrorOf>central</mirrorOf>  
      <name>Human Readable Name for this Mirror.</name>  
     <url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>  
</mirror>  
<mirror>  
      <id>jboss-public-repository-group</id>  
      <mirrorOf>central</mirrorOf>  
      <name>JBoss Public Repository Group</name>  
     <url>http://repository.jboss.org/nexus/content/groups/public</url>  
</mirror>

<mirror>  
      <id>JBossJBPM</id> 
銆銆銆銆<mirrorOf>central</mirrorOf>
銆銆銆銆<name>JBossJBPM Repository</name>
銆銆銆銆<url>
https://repository.jboss.org/nexus/content/repositories/releases/</url>
</mirror>




]]>
鍒涘緩maven鐨剋eb欏圭洰錛屽茍鐢╦etty璋冭瘯http://www.tkk7.com/jjshcc/archive/2014/12/02/420926.htmlEric_jiangEric_jiangTue, 02 Dec 2014 08:37:00 GMThttp://www.tkk7.com/jjshcc/archive/2014/12/02/420926.htmlhttp://www.tkk7.com/jjshcc/comments/420926.htmlhttp://www.tkk7.com/jjshcc/archive/2014/12/02/420926.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/420926.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/420926.html1銆乵vn archetype:create -DgroupId=org.david.app -DartifactId=mywebapp -DarchetypeArtifactId=maven-archetype-webapp
2銆乧d mywebapp
     mvn eclipse:eclipse
     瀵煎叆eclipse宸ョ▼
     錛堟垨鑰呯洿鎺ヤ粠eclipse涓鍏aven宸ョ▼錛?/span>
3銆佹坊鍔爏ervlet渚濊禆
        <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
    </dependency>
4銆佹坊鍔犳簮浠g爜鐩綍src/main/java
     灝嗘簮浠g爜鏀懼湪璇ョ洰褰曚笅銆?/span>
5銆佹坊鍔爅etty鎻掍歡
<build>
   <finalName>mywebapp</finalName>
   <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <source>1.5</source>
            <target>1.5</target>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.mortbay.jetty</groupId>
          <artifactId>maven-jetty-plugin</artifactId>
        </plugin>        
   </plugins>
</build>
6銆佺敤jetty璋冭瘯錛坔ttp://www.tkk7.com/alwayscy/archive/2007/06/01/118584.html錛?/span>
鍛戒護(hù)琛岋細(xì)mvn jetty:run
鎴栬?/span>
1銆佸厛鏉ラ厤緗竴涓閮ㄥ伐鍏鳳紝鏉ヨ繍琛孞ETTY錛?/span>
閫夋嫨鑿滃崟Run->External Tools->External Tools ...鍦ㄥ乏杈歸夋嫨Program錛屽啀鐐筃ew錛?/span>
閰嶇疆Location涓簃vn瀹屾暣鍛戒護(hù)琛屻傚畾浣嶅埌bin涓嬬殑mvn.bat
閫夋嫨Working Directory涓烘湰欏圭洰銆?/span>
Arguments濉啓錛歫etty:run
鍐嶇偣閫塃nviroment欏碉細(xì)鍔犲叆MAVEN_OPTS鍙橀噺錛屽間負(fù)錛?/span>
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8080,server=y,suspend=y
鍏朵腑錛屽鏋渟uspend=n 琛ㄧず涓嶈皟璇曪紝鐩存帴榪愯銆俛ddress=8080涓虹鍙?/span>
鐒跺悗錛岀偣APPLY錛屽啀鍏抽棴鏈璇濇銆?/span>
鍙﹀娉ㄦ剰涓鐐癸紝濂藉儚external tool鑿滃崟欏瑰湪java browering鐨刾erspective涓嬫墠浼?xì)鍑虹幇銆傚鏋滃湪java涓嬬湅涓嶈錛屽彲浠ュ垏鎹笅璇曡瘯銆?/span>
鍚姩jetty
2銆佽皟璇曞簲鐢?/span>
鐐歸塺un->debug...
閫変腑宸︽爲(wèi)涓殑Remote Java Application錛屽啀鐐筃ew銆?/span>
閫夋嫨浣犵殑欏圭洰錛屽叧閿槸瑕佸~鍜屼箣鍓嶈緗閮ㄥ伐鍏鋒椂鐩稿悓鐨勭鍙e彿銆?/span>

]]>
Maven鐨刣ependencyManagementhttp://www.tkk7.com/jjshcc/archive/2011/07/08/353914.htmlEric_jiangEric_jiangFri, 08 Jul 2011 01:59:00 GMThttp://www.tkk7.com/jjshcc/archive/2011/07/08/353914.htmlhttp://www.tkk7.com/jjshcc/comments/353914.htmlhttp://www.tkk7.com/jjshcc/archive/2011/07/08/353914.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/353914.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/353914.htmlMaven鍦╠ependencyManagement鍏冪礌涓負(fù)浣犳彁渚涗簡(jiǎn)涓縐嶆柟寮忔潵緇熶竴渚濊禆鐗堟湰鍙楓備綘緇忓父浼?xì)鍦ㄤ竴涓粍緇囨垨鑰呴」鐩殑鏈欏跺眰鐨勭埗POM涓湅鍒癲ependencyManagement鍏冪礌銆備嬌鐢╬om.xml涓殑dependencyManagement鍏冪礌鑳借浣犲湪瀛愰」鐩腑寮曠敤涓涓緷璧栬屼笉鐢ㄦ樉寮忕殑鍒楀嚭鐗堟湰鍙楓?/p>

Maven浼?xì)娌跨潃鐖跺瓙灞傛鍚戜笂璧幫紝鐩村埌鎵懼埌涓涓嫢鏈塪ependencyManagement鍏冪礌鐨勯」鐩紝鐒跺悗瀹冨氨浼?xì)鋴社敤鍦q欎釜dependencyManagement鍏冪礌涓寚瀹氱殑鐗堟湰鍙楓?/p>

 

<project>
  
<modelVersion>4.0.0</modelVersion>
  
<groupId>org.sonatype.mavenbook</groupId>
  
<artifactId>a-parent</artifactId>
  
<version>1.0.0</version>
  
  
<dependencyManagement>
    
<dependencies>
      
<dependency>
        
<groupId>mysql</groupId>
        
<artifactId>mysql-connector-java</artifactId>
        
<version>5.1.2</version>
      
</dependency>
      
    
<dependencies>
  
</dependencyManagement>



鐒跺悗錛屽湪瀛愰」鐩腑錛屼綘鍙互浣跨敤濡備笅鐨勪緷璧朮ML娣誨姞涓涓MySQL Java Connector鐨勪緷璧栵細(xì)

<project>
  
<modelVersion>4.0.0</modelVersion>
  
<parent>
    
<groupId>org.sonatype.mavenbook</groupId>
    
<artifactId>a-parent</artifactId>
    
<version>1.0.0</version>
  
</parent>
  
<artifactId>project-a</artifactId>
  
  
<dependencies>
    
<dependency>
      
<groupId>mysql</groupId>
      
<artifactId>mysql-connector-java</artifactId>
    
</dependency>
  
</dependencies>
</project>


濡傛灉mysql-connector-java鍦ㄩ《灞傜埗欏圭洰涓浣滀負(fù)涓涓緷璧栧垪鍑猴紝榪欎釜灞傛涓殑鎵鏈夐」鐩兘灝嗗紩鐢ㄨ渚濊禆銆備嬌鐢╠ependencyManagement鑳借浣犵粺涓騫墮泦涓寲渚濊禆鐗堟湰鐨勭鐞嗭紝鑰屼笉鐢ㄦ坊鍔犻偅浜涗細(xì)琚墍鏈夊瓙欏圭洰緇ф壙鐨勪緷璧栥?/p>

]]>
maven涓殑scope閰嶇疆http://www.tkk7.com/jjshcc/archive/2011/07/05/353722.htmlEric_jiangEric_jiangTue, 05 Jul 2011 09:01:00 GMThttp://www.tkk7.com/jjshcc/archive/2011/07/05/353722.htmlhttp://www.tkk7.com/jjshcc/comments/353722.htmlhttp://www.tkk7.com/jjshcc/archive/2011/07/05/353722.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/353722.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/353722.html鎴戜滑鍦ㄧ敤maven鍜宔clipse寮鍙慦EB搴旂敤鐨勬椂鍊欙紝闇瑕佹妸servlet-api鍜宩sp-api鍔犲叆榪涙潵錛岃涓嶇劧緙栬瘧涓嶄細(xì)閫氳繃錛屽姞鍏ヨ繘鏉ヤ箣鍚庡湪鎵撳寘鐨勬椂鍊檓aven鑷姩鎶婃墍鏈夌殑渚濊禆鍖呴兘鏀懼埌l(fā)ib涓嬮潰錛屽鏋滀綘鍦╰omcat涓嬮潰榪愯灝變細(xì)鏈夐棶棰橈紝鍥犱負(fù)tomcat鍙戠幇浣犵殑web搴旂敤鐨刲ib涓寘鍚簡(jiǎn)servlet-api錛屼粬浼?xì)鎶ラ敊銆?/p>

瑙e喅榪欎釜闂鐨勬柟娉曞氨鏄嬌鐢?lt;scope>鏍囩錛屽涓?/p>

 

<dependency>
    
<groupId>javax.servlet</groupId>
    
<artifactId>servlet-api</artifactId>
    
<version>2.4</version>
    
<scope>provided</scope>
   
</dependency>
   
<dependency>
    
<groupId>javax.servlet</groupId>
    
<artifactId>jsp-api</artifactId>
    
<version>2.0</version>
    
<scope>provided</scope>
   
</dependency>


榪欓噷鐨勬剰鎬濇槸璇達(dá)紝緙栬瘧鐨勬椂鍊欑敤鍒皊ervlet-api鍜宩sp-api錛屼絾鍦ㄦ墦鍖呯殑鏃跺欎笉鐢ㄨ繖涓や釜渚濊禆銆?/p>

鍦╩aven鐨勫畼鏂逛腑鏄繖鏍鋒弿榪扮殑

Dependency Scope
Dependency scope is used to limit the transitivity of a depedency, and also to affect the classpath used for various build tasks.

There are 6 scopes available:

compile
This is the default scope, used if none is specified. Compile dependencies are available in all classpaths of a project. Furthermore, those dependencies are propagated to dependent projects.
provided
This is much like compile, but indicates you expect the JDK or a container to provide the dependency at runtime. For example, when building a web application for the Java Enterprise Edition, you would set the dependency on the Servlet API and related Java EE APIs to scope provided because the web container provides those classes. This scope is only available on the compilation and test classpath, and is not transitive.
runtime
This scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath.
test
This scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases.
system
This scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository.
import (only available in Maven 2.0.9 or later)
This scope is only used on a dependency of type pom in the <dependencyManagement> section. It indicates that the specified POM should be replaced with the dependencies in that POM's <dependencyManagement> section. Since they are replaced, dependencies with a scope of import do not actually participate in limiting the transitivity of a dependency.
濡傛灉浣犺繖鏍峰仛浜?jiǎn)锛屼絾鋴社敤eclipse+tomcat鍋氭祴璇曠殑鏃跺欏彂鐜皊ervlet-api榪樻槸琚墦鍖呭埌l(fā)ib涓嬮潰浜?jiǎn)锛屼綘瑕佹妸maven鎻掍歡涓殑WTP涔熷畨瑁呬竴涓嬶紝闂搴旇灝辮В鍐充簡(jiǎn)銆?br />



]]>
Maven浠撳簱鐨勫竷灞http://www.tkk7.com/jjshcc/archive/2011/04/21/348691.htmlEric_jiangEric_jiangThu, 21 Apr 2011 04:12:00 GMThttp://www.tkk7.com/jjshcc/archive/2011/04/21/348691.htmlhttp://www.tkk7.com/jjshcc/comments/348691.htmlhttp://www.tkk7.com/jjshcc/archive/2011/04/21/348691.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/348691.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/348691.html       浠諱綍涓涓瀯浠墮兘鏈夊叾鍞竴鐨勫潗鏍囷紝鏍規(guī)嵁榪欎釜鍧愭爣鍙互瀹氫箟鍏跺湪浠撳簱涓殑鍞竴瀛樺偍璺緞錛岃繖渚挎槸Maven鐨勪粨搴撳竷灞鏂瑰紡銆備緥濡俵og4j:log4j:1.2.15榪欎竴渚濊禆錛屽叾瀵瑰簲鐨勪粨搴撹礬寰勪負(fù)log4j/log4j/1.2.15/log4j-1.2.15.jar錛岀粏蹇?jī)鐨勮鑰呭彲浠ヨ瀵熷埌錛岃璺緞涓庡潗鏍囩殑澶ц嚧瀵瑰簲鍏崇郴涓篻roupId/artifactId/version/artifactId-version.packaging銆備笅闈㈢湅涓孌礛aven鐨勬簮鐮佸茍緇撳悎鍏蜂綋鐨勫疄渚嬫潵鐞嗚ВMaven浠撳簱鐨勫竷灞鏂瑰紡錛?/p>

    private static final char PATH_SEPARATOR = '/';

    private static final char GROUP_SEPARATOR = '.';

    private static final char ARTIFACT_SEPARATOR = '-';

    public String pathOf( Artifact artifact )
    {
        ArtifactHandler artifactHandler = artifact.getArtifactHandler();

        StringBuilder path = new StringBuilder( 128 );

        path.append( formatAsDirectory( artifact.getGroupId() ) ).append( PATH_SEPARATOR );
        path.append( artifact.getArtifactId() ).append( PATH_SEPARATOR );
        path.append( artifact.getBaseVersion() ).append( PATH_SEPARATOR );
        path.append( artifact.getArtifactId() ).append( ARTIFACT_SEPARATOR ).append( artifact.getVersion() );

        if ( artifact.hasClassifier() )
        {
            path.append( ARTIFACT_SEPARATOR ).append( artifact.getClassifier() );
        }

        if ( artifactHandler.getExtension() != null && artifactHandler.getExtension().length() > 0 )
        {
            path.append( GROUP_SEPARATOR ).append( artifactHandler.getExtension() );
        }

        return path.toString();
}

    private String formatAsDirectory( String directory )
    {
        return directory.replace( GROUP_SEPARATOR, PATH_SEPARATOR );
    }
??

璇athOf()鏂規(guī)硶鐨勭洰鐨勬槸鏍規(guī)嵁鏋勪歡淇℃伅鐢熸垚鍏跺湪浠撳簱涓殑璺緞銆傚湪闃呰鏈浠g爜涔嬪墠錛岃鑰呭彲浠ュ厛鍥為【涓涓嬩笂涓绔燤aven鍧愭爣鐨勭浉鍏沖唴瀹廣傝繖閲岋紝鎴戜滑鏍規(guī)嵁涓涓疄闄呯殑渚嬪瓙鏉ュ垎鏋愯礬寰勭殑鐢熸垚錛岃冭檻榪欐牱涓涓瀯浠訛細(xì)groupId=org.testng銆乤rtifactId=testng銆乿ersion=5.8銆乧lassifier=jdk15銆乸ackaging=jar錛屽叾瀵瑰簲鐨勮礬寰勬寜濡備笅姝ラ鐢熸垚錛?/p>

        棣栧厛鍩轟簬鏋勪歡鐨刧roupId鍑嗗璺緞錛宖ormatAsDirectory()灝唃roupId涓殑鍙ョ偣鍒嗛殧絎﹁漿鎹㈡垚璺緞鍒嗛殧絎︼紝璇ヤ緥涓紝groupId org.testng灝變細(xì)琚漿鎹㈡垚org/testng錛屼箣鍚庡啀鍔犱竴涓礬寰勫垎闅旂鏂滄潬錛岄偅涔坥rg.testng灝辨垚涓轟簡(jiǎn)org/testng/銆?
鍩轟簬鏋勪歡鐨刟rtifactId鍑嗗璺緞錛屼篃灝辨槸鍦ㄥ墠闈㈢殑鍩虹涓婂姞涓奱rtifactId浠ュ強(qiáng)涓涓礬寰勫垎闅旂錛岃渚嬩腑鐨刟rtifactId涓簍estng錛岄偅涔堝湪榪欎竴姝ヨ繃鍚庤礬寰勫氨鎴愪負(fù)浜?jiǎn)org/testng/testng/銆?
        鎺ョ潃浣跨敤鐗堟湰淇℃伅錛屽湪鍓嶉潰鐨勫熀紜涓婂姞涓妚ersion鍜岃礬寰勫垎闅旂錛岃渚嬩腑鐗堟湰鏄?.8錛岄偅涔堣礬寰勫氨鎴愪負(fù)浜?jiǎn)org/testng/tesgng/5.8/銆?
榪欎竴姝ュ啀渚濇鍔犱笂artifactId錛屾瀯浠跺垎闅旂榪炲瓧鍙鳳紝浠ュ強(qiáng)version錛屼簬鏄瀯寤虹殑璺緞灝卞彉鎴愪簡(jiǎn)org/testng/testng/5.8/testng-5.8銆傝鑰呭彲鑳戒細(xì)娉ㄦ剰鍒拌繖閲屼嬌鐢ㄤ簡(jiǎn)artifactId.getVersion()錛岃屼笂涓姝ョ敤鐨勬槸artifactId.getBaseVersion()錛寁ersion鍜宐aseVersion鐨勫尯鍒湪鏈珷璁ㄨSNAPSHOT鐨勬椂鍊欎細(xì)鍏蜂綋闃愯堪銆?
绱ф帴鐫濡傛灉鏋勪歡鏈塩lassifier錛屽氨鍔犱笂鏋勪歡鍒嗛殧絎﹀拰classifier錛岃渚嬩腑鏋勪歡鐨刢lassifier鏄痡dk15錛岄偅涔堣礬寰勫氨鍙樻垚org/testng/testng/5.8/testng-5.8-jdk5銆?
鏈鍚庣媯(gè)鏌ユ瀯浠剁殑extension錛岃嫢extension瀛樺湪錛屽垯鍔犱笂鍙ョ偣鍒嗛殧絎﹀拰extension錛屼粠浠g爜涓彲浠ョ湅鍒幫紝extension鏄粠artifactHandler鑰岄潪artifact鑾峰彇錛宎rtifactHandler鏄敱欏圭洰鐨刾ackaging鍐沖畾鐨勶紝鍥犳鍙互璇達(dá)紝packaging鍐沖畾浜?jiǎn)鏋勪欢鐨勬墿灞曞悕锛岃渚嬬殑packaging鏄殑jar錛屽洜姝ゆ渶緇堢殑璺緞涓簅rg/testng/testng/5.8/testng-5.8-jdk5.jar銆?
        鍒拌繖閲岀瑪鑰咃紙鍖呮嫭璇昏呬綘錛夐兘搴旇鎰熻阿Maven寮婧愮ぞ鍖猴紝姝f槸鐢變簬Maven鐨勬墍鏈夋簮浠g爜閮芥槸寮鏀劇殑錛屾垜浠墠鑳戒粩緇嗗緱娣卞叆鍒板叾鍐呴儴宸ヤ綔鐨勬墍鏈夌粏鑺傘?
        鐢變簬Maven浠撳簱鏄熀浜庣畝鍗曟枃浠剁郴緇熷瓨鍌ㄧ殑錛岀幇鍦ㄦ垜浠張鐞嗚В浜?jiǎn)鍏跺瓨鍌ㄦ柟寮忓Q屽洜姝ゅ綋閬囧埌涓浜涗笌浠撳簱鐩稿叧鐨勯棶棰樻椂錛屽彲浠ュ緢鏂逛究鐨勬煡鎵劇浉鍏蟲枃浠訛紝鏂逛究瀹氫綅闂銆備緥濡傚綋Maven鏃犳硶鑾峰緱欏圭洰澹版槑鐨勪緷璧栨椂錛屽彲浠ョ畝鍗曡渚濊禆瀵瑰簲鐨勬枃浠跺湪浠撳簱涓槸鍚﹀瓨鍦紝濡傛灉涓嶅瓨鍦紝鏄惁鏈夊叾瀹冪増鏈彲鐢紝絳夌瓑銆?

 



]]>
主站蜘蛛池模板: 国产伦精品一区二区免费| 亚洲精品无码av人在线观看| 久久国产精品免费视频| 羞羞网站免费观看| 亚洲精品自偷自拍无码| 亚洲毛片基地日韩毛片基地| av在线亚洲欧洲日产一区二区| 动漫黄网站免费永久在线观看| 热99RE久久精品这里都是精品免费| 国产精品亚洲一区二区三区在线观看| 亚洲成人福利在线观看| 亚洲AV无码一区东京热久久| 精品亚洲成α人无码成α在线观看| 午夜影视在线免费观看| 91免费精品国自产拍在线不卡| 91香蕉国产线在线观看免费| 黄页免费在线观看| 久久久WWW免费人成精品| 一级毛片免费播放试看60分钟| 天天综合亚洲色在线精品| 亚洲精品无码久久| 中文字幕无码亚洲欧洲日韩| 亚洲乱码在线播放| 亚洲午夜国产精品| 亚洲一欧洲中文字幕在线| 亚洲成综合人影院在院播放| 亚洲精品电影天堂网| 亚洲精品午夜视频| 亚洲激情校园春色| 亚洲人成777在线播放| 亚洲小视频在线播放| 亚洲人成网站在线观看播放青青| 亚洲美女一区二区三区| 亚洲国产高清视频在线观看| 亚洲国产成人九九综合| 亚洲一级毛片在线播放| 亚洲女女女同性video| 亚洲hairy多毛pics大全| 国产精品亚洲专区无码不卡| 日韩一级片免费观看| aa级毛片毛片免费观看久|