SlideShare una empresa de Scribd logo
1 de 18
REPOSITORY
 Submitted to:
Sir H.M Shafique sahib
Submitted by:
Shafiq-ur-rehman
Roll. no. 04 BS(hons)
The Islamia university of
Bahawalpur
REPOSITORY
1. A repository can be a place where multiple databases
or files are located for distribution over a network, or
a repository can be a location that is directly
accessible to the user without having to travel across
a network.
 2. In a CASE development system, a
database of information about the software,
including data elements, processes, inputs,
outputs and interrelationships. A CASE
system uses a repository to identify objects
and rules for reuse.
Repository
Are two types of
There
1.Local
2.Remote
THE LOCAL REPOSITORY:
Refers to a copy on your own installation
that is a cache of the remote downloads,
and also contains the temporary build
artifacts that you have not yet released.
REMOTE REPOSITORIES:
 refer to any other type of repository,
accessed by a variety of protocols such as
file:// and http://. These repositories might be
a truly remote repository set up by a third
party to provide their artifacts for downloading
(for example, repo.maven.apache.org and
uk.maven.org house Maven's central
repository). Other "remote" repositories may
be internal repositories set up on a file or
HTTP server within your company, used to
share private artifacts between development
teams and for releases.
THIS HAS THE FOLLOWING ADVANTAGES:
 It uses less storage - while a repository is
typically quite large, because each JAR is
only kept in the one place it is actually
saving space, even though it may not
seem that way
 It makes checking out a project quicker -
initial checkout, and to a small degree
updating, a project will be faster if there
are no large binary files in CVS. While
they may need to be downloaded again
afterwards anyway, this only happens
once and may not be necessary for some
common JARs already in place.
 No need for versioning - CVS and other
source control systems are designed for
versioning files, but external dependencies
typically don't change, or if they do their
filename changes anyway to indicate the
new version. Storing these in CVS doesn't
have any added benefit over keeping them in
a local artifact cache.
USING REPOSITORIES
 In general, you should not need to do
anything with the local repository on a
regular basis, except clean it out if you are
short on disk space (or erase it completely if
you are willing to download everything
again).
 For the remote repositories, they are used for
both downloading and uploading (if you have
the permission to do so).
 You can set this in your settings.xml file to
globally use a certain mirror, however note
that it is common for a project to customize
the repository in their pom.xml and that your
setting will take precedence. If you find that
dependencies are not being found, check
you have not overridden the remote
repository.
UPLOADING TO A REMOTE REPOSITORY
 While this is possible for any type of remote
repository, you must have the permission to
do so. To have someone upload to the
central Maven repository, see Repository
Center
INTERNAL REPOSITORIES
Particularly in a corporate environment,
connecting to the internet to download
dependencies is not acceptable for security,
speed or bandwidth reasons. For that reason, it
is desirable to set up an internal repository to
house a copy of artifacts, and to publish private
artifacts to. Such an internal repository can be
downloaded from using HTTP or the file system
(using a file:// URL), and uploaded to using SCP,
FTP, or a file copy.
 To set up an internal repository just requires
that you have a place to put it, and then start
copying required artifacts there using the
same layout as in a remote repository such
as repo.maven.apache.org.
Thanks

Más contenido relacionado

La actualidad más candente

Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...
Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...
Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...
bacongobbler
 

La actualidad más candente (7)

머신 중심에서 애플리케이션 중심으로 불변의 인프라스트럭처 개념 이해
머신 중심에서 애플리케이션 중심으로 불변의 인프라스트럭처 개념 이해머신 중심에서 애플리케이션 중심으로 불변의 인프라스트럭처 개념 이해
머신 중심에서 애플리케이션 중심으로 불변의 인프라스트럭처 개념 이해
 
Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...
Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...
Docker-Vancouver Meetup - March 18, 2014 - Contain(erize) the tests - Mark Ei...
 
Understanding the container landscape and it associated projects
Understanding the container landscape and it associated projectsUnderstanding the container landscape and it associated projects
Understanding the container landscape and it associated projects
 
Mastering OpenStack - Episode 04 - Provisioning and Deployment
Mastering OpenStack - Episode 04 - Provisioning and DeploymentMastering OpenStack - Episode 04 - Provisioning and Deployment
Mastering OpenStack - Episode 04 - Provisioning and Deployment
 
Hotbackup
HotbackupHotbackup
Hotbackup
 
openQRM is Not Dead
openQRM is Not DeadopenQRM is Not Dead
openQRM is Not Dead
 
CI/CD with Docker, DC/OS, and Jenkins
CI/CD with Docker, DC/OS, and JenkinsCI/CD with Docker, DC/OS, and Jenkins
CI/CD with Docker, DC/OS, and Jenkins
 

Destacado

Cinco trampas tendidas a la educación
Cinco trampas tendidas a la educaciónCinco trampas tendidas a la educación
Cinco trampas tendidas a la educación
tabata0911
 
OTC Greenlight Summary of Services
OTC Greenlight Summary of ServicesOTC Greenlight Summary of Services
OTC Greenlight Summary of Services
Neenan, Pete
 
Sosiale medier strategi
Sosiale medier strategiSosiale medier strategi
Sosiale medier strategi
SomeJrgn
 
Monik trabajo powerpoint
Monik trabajo powerpointMonik trabajo powerpoint
Monik trabajo powerpoint
monicanathali18
 
Terremoto artículos terremoto
Terremoto   artículos terremotoTerremoto   artículos terremoto
Terremoto artículos terremoto
tabata0911
 
5 puzzle pieces powerpoint presentation templates
5 puzzle pieces powerpoint presentation templates5 puzzle pieces powerpoint presentation templates
5 puzzle pieces powerpoint presentation templates
SlideTeam.net
 
Yves rocher étude de cas
Yves rocher étude de casYves rocher étude de cas
Yves rocher étude de cas
Majda Belfquih
 

Destacado (14)

Cinco trampas tendidas a la educación
Cinco trampas tendidas a la educaciónCinco trampas tendidas a la educación
Cinco trampas tendidas a la educación
 
Refle
RefleRefle
Refle
 
OTC Greenlight Summary of Services
OTC Greenlight Summary of ServicesOTC Greenlight Summary of Services
OTC Greenlight Summary of Services
 
TICS
TICSTICS
TICS
 
Sosiale medier strategi
Sosiale medier strategiSosiale medier strategi
Sosiale medier strategi
 
Monik trabajo powerpoint
Monik trabajo powerpointMonik trabajo powerpoint
Monik trabajo powerpoint
 
Terremoto artículos terremoto
Terremoto   artículos terremotoTerremoto   artículos terremoto
Terremoto artículos terremoto
 
Company Profile
Company ProfileCompany Profile
Company Profile
 
Entrepreneurial Venture and Its Components
Entrepreneurial Venture and Its ComponentsEntrepreneurial Venture and Its Components
Entrepreneurial Venture and Its Components
 
5 puzzle pieces powerpoint presentation templates
5 puzzle pieces powerpoint presentation templates5 puzzle pieces powerpoint presentation templates
5 puzzle pieces powerpoint presentation templates
 
presentation Yves Rocher
presentation Yves Rocherpresentation Yves Rocher
presentation Yves Rocher
 
Yves rocher étude de cas
Yves rocher étude de casYves rocher étude de cas
Yves rocher étude de cas
 
SOLD | 1640 F St, Sparks | 2 Units | $315k | 6.5% Cap
SOLD | 1640 F St, Sparks | 2 Units | $315k | 6.5% CapSOLD | 1640 F St, Sparks | 2 Units | $315k | 6.5% Cap
SOLD | 1640 F St, Sparks | 2 Units | $315k | 6.5% Cap
 
Pestel analysis : Banking sector
Pestel analysis : Banking sectorPestel analysis : Banking sector
Pestel analysis : Banking sector
 

Similar a Repository

Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
Hiroki Endo
 
Maven with Flex
Maven with FlexMaven with Flex
Maven with Flex
Priyank
 
Slide set 7 (Source Code Management History Overview) - Copy.pptx
Slide set 7 (Source Code Management History  Overview) - Copy.pptxSlide set 7 (Source Code Management History  Overview) - Copy.pptx
Slide set 7 (Source Code Management History Overview) - Copy.pptx
UTKARSHBHARDWAJ71
 

Similar a Repository (20)

Continuous Integration Fundamentals: Maven - OFM Canberra July 2014
Continuous Integration Fundamentals: Maven - OFM Canberra July 2014Continuous Integration Fundamentals: Maven - OFM Canberra July 2014
Continuous Integration Fundamentals: Maven - OFM Canberra July 2014
 
Pantheon basics
Pantheon basicsPantheon basics
Pantheon basics
 
Mavennotes.pdf
Mavennotes.pdfMavennotes.pdf
Mavennotes.pdf
 
Introduction to maven
Introduction to mavenIntroduction to maven
Introduction to maven
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Maven
MavenMaven
Maven
 
Geek Week 2016 - Deep Dive To Openstack
Geek Week 2016 -  Deep Dive To OpenstackGeek Week 2016 -  Deep Dive To Openstack
Geek Week 2016 - Deep Dive To Openstack
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
A Survey of Container Security in 2016: A Security Update on Container Platforms
A Survey of Container Security in 2016: A Security Update on Container PlatformsA Survey of Container Security in 2016: A Security Update on Container Platforms
A Survey of Container Security in 2016: A Security Update on Container Platforms
 
Maven with Flex
Maven with FlexMaven with Flex
Maven with Flex
 
Maven with Flex
Maven with FlexMaven with Flex
Maven with Flex
 
Subversion
SubversionSubversion
Subversion
 
State of the Container Ecosystem
State of the Container EcosystemState of the Container Ecosystem
State of the Container Ecosystem
 
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicHTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
 
Slide set 7 (Source Code Management History Overview) - Copy.pptx
Slide set 7 (Source Code Management History  Overview) - Copy.pptxSlide set 7 (Source Code Management History  Overview) - Copy.pptx
Slide set 7 (Source Code Management History Overview) - Copy.pptx
 
Maven Nexus
Maven NexusMaven Nexus
Maven Nexus
 
Extending Build to the Client: A Maven User's Guide to Grunt.js
Extending Build to the Client: A Maven User's Guide to Grunt.jsExtending Build to the Client: A Maven User's Guide to Grunt.js
Extending Build to the Client: A Maven User's Guide to Grunt.js
 
dh-slides-perf.ppt
dh-slides-perf.pptdh-slides-perf.ppt
dh-slides-perf.ppt
 

Más de Shafiq-ur-rehman Ansari

The new roles and strategies for information professionals
The new roles and strategies for information professionalsThe new roles and strategies for information professionals
The new roles and strategies for information professionals
Shafiq-ur-rehman Ansari
 
The effect of digital publishing on technical services
The effect of digital publishing on technical servicesThe effect of digital publishing on technical services
The effect of digital publishing on technical services
Shafiq-ur-rehman Ansari
 
Applicationsofcomputer 120103114640-phpapp01
Applicationsofcomputer 120103114640-phpapp01Applicationsofcomputer 120103114640-phpapp01
Applicationsofcomputer 120103114640-phpapp01
Shafiq-ur-rehman Ansari
 

Más de Shafiq-ur-rehman Ansari (20)

The Islamia University of Bahawalpur, Islamia university library, Sir sadiq M...
The Islamia University of Bahawalpur, Islamia university library, Sir sadiq M...The Islamia University of Bahawalpur, Islamia university library, Sir sadiq M...
The Islamia University of Bahawalpur, Islamia university library, Sir sadiq M...
 
Business risk & Insurance
Business risk & InsuranceBusiness risk & Insurance
Business risk & Insurance
 
The Islamia University of Bahawalpur, IUB 2014
The Islamia University of Bahawalpur, IUB 2014The Islamia University of Bahawalpur, IUB 2014
The Islamia University of Bahawalpur, IUB 2014
 
Proximity word and Reserved word
Proximity word and Reserved wordProximity word and Reserved word
Proximity word and Reserved word
 
The new roles and strategies for information professionals
The new roles and strategies for information professionalsThe new roles and strategies for information professionals
The new roles and strategies for information professionals
 
The effect of digital publishing on technical services
The effect of digital publishing on technical servicesThe effect of digital publishing on technical services
The effect of digital publishing on technical services
 
Endnote
EndnoteEndnote
Endnote
 
Circulation section
Circulation sectionCirculation section
Circulation section
 
Coordination
CoordinationCoordination
Coordination
 
Gad and Birgit Rousing Library of LUMS, Lahore University of Management Science
Gad and Birgit Rousing Library of LUMS, Lahore University of Management ScienceGad and Birgit Rousing Library of LUMS, Lahore University of Management Science
Gad and Birgit Rousing Library of LUMS, Lahore University of Management Science
 
Networking topology
Networking topologyNetworking topology
Networking topology
 
Punjab University Library Case Study
Punjab University Library Case StudyPunjab University Library Case Study
Punjab University Library Case Study
 
Digital library Assignment
Digital library AssignmentDigital library Assignment
Digital library Assignment
 
A brief history sirsidynamix
A brief history sirsidynamixA brief history sirsidynamix
A brief history sirsidynamix
 
Applicationsofcomputer 120103114640-phpapp01
Applicationsofcomputer 120103114640-phpapp01Applicationsofcomputer 120103114640-phpapp01
Applicationsofcomputer 120103114640-phpapp01
 
HEC digital Library of Pakistan
HEC digital Library of PakistanHEC digital Library of Pakistan
HEC digital Library of Pakistan
 
literature_review
literature_reviewliterature_review
literature_review
 
Qualities of a librarian as a good manager
Qualities of a librarian as a good managerQualities of a librarian as a good manager
Qualities of a librarian as a good manager
 
Problems in periodical publications in pakistan
Problems in periodical publications in pakistanProblems in periodical publications in pakistan
Problems in periodical publications in pakistan
 
Principles of Management by henri fayol
Principles of Management by henri fayol Principles of Management by henri fayol
Principles of Management by henri fayol
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

Repository

  • 1. REPOSITORY  Submitted to: Sir H.M Shafique sahib Submitted by: Shafiq-ur-rehman Roll. no. 04 BS(hons) The Islamia university of Bahawalpur
  • 2. REPOSITORY 1. A repository can be a place where multiple databases or files are located for distribution over a network, or a repository can be a location that is directly accessible to the user without having to travel across a network.
  • 3.  2. In a CASE development system, a database of information about the software, including data elements, processes, inputs, outputs and interrelationships. A CASE system uses a repository to identify objects and rules for reuse.
  • 4.
  • 7. THE LOCAL REPOSITORY: Refers to a copy on your own installation that is a cache of the remote downloads, and also contains the temporary build artifacts that you have not yet released.
  • 8. REMOTE REPOSITORIES:  refer to any other type of repository, accessed by a variety of protocols such as file:// and http://. These repositories might be a truly remote repository set up by a third party to provide their artifacts for downloading (for example, repo.maven.apache.org and uk.maven.org house Maven's central repository). Other "remote" repositories may be internal repositories set up on a file or HTTP server within your company, used to share private artifacts between development teams and for releases.
  • 9. THIS HAS THE FOLLOWING ADVANTAGES:
  • 10.  It uses less storage - while a repository is typically quite large, because each JAR is only kept in the one place it is actually saving space, even though it may not seem that way
  • 11.  It makes checking out a project quicker - initial checkout, and to a small degree updating, a project will be faster if there are no large binary files in CVS. While they may need to be downloaded again afterwards anyway, this only happens once and may not be necessary for some common JARs already in place.
  • 12.  No need for versioning - CVS and other source control systems are designed for versioning files, but external dependencies typically don't change, or if they do their filename changes anyway to indicate the new version. Storing these in CVS doesn't have any added benefit over keeping them in a local artifact cache.
  • 13. USING REPOSITORIES  In general, you should not need to do anything with the local repository on a regular basis, except clean it out if you are short on disk space (or erase it completely if you are willing to download everything again).  For the remote repositories, they are used for both downloading and uploading (if you have the permission to do so).
  • 14.  You can set this in your settings.xml file to globally use a certain mirror, however note that it is common for a project to customize the repository in their pom.xml and that your setting will take precedence. If you find that dependencies are not being found, check you have not overridden the remote repository.
  • 15. UPLOADING TO A REMOTE REPOSITORY  While this is possible for any type of remote repository, you must have the permission to do so. To have someone upload to the central Maven repository, see Repository Center
  • 16. INTERNAL REPOSITORIES Particularly in a corporate environment, connecting to the internet to download dependencies is not acceptable for security, speed or bandwidth reasons. For that reason, it is desirable to set up an internal repository to house a copy of artifacts, and to publish private artifacts to. Such an internal repository can be downloaded from using HTTP or the file system (using a file:// URL), and uploaded to using SCP, FTP, or a file copy.
  • 17.  To set up an internal repository just requires that you have a place to put it, and then start copying required artifacts there using the same layout as in a remote repository such as repo.maven.apache.org.