Top Banner
Artifact Management Managing Maven and other artifacts in Perforce
10

Artifact Management Managing Maven and other artifacts in Perforce.

Jan 14, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Artifact Management Managing Maven and other artifacts in Perforce.

Artifact Management

Managing Maven and other artifacts in Perforce

Page 2: Artifact Management Managing Maven and other artifacts in Perforce.

Artifact definition

‘... one of many tangible by-products produced during the development of software.’

Wikipedia: Artifact (software development)

Page 3: Artifact Management Managing Maven and other artifacts in Perforce.

Build Process

Typically compiled source code generated and/or consumed by a Build Process.

e.g. C libraries, Java Jars, Ruby Gems, Python Eggs...

Page 4: Artifact Management Managing Maven and other artifacts in Perforce.

Other artifacts

A Build Process may consume other non source generated Artifacts.

e.g. Docker images, Vagrant boxes, Multi-media files...

Page 5: Artifact Management Managing Maven and other artifacts in Perforce.

Build process

Source Control

1001010011101100

1001010011101100

CI / Build pipeline

ArtifactRepo

3rd party artifacts

Result

Page 6: Artifact Management Managing Maven and other artifacts in Perforce.

Artifact repository

The Artifact repo performs two main roles.o Storage & Distribution o Management of the artifacts

Page 7: Artifact Management Managing Maven and other artifacts in Perforce.

Storage & Distribution

o Store artifacts with meta-datao Created artifacts

• releases, nightly builds, etc...

o Third party artifacts • treated differently for legal / technical

o Proxy for Distribution

Page 8: Artifact Management Managing Maven and other artifacts in Perforce.

Management

o Browse stored artifactso Configure Proxy cachingo Search artifacts• both meta-data and content

o Deploy / upload new artifacts

Page 9: Artifact Management Managing Maven and other artifacts in Perforce.

Combining technology

1001010011101100

1001010011101100

Management

P4P Pull

Distribution

Storage

?

Page 10: Artifact Management Managing Maven and other artifacts in Perforce.

Technology

o Java Spark (light weight framework)

o Jetty (embedded web server)

o P4Search (api for search service)

o P4Java (api for Perforce)

Bootstrap 3, JQuery, Freemarker, DropzoneJS