diff options
author | Maria Odea B. Ching <oching@apache.org> | 2009-03-15 04:54:09 +0000 |
---|---|---|
committer | Maria Odea B. Ching <oching@apache.org> | 2009-03-15 04:54:09 +0000 |
commit | 18bb01e2cdd6aa1a347042a22e988f1b2882a095 (patch) | |
tree | c7374dfbe8a119e4570f8396cbd4bce9e865e437 /archiva-docs | |
parent | eb97307732c6cb8596aaffa96e0a04e8c55768fb (diff) | |
download | archiva-18bb01e2cdd6aa1a347042a22e988f1b2882a095.tar.gz archiva-18bb01e2cdd6aa1a347042a22e988f1b2882a095.zip |
[MRM-1099]
submitted by Lani Sara
o new documentation for Delete Artifact
o updates on deploy, browse, find and upload artifact docs
o made a few tweaks on the submitted patch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@754614 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs')
-rw-r--r-- | archiva-docs/src/site/apt/userguide/browsing.apt | 16 | ||||
-rw-r--r-- | archiva-docs/src/site/apt/userguide/delete-artifact.apt | 32 | ||||
-rw-r--r-- | archiva-docs/src/site/apt/userguide/deploy.apt | 21 | ||||
-rw-r--r-- | archiva-docs/src/site/apt/userguide/find-artifact.apt | 21 | ||||
-rw-r--r-- | archiva-docs/src/site/resources/images/upload-artifact.jpg | bin | 0 -> 31326 bytes | |||
-rw-r--r-- | archiva-docs/src/site/site.xml | 1 |
6 files changed, 74 insertions, 17 deletions
diff --git a/archiva-docs/src/site/apt/userguide/browsing.apt b/archiva-docs/src/site/apt/userguide/browsing.apt index e73c11d6d..c07b2c7c2 100644 --- a/archiva-docs/src/site/apt/userguide/browsing.apt +++ b/archiva-docs/src/site/apt/userguide/browsing.apt @@ -3,7 +3,7 @@ ------ Maria Odea Ching ------ - 9 November 2007 + 23 February 2009 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -43,28 +43,32 @@ Browsing * Artifact Info - The Artifact Info page is divided into 5 views: + Items in the repositories are hyperlinked allowing you easy access to view more information. By clicking on the Group ID or Artifact ID you will be taken to the repository browser. The Artifact Info page is divided into six views: - 1. Info. Basic information about the artifact is displayed here. These are the groupId, artifactId, version and + 1. Info. Basic information about the artifact is displayed here. These are the groupId, artifactId, version and packaging. A dependency pom snippet is also available, which a user can just copy and paste in a pom file to declare the artifact as a dependency of the project. 2. Dependencies. The dependencies of the artifact will be listed here. The user can easily navigate to a specific - dependency by clicking on the groupId, artifactId or version link. The scope of the dependency is also shown. + dependency by clicking on the groupId, artifactId, or version link. The scope of the dependency is also shown. - 3. Dependency Tree. The dependencies of the artifact are displayed in a tree-like view, which can also be + 3. Dependency Tree. The dependencies of the artifact are displayed in a tree-like view, which can also be navigated. 4. Used By. Lists all the artifacts in the repository which use this artifact. 5. Mailing Lists. The project mailing lists available in the artifact's pom are displayed here. + + 6. Download. Clicking on this link will download the artifact to your local machine. * Downloading Artifacts Artifacts can be downloaded from the artifact info page. All files, except for the metadata.xml files, that are associated with the artifact are available in the download box. The size of the files in bytes are displayed at the right section of the download box. - + + Note: Upon downloading the artifact, you will be asked to enter your username and password for the repository where the artifact will be downloaded from. Only users with Global Repository Manager, Repository Manager, or Repository Observer roles for that repository can download the artifact. +
\ No newline at end of file diff --git a/archiva-docs/src/site/apt/userguide/delete-artifact.apt b/archiva-docs/src/site/apt/userguide/delete-artifact.apt new file mode 100644 index 000000000..58f8bc487 --- /dev/null +++ b/archiva-docs/src/site/apt/userguide/delete-artifact.apt @@ -0,0 +1,32 @@ + ------ +Deleting an Artifact + ------ +25 February 2009 + ------ + +Deleting an Artifact + + The Delete Artifact feature allows artifacts to be deleted from the managed repositories. + +---- + User must have a Repository Manager role to a repository to be able to delete artifacts from it. +---- + + To delete artifacts, perform these steps: + + 1. From the left navigation menu, click <<Delete Artifact>>. This displays the Delete Artifact page. + + 2. Supply the necessary values for the following fields: + + * Group Id: The group id of the artifact to be deleted. + + * Artifact Id:The name of the artifact to be deleted. + + * Version: The specific version of the artifact to be deleted. + + * Repository Id: Select from the drop-down list the name of the managed repository where the artifact is located. + + + 3. Click Submit. + + If the artifact exists in the specified repository, it will be overwritten and the metadata.xml will also be updated. diff --git a/archiva-docs/src/site/apt/userguide/deploy.apt b/archiva-docs/src/site/apt/userguide/deploy.apt index 006513eda..bf5291c70 100644 --- a/archiva-docs/src/site/apt/userguide/deploy.apt +++ b/archiva-docs/src/site/apt/userguide/deploy.apt @@ -164,10 +164,13 @@ mvn deploy:deploy-file -Dfile=filename.jar -DpomFile=filename.pom * Deploying via the {Web UI} Form - The easiest way to deploy in the repository is via the Web UI form, which can be accessed in the 'Upload Artifact' section. + The easiest way to deploy in the repository is via the Web UI form, which can be accessed in the <<Upload Artifact>> section. Just follow these steps: - [[1]] Fill up the following required fields: + [[1]] In Archiva, click the <<Upload Artifact>> option in the left menu. You should see a form similar to + the one at the end of this section. + + [[2]] Fill in the following required fields: * Group Id - the groupId of the artifact to be deployed. @@ -181,16 +184,16 @@ mvn deploy:deploy-file -Dfile=filename.jar -DpomFile=filename.pom [] - [[2]] Select the repository you want to deploy to. Please note that if you do not have write permission to the repository, - you will not be allowed to deploy in it. + [[3]] Select the repository you want to deploy to. Please note that if you do not have write permission to the repository, + you will not be allowed to deploy on it. - [[3]] Now, if you want Archiva to generate a pom for the artifact, check the Generate Maven 2 POM field. + [[4]] Now, if you want Archiva to generate a pom for the artifact, check the Generate Maven 2 POM field. (Right now, only Maven 2 poms can be generated.) Alternately, supply a POM file to be deployed alongside the artifact. - [[4]] Click Submit and a message will be displayed notifying you if the upload/deployment was successful or not. + [[5]] Click Submit and a message will be displayed notifying you if the upload/deployment was successful or not. [] - + These are the files that will be in your repository after deployment: * artifact @@ -202,5 +205,9 @@ mvn deploy:deploy-file -Dfile=filename.jar -DpomFile=filename.pom * maven-metadata.xml.sha1 and maven-metadata.xml.md5 (these will be generated for newly created maven-metadata.xml files, otherwise they will just be updated) + [] + +[../images/upload-artifact.jpg] Upload Artifact + ~~TODO: information for Maven 1, ant tasks, ivy, etc. diff --git a/archiva-docs/src/site/apt/userguide/find-artifact.apt b/archiva-docs/src/site/apt/userguide/find-artifact.apt index 8bdfb5aba..c807f1317 100644 --- a/archiva-docs/src/site/apt/userguide/find-artifact.apt +++ b/archiva-docs/src/site/apt/userguide/find-artifact.apt @@ -24,13 +24,26 @@ Identifying an Artifact [../images/find-artifact.png] Find Artifact - Once you submit the form Archiva will look to match the checksum: + To find an artifact, perform the following steps: - * If more than one artifact matches, a list of results are returned + [[1]] Click <<Find Artifact>> in the left navigation menu. - * If a unique match is found, the individual artifact information page is returned + [[2]] On the opened page, you will see a file-upload field. Upload any JAR file (or other artifact) from your local file system. You must enter an exact filename. In general, you would use the Browse button for entering the filename. - * If no match is found, a "no results" page is returned + [[3]] Click Search. + [[4]] The whole file is not uploaded, but the checksum is. It will search the remote repository for an exact match of the file you specified and display the result of the search. + + [] + + Once you submit the form, Archiva will look to match the checksum: + + * If more than one artifact matches, a list of results is returned. + + * If a unique match is found, the individual artifact information page is returned. + + * If no match is found, a "no results" page is returned. + + [] diff --git a/archiva-docs/src/site/resources/images/upload-artifact.jpg b/archiva-docs/src/site/resources/images/upload-artifact.jpg Binary files differnew file mode 100644 index 000000000..0556d2167 --- /dev/null +++ b/archiva-docs/src/site/resources/images/upload-artifact.jpg diff --git a/archiva-docs/src/site/site.xml b/archiva-docs/src/site/site.xml index d7870c291..9104d78e1 100644 --- a/archiva-docs/src/site/site.xml +++ b/archiva-docs/src/site/site.xml @@ -34,6 +34,7 @@ <item name="Browsing" href="/userguide/browsing.html" /> <item name="Searching" href="/userguide/searching.html" /> <item name="Identifying an Artifact" href="/userguide/find-artifact.html" /> + <item name="Deleting an Artifact" href="/userguide/delete-artifact.html" /> <item name="Using as a repository" href="/userguide/using-repository.html" /> <item name="Deploying to repository" href="/userguide/deploy.html" /> <item name="Configuring Virtual Repositories" href="/userguide/virtual-repositories.html" /> |