Changes for document Nexus Migration Guide

From version 24.1
edited by Guillaume Sauthier
on 2011/11/30 14:39
To version 25.1
edited by Guillaume Sauthier
on 2011/12/07 10:41
Change comment: There is no comment for this version

Content changes

... ... @@ -7,7 +7,7 @@
7 7 Nexus administrators should read the [[admin guide>>Nexus_Administrator_Guide]] to setup Nexus for a new project.
8 8 {{/warning}}
9 9
10 -== Migration ==
10 += Migration =
11 11
12 12 OW2 has installed a Nexus maven repository manager to provide a better management of the maven development process.
13 13
... ... @@ -39,7 +39,7 @@
39 39
40 40 Releases managers also have to read this guide before their first release.
41 41
42 -=== Staging ===
42 +== Staging ==
43 43
44 44 Staging is a mechanism provided by Nexus helping to manage quality of the releases.
45 45 Once the release has been performed (using the maven release plugin), the artifacts are still not publicly available in the release repository.
... ... @@ -53,22 +53,22 @@
53 53
54 54 Once the staging repository has been released, artifacts flow to the release repository and are then synched into central.
55 55
56 -== First Release ==
56 += First Release =
57 57
58 58 Before performing the first project's release on Nexus, a couple of changes need to be done.
59 59
60 -=== Versions ===
60 +== Versions ==
61 61
62 -==== Maven ====
62 +=== Maven ===
63 63
64 64 Releases Managers can only releases using a Maven v2.2.x or Maven 3.x (due to some GPG signatures issues).
65 65
66 -==== Plugins ====
66 +=== Plugins ===
67 67
68 68 Maven 3 considers that plugins declared without a fixed version are threatening the stability of the build.
69 69 It is therefore a good move to manage the project's plugins versions.
70 70
71 -=== Changing Parent's POM ===
71 +== Changing Parent's POM ==
72 72
73 73 Any released module must inherit (directly or indirectly) from the [[OW2 organizational POM>>http://repository.ow2.org/nexus/content/repositories/releases/org/ow2/ow2/]] (GAV : ##org.ow:ow2##).
74 74
... ... @@ -93,17 +93,17 @@
93 93 </project>
94 94 {{/code}}
95 95
96 -=== GPG Key ===
96 +== GPG Key ==
97 97
98 98 All released artifacts must be signed with a GPG key.
99 99
100 100 Release Managers **must** read the [[Maven/GPG documentation>>https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven]]. They should not forget to **distribute their public key** to key servers.
101 101
102 -=== POM Rules ===
102 +== POM Rules ==
103 103
104 104 Theses rules applies to the parent POM of the staged artifacts (for a multi-module project).
105 105
106 -==== General ====
106 +=== General ===
107 107
108 108 Project POM must have the following elements:
109 109
... ... @@ -120,7 +120,7 @@
120 120 * ##<scm><connection>##
121 121 * ##<developers>##
122 122
123 -==== No Releases Repositories ====
123 +=== No Releases Repositories ===
124 124
125 125 {{info}}
126 126 This rule is currently not applied **yet** for central synchronization (but might be in the future).
... ... @@ -148,13 +148,13 @@
148 148 * [[Why Putting Repositories in your POMs is a Bad Idea>>http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/]]
149 149 * [[Why external repos are being phased out of Central>>http://www.sonatype.com/people/2010/03/why-external-repos-are-being-phased-out-of-central/]]
150 150
151 -=== Tips ===
151 +== Tips ==
152 152
153 153 * ##wagon-ssh## in ##build/extensions## is not required anymore (except for thoses producing a maven site with scp).
154 154 * Use the ##ow2-release## release profile if you want to add specific release behavior
155 155 * Update your ##/.m2/settings.xml## to use ##<password>## instead of (or in addition to) ##<privateKey>## for the ##ow2.releases## and ##ow2.snapshots## servers.
156 156
157 -== References ==
157 += References =
158 158
159 159 * [[Nexus Book>>http://www.sonatype.com/repository-management-with-nexus-book.html]]
160 160 * [[Central Synchronization Requirements>>https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-6.CentralSyncRequirement]]

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4.4 - Documentation
Powered by XWiki Hosted by Xsalto Free PageRank Checker Creative Commons 2.0 license Legal Notice