- Nexus
Download Nexus and gain control over open source consumption and internal collaboration.
http://www.sonatype.org/nexus/
Artifactory
Proxy
Local Cache
It
Control
It blocks unwanted (and sometimes security-sensitive) external requests for internal artifacts and controls how and where artifacts
http://www.jfrog.com/home/v_artifactory_opensource_overview
- Empower Hudson with
Artifactory - Track and Replay Your Build Artifacts
Using one of the different flavors of version control applications, you can easily reproduce the state of any point in the past using the different methods of SCM tagging.
what happens when you want to reproduce binary products from a certain phase?
Are dependencies considered?
Does anyone really remember
What if you used version ranges or dynamic properties?
Was the application compiled using JDK 5 or 6?
Your CI server has all the knowledge required
Information on the builds themselves
The published items
Version information
Dependencies
Build environment details
Using Hudson (and others to
Supplied Hudson with all the needed dependencies from
Deployed all produced binaries to
Published build information to
With the
http://java.dzone.com/articles/empower-hudson-artifactory
Archiva
Apache
http://archiva.apache.org/
- In a continuous integration environment,
where buildsare often triggered by checking in artifacts, there is the potential fora large number of builds tobe executed . Each of these builds, at least the successful ones, results in some artifacts being published into the repository. These can start consuming a lot of space, and it is important to manage them.
Repository Purge by Number of Days Older
Repository Purge by Retention Count
Both
Repository Purge by Number of Days Older
Repository Purge By Retention Count
To use this method, you must set the purge-by-days-older value to 0.
http://docs.oracle.com/middleware/1212/core/MAVEN/populating_archiva.htm
- Maven Repository Manager,
Archiva in this case, includesthe following :
Internal:
Snapshot:
Mirror:
Dev, test,
http://docs.oracle.com/middleware/1212/core/MAVEN/intro_ref_ede.htm
- We use Maven 2 to resolve dependencies and build the source code into packages.
With the
Hudson will be the tool to start up the build process every day and notify the developers when the build fails.
By default you'll have 2 Managed repositories. An internal one you can use as a proxy
for the company, and a snapshots repository to put your snapshot builds
Besides those there are
also remote repositories. These are other Maven repositories where Archiva will look for
dependencies when they aren't in your own repositories.
You can also add remote repositories. This is useful if you want to set up a proxy repository for
your company. This way your company users only have to access the internal repository and
don't need to go to the internet.
You can let Hudson poll the SCM and rebuild after every commit. You can also let it build periodical by specifying a cron job
archiva starts up with two hosted repositories configured:
Internal
The internal repository is for maintaining fixed-version released artifacts deployed by your organization, which includes finished versions of artifacts, versions that are no longer in development, and released versions. Note that in-development versions of the same artifacts may exist in the snapshot repository in the future.
Snapshot
The snapshot repository holds the work-in-progress artifacts, which are denoted with a version with the suffix SNAPSHOT, and artifacts that have not yet been released.
http://docs.oracle.com/middleware/1212/core/MAVEN/populating_archiva.htm
- Efficiency. Repository acts as a cache for Maven Central artifacts
Resilience. Repository protects against remote repository failures or lack of internet connection
Repeatability. Storing common artifacts centrally, avoids shared build failures caused by developers maintaining their own local repositories.
Audit. If all 3rd party libraries used by development come from a single entry point in the build process one can assess how often they're used (based on download log files) and what kinds of licensing conditions apply.
http://stackoverflow.com/questions/8259118/good-configuration-for-archiva
- By default, Archiva comes with a proxy to the mavenSW central repository. Therefore, it's basically all set up to be used as a mirror of the maven central repository. If we make a request of Archiva for an artifact for a central repository artifact, it will download that artifact and return that artifact to us. If we make future requests for that artifact, Archiva will return to us the copy of the artifact that it had already downloaded from the central repository.
http://www.avajava.com/tutorials/lessons/how-do-i-use-archiva-as-a-mirror-of-the-maven-central-repository.html
No comments:
Post a Comment