zoukankan      html  css  js  c++  java
  • maven POM搜索网址

    http://search.maven.org

    http://repository.apache.org
    http://www.artifact-repository.org
    http://mvnrepository.com
    http://www.mvnbrowser.com
    http://www.jarvana.com
    http://mavensearch.net

    pom.xml示例:

    <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.wcg</groupId>
    	<artifactId>HelloWorldArtifactId</artifactId>
    	<version>0.0.1-SNAPSHOT</version>
    	<packaging>jar</packaging>
    
    	<name>HelloWorldArtifactId</name>
    	<url>http://maven.apache.org</url>
    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-jar-plugin</artifactId>
    				<version>2.3.1</version>				
    				<configuration>
    					<archive>
    						<manifest>
    							<mainClass>com.wcg.HelloWorldArtifactId.App</mainClass>							
    						</manifest>						
    					</archive>					
    				</configuration>
    			</plugin>
    
    		</plugins>
    	</build>
    	<properties>
    		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    	</properties>
    
    	<repositories>
    	</repositories>
    	<dependencies>
    
    		<dependency>
    			<groupId>commons-lang</groupId>
    			<artifactId>commons-lang</artifactId>
    			<version>2.1</version>
    		</dependency>
    		<dependency>
    			<groupId>org.codehaus.plexus</groupId>
    			<artifactId>plexus-utils</artifactId>
    			<version>1.1</version>
    		</dependency>
    
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>3.8.1</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>log4j</groupId>
    			<artifactId>log4j</artifactId>
    			<version>1.2.16</version>
    			<scope>provided</scope>
    		</dependency>
    		<dependency>
    			<groupId>commons-logging</groupId>
    			<artifactId>commons-logging</artifactId>
    			<version>1.1.1</version>
    			<scope>provided</scope>
    		</dependency>
    	</dependencies>
    </project>
    
  • 相关阅读:
    再说ASP.NET 缓存
    asp.net 动态加载的用户控件属性传id值问题
    关于四季学期数据库设计问题
    如何在IIS里对网站限速
    命名空间与程序集
    多GridView页面中使用AJAX的优化方法
    OutputCache cookies 问题
    速度优化之GZIP对jscss压缩
    canphp框架论坛成立www.canphp.com/bbs/index.php现在论坛内测中
    js selection对象使用方法
  • 原文地址:https://www.cnblogs.com/wucg/p/2077753.html
Copyright © 2011-2022 走看看