Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Repository

Another concept in Maven is that of a repository. The repository holds the artifacts on which your project depends. There are two kinds of repository: local and remote. Both of them can be declaratively set. Unless specified otherwise, the local repositor

Tutorial Details:

Another concept in Maven is that of a repository. The repository holds the artifacts on which your project depends. There are two kinds of repository: local and remote. Both of them can be declaratively set. Unless specified otherwise, the local repository is created in a special directory called ".m2/repository". In Windows, this directory is created in C:\Documents and Settings\Administrator. For example, if your project depends on commons-logging version 1.0.4, you can specify the dependency in pom.xml and when maven is executed, it will copy the appropriate commons-logging jar file from the remote repository to the local repository and then use it to build your project's artifact like JARs, WARs, EARs etc.


 

Rate Tutorial:
http://www.roseindia.net/maven2/repository.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Repository

View Tutorial:
Repository

Related Tutorials:

Alternative deployment methods, Part 2: The best of both worlds - JavaWorld July 2000
Alternative deployment methods, Part 2: The best of both worlds - JavaWorld July 2000
 
Alternative deployment methods, Part 3: The code - JavaWorld September 2000
Alternative deployment methods, Part 3: The code - JavaWorld September 2000
 
Manage distributed sessions - JavaWorld April 2001
Manage distributed sessions - JavaWorld April 2001
 
The basics of Java class loaders
The basics of Java class loaders
 
Ilog JRules 4.0: Working by the rules
Ilog JRules 4.0: Working by the rules
 
Business process automation made easy with Java, Part 1
Business process automation made easy with Java, Part 1
 
J2SE 1.4 breathes new life into the CORBA community, Part 2
J2SE 1.4 breathes new life into the CORBA community, Part 2
 
Maven ties together tools for better code management
Maven ties together tools for better code management
 
Very interesting article
Very interesting article
 
Java and Security, Part 2
Java and Security The Providers Now we\'ll take a closer look at the different SSPIs that constitute a security realm. We\'ll learn about WebLogic\'s default implementation of these security providers and how to configure them. The default implementat
 
Framework for Java Database Connectivity
What is Framework for Java Database Connectivity? The Framework for Java Database Connectivity (JDBC) was implemented to demonstrate the ease with which a JavaTM application may be designed to access a source code repository using a relational query lang
 
Java look and feel icons
These pages contain a collection of toolbar button graphics. The graphics have been designed specifically for use with the Java look and feel. They conform to the Java look and feel Design Guidelines (see the "Designing Button Graphics" section of the "Ap
 
An example of public use
ashkelon lite "ashkelon lite" provides all the benefits of the ashkelon product without any of the hassle and overhead. It's ashkelon in a war file. There's no need to setup a database, no need to configure _anything_, not even to populate a repository
 
g4j - GMail API for Java
GMailer API for Java (g4j) is set of API that allows Java programmer to communicate to GMail. With G4J programmers can made Java based application that based on huge storage of GMail.
 
Portlet Community
Portlet Community If J2EE based portals, JSR 168 or WSRP mean anything to you, you have come to the right place.
 
Jakarta Taglibs
This project is an open-source repository for JSP custom tag libraries and associated projects, such as TagLibraryValidator classes and extensions to page-creation tools to support tag libraries.
 
Running Lucene Search on WebLogic Portal 8.1
Lucene comes with two main services available: indexing and searching. The indexing tasks are done independently from the search tasks. Both the index and search services are available so that developers can extend them to meet their needs.
 
We are providing Downloadable Version of K12LTSP Linux
We are providing Downloadable Version of K12LTSP Linux K12LTSP Linux Now Available Linux K12LTSP 4.2.0 CD's K12LTSP 4.2.0 is based on Fedora Core 3 and the LTSP terminal server packages. It's easy to install and configure. It's distributed under
 
JLAN Server v3.5 - Database Filesystems
*JLAN Server* is a high performance Java based file server supporting Windows file sharing (SMB/CIFS), NFS and FTP protocols.
 
StatCVS offers a view into CVS repository activity
StatCVS is a handy utility for creating charts of a Concurrent Versions System (CVS) repository\'s activity.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.