Author: tchemit Date: 2010-07-01 12:18:41 +0200 (Thu, 01 Jul 2010) New Revision: 948 Url: http://nuiton.org/repositories/revision/mavenpom/948 Log: remove all wrong english documentation (better nothing thna wrong stuff) Modified: trunk/src/site/en/apt/MavenProjectBestPratices.apt trunk/src/site/en/apt/profiles.apt trunk/src/site/en/apt/properties.apt trunk/src/site/en/apt/release.apt trunk/src/site/en/apt/repositories.apt Modified: trunk/src/site/en/apt/MavenProjectBestPratices.apt =================================================================== --- trunk/src/site/en/apt/MavenProjectBestPratices.apt 2010-07-01 09:00:00 UTC (rev 947) +++ trunk/src/site/en/apt/MavenProjectBestPratices.apt 2010-07-01 10:18:41 UTC (rev 948) @@ -30,44 +30,4 @@ 2009-08-22 ---- -Présentation - - Ce document énumère les bonnes pratiques à retenir sur l'utilisation de maven 2. - -Préconisations générales - - Inspiration du {{{http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html} document}}. - - {{{http://www.javaworld.com/javaworld/jw-05-2006/images/jw-0529-maven1.gif} description}}. - - * toujours respecter la même organisation dans nos pom - - * les principales sections d'un pom : - - * POM Relationships - - * Project Information - - * Build Settings - - * Build Environment - - * Maven Environment - - A faire - -Création d'un nouveau projet lutin - - A faire - -Création d'un nouveau projet lutin multi-modules - - A faire - -Création d'un nouveau plugin lutin - - A faire - -Les plugins utilisés - - A faire +<<To be done soon...>>. Modified: trunk/src/site/en/apt/profiles.apt =================================================================== --- trunk/src/site/en/apt/profiles.apt 2010-07-01 09:00:00 UTC (rev 947) +++ trunk/src/site/en/apt/profiles.apt 2010-07-01 10:18:41 UTC (rev 948) @@ -34,299 +34,4 @@ This page describe all profiles defined in <mavenpom>. - <<This documentation is not up to date (only french version is...)>>. - -Overview - -*----------------------------------+---------------------------+ -| <<property>> | <<Activation property>> | -*----------------------------------+---------------------------+ -| {{notests}} | <<->> | -*----------------------------------+---------------------------+ -| {{noreports}} | <<->> | -*----------------------------------+---------------------------+ -| {{release-profile}} | <<performRelease>> | -*----------------------------------+---------------------------+ -| {{reporting}} | <<performRelease>> | -*----------------------------------+---------------------------+ -| {{update-file-header}} | <<performRelease>> | -*----------------------------------+---------------------------+ -| {{release-sign-artifacts}} | <<performRelease>> | -*----------------------------------+---------------------------+ -| {{nodepdetails}} | <<->> | -*----------------------------------+---------------------------+ -| {{nodeploacations}} | <<->> | -*----------------------------------+---------------------------+ -| {{redmine-release-profile}} | <<performRedmineRelease>> | -*----------------------------------+---------------------------+ -| {{redmine-next-version-profile}} | <<redmineNextVersion>> | -*----------------------------------+---------------------------+ -| {{webstart-profile}} | <<doWebstart>> | -*----------------------------------+---------------------------+ -| {{local-webstart-profile}} | <<doLocalWebstart>> | -*----------------------------------+---------------------------+ -| {{run}} | <<->> | -*----------------------------------+---------------------------+ -| {{update-license}} | <<updateLicense>> | -*----------------------------------+---------------------------+ -| {{central-safe}} | <<->> | -*----------------------------------+---------------------------+ -| {{staging-site-profile}} | <<stagingSite>> | -*----------------------------------+---------------------------+ -| {{internal}} | <<UTF-8>> | -*----------------------------------+---------------------------+ - -Details - -* {notests} - - Permits to skip tests. - --------------------------------------------------------------------------------- -mvn install -Pnotests --------------------------------------------------------------------------------- - -* {noreports} - - Skip reports generation in a <site> cycle. - --------------------------------------------------------------------------------- -mvn site -Pnoreports --------------------------------------------------------------------------------- - -* {reporting} - - This profile regroups all reports configuration for site generation. - The interest of putting the reports in a profile is to make possible - generation of site WITHOUT them. - - This profile is activable via the property <performRelease> : - --------------------------------------------------------------------------------- -mvn site -Preporting --------------------------------------------------------------------------------- - - ou - --------------------------------------------------------------------------------- -mvn site -DperformRelease --------------------------------------------------------------------------------- - -* {release-profile} - - This profile (defined par maven) is used while a <mvn release:perform>. - We tells here to attach sources and javadoc on project deployement. - - This profile is activable via the property <performRelease> : - --------------------------------------------------------------------------------- -mvn deploy -Prelease-profile --------------------------------------------------------------------------------- - - or - --------------------------------------------------------------------------------- -mvn deploy -DperformRelease --------------------------------------------------------------------------------- - - <Note :> While doing a <deploy> (for example of a snapshot), you <<SHOULD>> - use this profile to allow users to see the sources and javadocs in their - favorite IDE. - -** {central-safe} - - Ce profile permet de vérifier que toutes les dépendances du projets sont sur - central et central-release. - - Il n'est pas inclus directement dans le cycle de release (car seul les projets - central-safe doivent l'utiliser). - - Pour l'utiliser lors d'une release ajouter ceci dans la section <<properties>> - de votre pom : - --------------------------------------------------------------------------------- - <!-- release config --> - - <!-- activate this profile while doing release:prepare --> - <arguments>-DperformRelease -Dcentral-safe</arguments> - - <!-- activate this profile while doing release:perform --> - <releaseProfiles>central-safe</releaseProfiles> --------------------------------------------------------------------------------- - - Pour le lancer manuellement : - --------------------------------------------------------------------------------- -mvn -Pcentral-safe --------------------------------------------------------------------------------- - {{{Profiles inclus dans le cycle de release}[remonter]}} - -** {license-profile} - - On y indique qu'il faut toujours générer le fichier THIRD-PARTY et synchroniser les licenses. - - Ce profile est utilisable en activant la propriété <performRelease> : - --------------------------------------------------------------------------------- -mvn -Plicense-profile --------------------------------------------------------------------------------- - - ou - --------------------------------------------------------------------------------- -mvn deploy -DperformRelease --------------------------------------------------------------------------------- - -* {release-sign-artifacts} - - This profile is used to sign artifacts to install or deploy with gpg. - - It is automaticly include in the <<perform>> goal of the release plugin. - - To used this profile, you must : - - * have a gpg key names <<Code Lutin>> - - * have in your <settings.xml> a server named <<gpg-signer>> with : - - * username : <<Code Lutin>> - - * password : the passphrase of the gpg key - - [] - -* {run} - - The profile permits to laucnh a java main class from maven. You have to define - a property <maven.jar.main.class> which give the fully qualified name of the - class. - --------------------------------------------------------------------------------- -mvn -Prun -Dmaven.jar.main.class=org.nuiton.MyMainClass --------------------------------------------------------------------------------- - -* {nodepdetails} - - This profile permits to not generate the detail of dependencies in dependency - report (speed up a lot site generation time in developement status). - --------------------------------------------------------------------------------- -mvn site -Pnodepdetails --------------------------------------------------------------------------------- - -* {nodeplocations} - - This profile permits to not generate the location of dependencies in dependency - report (speed up a lot site generation time in developement status). - --------------------------------------------------------------------------------- -mvn site -Pnodeplocations --------------------------------------------------------------------------------- - -* {redmine-release-profile} - - This profile permits to publish a fresh release to redmine server, is activable - via the property <<performRedmineRelease>>. - - It must be used on a released project (so not on a SNAPSHOT project). - --------------------------------------------------------------------------------- -cd target/checkout; mvn validate -DperformRedmineRelease --------------------------------------------------------------------------------- - -* {redmine-next-version-profile} - - This profile permits to create the version corresponding to (the none snapshot) - version of the pom on redmine's server, is activable via the property - <<redmineNextVersion>>. - --------------------------------------------------------------------------------- -mvn -Predmine-next-version-profile --------------------------------------------------------------------------------- - - or - --------------------------------------------------------------------------------- -mvn -DredmineNextVersion --------------------------------------------------------------------------------- - -* {webstart-profile} - - This profile is used to build a webstart application associated with the <<jar>> - module. - - The profile can be activated via the property <<doWebstart>> : - --------------------------------------------------------------------------------- -mvn package -Pwebstart-profile --------------------------------------------------------------------------------- - - or - --------------------------------------------------------------------------------- -mvn package -PdoWebstart --------------------------------------------------------------------------------- - -* {local-webstart-profile} - - - This profile is used to build a local webstart application associated with - the <<jar>> module. - - The codebase of the webstart will points to target/jnlp, so it is possible to - test locally the webstart application before any deploy of it. - - The profile can be activated via the property <<doWebstart>> : - --------------------------------------------------------------------------------- -mvn package -Plocal-webstart-profile --------------------------------------------------------------------------------- - - or - --------------------------------------------------------------------------------- -mvn package -PdoLocalWebstart --------------------------------------------------------------------------------- - -* {update-license} - - This profile update the license header on all files in a project using the new - license project descriptor introduced in - {{{http://maven-site.nuiton.org/maven-license-plugin}maven-license-plugin 2.1}}. - --------------------------------------------------------------------------------- -mvn -Pupdate-file-header --------------------------------------------------------------------------------- - - or - --------------------------------------------------------------------------------- -mvn -DperformRelease --------------------------------------------------------------------------------- - -* {staging-site-profile} - - This profile allows you to deploy a site in a staging directory. - - The profile use a server named <<staging-site>> to be defined in your <settings.xml>. - - It is possible to define the deployment url via the property <<stagingUrl>>. - - -------------------------------------------------------------------------------- - mvn -Pstaging-site-profile -DstagingUrl=scpexe://myServer/myPath - -------------------------------------------------------------------------------- - - ou - - -------------------------------------------------------------------------------- - mvn -DstagingSite -DstagingUrl=scpexe://myServer/myPath - -------------------------------------------------------------------------------- - -* {internal} - - This profile permits to fix the site url of the <mavenpom> project. - It <<MUST>> be used when doing a release of <mavenpom> : - --------------------------------------------------------------------------------- -mvn release:perform -DreleaseProfiles=internal --------------------------------------------------------------------------------- + <<To be done soon...>>. Modified: trunk/src/site/en/apt/properties.apt =================================================================== --- trunk/src/site/en/apt/properties.apt 2010-07-01 09:00:00 UTC (rev 947) +++ trunk/src/site/en/apt/properties.apt 2010-07-01 10:18:41 UTC (rev 948) @@ -34,280 +34,5 @@ This page describe all properties defined in <mavenpom>. - <<This documentation is not up to date (only french version is...)>>. - -Overview - -*--------------------------------------+--------------------------------------------------------+ -| <<property>> | <<Default- value>> | -*--------------------------------------+--------------------------------------------------------+ -| {{platform}} | <<nuiton.org>> | -*--------------------------------------+--------------------------------------------------------+ -| {{projectId}} | <<${project.artifactId}>> | -*--------------------------------------+--------------------------------------------------------+ -| {{listId}} | <<${projectId}>> | -*--------------------------------------+--------------------------------------------------------+ -| {{maven.src.dir}} | <<${project.basedir}/src>> | -*--------------------------------------+--------------------------------------------------------+ -| {{maven.gen.dir}} | <<${project.build.directory}/generated-sources>> | -*--------------------------------------+--------------------------------------------------------+ -| {{maven.test.gen.dir}} | <<${\project.build.directory}/test-generated-sources>> | -*--------------------------------------+--------------------------------------------------------+ -| {{siteSourcesType}} | <<rst>> | -*--------------------------------------+--------------------------------------------------------+ -| {{scmwebeditorEnabled}} | <<true>> | -*--------------------------------------+--------------------------------------------------------+ -| {{scmwebeditorUrl}} | <<http://scmwebeditor.nuiton.org/nuiton-scmwebeditor/scmwebeditor>>| -*--------------------------------------+--------------------------------------------------------+ -| {{maven.license.file}} | <<${project.basedir}/LICENSE.txt>> | -*--------------------------------------+--------------------------------------------------------+ -| {{maven.version}} | <<2.1.1>> | -*--------------------------------------+--------------------------------------------------------+ -| {{javadoc.version}} | <<2.5>> | -*--------------------------------------+--------------------------------------------------------+ -| {{helper.version}} | <<1.1.0>> | -*--------------------------------------+--------------------------------------------------------+ -| {{jrst.version}} | <<1.0.0>> | -*--------------------------------------+--------------------------------------------------------+ -| {{skin.version}} | <<1.0.0>> | -*--------------------------------------+--------------------------------------------------------+ -| {{jredmine.version}} | <<1.0.0-rc-2>> | -*--------------------------------------+--------------------------------------------------------+ -| {{license.version}} | <<2.0.0-SNAPSHOT>> | -*--------------------------------------+--------------------------------------------------------+ - -Deployment properties - -*--------------------------------------+--------------------------------------------------------+ -| <<property>> | <<default value>> | -*--------------------------------------+--------------------------------------------------------+ -| {{snapshot.repository}} | <<${nuiton.snapshot.repository}>> | -*--------------------------------------+--------------------------------------------------------+ -| {{snapshot.server}} | <<nuiton>> | -*--------------------------------------+--------------------------------------------------------+ -| {{nuiton.snapshot.repository}} | <<scpexe://nuiton.org/var/lib/nexus/storage/snapshots>>| -*--------------------------------------+--------------------------------------------------------+ -| {{release.repository}} | <<${nuiton.other.release.repository}>> | -*--------------------------------------+--------------------------------------------------------+ -| {{release.server}} | <<nuiton>> | -*--------------------------------------+--------------------------------------------------------+ -| {{nuiton.other.release.repository}} | <<scpexe://nuiton.org/var/lib/nexus/storage/nuiton-other-releases>> | -*--------------------------------------+--------------------------------------------------------+ -| {{nuiton.central.release.repository}}| <<scpexe://nuiton.org/var/lib/nexus/storage/nuiton-central-releases>> | -*--------------------------------------+--------------------------------------------------------+ -| {{site.repository}} | <<${nuiton.site.repository}>> | -*--------------------------------------+--------------------------------------------------------+ -| {{site.server}} | <<${nuiton.site.repository}>> | -*--------------------------------------+--------------------------------------------------------+ -| {{nuiton.site.repository}} | <<scpexe://nuiton.org/var/lib/redmine-${platform}/project-site/${projectId}>> | -*--------------------------------------+--------------------------------------------------------+ - -Details - -* {platform} {{{./properties.html#Abstract}top}} - - Redmine's platform in - --------------------------------------------------------------------------------- -nuiton.org -chorem.org --------------------------------------------------------------------------------- - -* {projectId} {{{./properties.html#Abstract}top}} - - The redmine project's id - --------------------------------------------------------------------------------- -${project.artifactId} --------------------------------------------------------------------------------- - - <Note :> On a multi-module, must be overriden, otherwise there is some - problem with inheritance. - -* {listId} {{{./properties.html#Abstract}top}} - - The prefix of all lists - --------------------------------------------------------------------------------- -${projectId} --------------------------------------------------------------------------------- - -* {snapshot.repository} {{{./properties.html#Abstract}top}} - - Location of the maven repository where to deploy snapshots. - - (Default value is <<nuiton.snapshot.repository>>). - -* {snapshot.server} {{{./properties.html#Abstract}top}} - - Server id to use for snapshot deployements. - - (Default value is <<nuiton>>). - -* {nuiton.snapshot.repository} {{{./properties.html#Abstract}top}} - - Location of the Nuiton maven repository where to deploy snapshots. - - Default Value (<<should not be modified>>) : - --------------------------------------------------------------------------------- -scpexe://nuiton.org/var/lib/nexus/storage/nuiton-snapshots --------------------------------------------------------------------------------- - -* {release.repository} {{{./properties.html#Abstract}top}} - - Location of the maven repository where to deploy releases. - - (Default value is <<nuiton.other.release.repository>>). - -* {release.server} {{{./properties.html#Abstract}top}} - - Server id to use for release deployements. - - (Default value is <<nuiton>>). - -* {nuiton.other.release.repository} {{{./properties.html#Abstract}top}} - - Location of the Nuiton maven repository where to deploy <<central-unsafe>> releases. - - Default Value (<<should not be modified>>) : - --------------------------------------------------------------------------------- -scpexe://nuiton.org/var/lib/nexus/storage/nuiton-other-releases --------------------------------------------------------------------------------- - -* {nuiton.central.release.repository} {{{./properties.html#Abstract}top}} - - Location of the Nuiton maven repository where to deploy <<central-safe>> releases. - - Default Value (<<should not be modified>>) : - --------------------------------------------------------------------------------- -scpexe://nuiton.org/var/lib/nexus/storage/nuiton-central-releases --------------------------------------------------------------------------------- - -* {site.repository} {{{./properties.html#Abstract}top}} - - Location of the serverwhere to deploy sites. - - (Default value is <<nuiton.site.repository>>). - -* {site.server} {{{./properties.html#Abstract}top}} - - Server id to use for site deployements. - - (Default value is <<nuiton>>). - -* {nuiton.site.repository} {{{./properties.html#Abstract}top}} - - Location of the Nuiton site where to deploy sites. - - Default Value (<<should not be modified>>) : - --------------------------------------------------------------------------------- -scpexe://nuiton.org/var/lib/redmine-${platform}/project-site/${projectId} --------------------------------------------------------------------------------- - -* {repository.home.url} {{{./properties.html#Abstract}top}} - - The maven repository url - -* {maven.compile.source} {{{./properties.html#Abstract}top}} - - The java's level of source files (by default <<1.6>>) - -* {maven.compile.target} {{{./properties.html#Abstract}top}} - - The java's level of compiled files (by default <<1.6>>) - -* {maven.compile.encoding} {{{./properties.html#Abstract}top}} - - Encoding to use in sources (by default <<UTF-8>>) - -* {project.reporting.outputEncoding} {{{./properties.html#Abstract}top}} - - Encoding to use for site generation (by default <<UTF-8>>) - -* {maven.src.dir} {{{./properties.html#Abstract}top}} - - Sources directory - --------------------------------------------------------------------------------- -${project.basedir}/src --------------------------------------------------------------------------------- - -* {maven.gen.dir} {{{./properties.html#Abstract}top}} - - Generation directory - --------------------------------------------------------------------------------- -${project.basedir}/target/generated-sources --------------------------------------------------------------------------------- - -* {maven.test.gen.dir} {{{./properties.html#Abstract}top}} - - Where to generate stuff for tests - --------------------------------------------------------------------------------- -${project.basedir}/target/generate-test-sources --------------------------------------------------------------------------------- - -* {siteSourcesType} {{{./properties.html#Abstract}top}} - - Type of files used to write the site documentation (<<apt>> ou <<rst>>) (by default <<rst>>) - -* {scmwebeditorEnabled} {{{./properties.html#Abstract}top}} - - To enable (ou disable) generation of scmwebeditor links in maven sites. - (for example, can not use scmwebeditor with ssh svn) - -* {scmwebeditorUrl} {{{./properties.html#Abstract}top}} - - Url of scmwebeditor application. - -* {maven.license.file} {{{./properties.html#Abstract}top}} - - Path to license file - --------------------------------------------------------------------------------- -${project.basedir}/LICENSE.txt --------------------------------------------------------------------------------- - -* {maven.version} {{{./properties.html#Abstract}top}} - - The maven api version to use (in plugin mostly) - -* {javadoc.version} {{{./properties.html#Abstract}top}} - - The version of javadoc's plugin to use : <<2.5>> - -* {helper.version} {{{./properties.html#Abstract}top}} - - The {{{http://maven-site.nuiton.org/maven-helper-plugin}maven-helper-plugin}} - version to use. - -* {jrst.version} {{{./properties.html#Abstract}top}} - - The {{{http://maven-site.nuiton.org/jrst}jrst}} version to use. - - <Note:> You <<SHOULD>> not use <<jrst>> for all libraries used to build <<jrst>> - himself, otherwise, you will introduce some cyclic dependencies, and we do not - want that... - -* {skin.version} {{{./properties.html#Abstract}top}} - - The {{{http://maven-site.nuiton.org/maven-nuiton-skin}maven-nuiton-skin}} version to use for build maven sites. - You can override this property to change the default version used. Actually, it's not necessary to add manually - the skin in site.xml files due to mavenpom inheritance. - -* {jredmine.version} {{{./properties.html#Abstract}top}} - - The version of {{{http://maven-site.nuiton.org/jredmine/maven-jredmine-plugin}maven-jredmine-plugin}} used - -* {license.version} {{{./properties.html#Abstract}top}} - - The version of {{{http://maven-site.nuiton.org/maven-license-plugin}maven-license-plugin}} used - -* {jrst.version} {{{./properties.html#Abstract}top}} - - The version of {{{http://maven-site.nuiton.org/jrst}jrst}} to used in your project. \ No newline at end of file + <<To be done soon...>>. + \ No newline at end of file Modified: trunk/src/site/en/apt/release.apt =================================================================== --- trunk/src/site/en/apt/release.apt 2010-07-01 09:00:00 UTC (rev 947) +++ trunk/src/site/en/apt/release.apt 2010-07-01 10:18:41 UTC (rev 948) @@ -35,74 +35,4 @@ This page describe how to make a release of <<mavenpom>>. Since <<mavenpom>> is neutral from any environnement, we use dedicated profiles (ony for maven pom). - <<This documentation is not up to date (only french version is...)>>. - - The release takes three stages. - -stage 1 - - Do a normal release - --------------------------------------------------------------------------------- -mvn release:prepare -Dinternal -mvn release:perform -Dinternal --------------------------------------------------------------------------------- - -Stage 2 - - In this stage, we will : - - * Deploy redmine release attachments - - * Create release announcements - - [] - - Go to the released project. - --------------------------------------------------------------------------------- -cd target/checkout --------------------------------------------------------------------------------- - - To try this stage launch this command : - --------------------------------------------------------------------------------- -mvn -Dinternal -DinternalRedminePreRelease -N --------------------------------------------------------------------------------- - - If no error occurs here, launch the following command : - --------------------------------------------------------------------------------- -mvn -Dinternal -DinternalRedminePreRelease -DdryRun=false -N --------------------------------------------------------------------------------- - - At this point, attachements are published and announcements are created here : - --------------------------------------------------------------------------------- -target/generated-sources/announcement/release-news-announcement.vm -target/generated-sources/announcement/release-email-announcement.vm --------------------------------------------------------------------------------- - - You can customize these announcements. - -Stage 3 - - Finalize the release, after customized announcements (if necessary). - - * Update redmine project version. - - * Send the release announcement email - - * Publish the release announcement on redmine - - [] - --------------------------------------------------------------------------------- -mvn -Dinternal -DinternalRedmineRelease -N --------------------------------------------------------------------------------- - - If no error occurs, launch the release command : - --------------------------------------------------------------------------------- -mvn -Dinternal -DinternalRedmineRelease -DdryRun=false -N --------------------------------------------------------------------------------- + <<To be done soon...>>. \ No newline at end of file Modified: trunk/src/site/en/apt/repositories.apt =================================================================== --- trunk/src/site/en/apt/repositories.apt 2010-07-01 09:00:00 UTC (rev 947) +++ trunk/src/site/en/apt/repositories.apt 2010-07-01 10:18:41 UTC (rev 948) @@ -31,80 +31,4 @@ 2010-06-17 ------ -TODO Translate this page. - -Présentation - - Cette page explique comment configurer mavenpom pour déployer des artifacts. - -Déployer une snapshot - - Mavenpom positionne la propriété {{{./properties.html#snapshot.repository}snapshot.repository}} - pour définir le dépôt de snapshot. - - Par défaut, on utilise {{{./properties.html#nuiton.snapshot.repository}nuiton.snapshot.repository}} - - Pour modifier ce dépôts il suffit donc de rajouter dans la section <properties> - du pom : - --------------------------------------------------------------------------------- -<!-- location of the snapshot repository to use --> -<snapshot.repository>http://mon.depot.de.snapshots</snapshot.repository> - --------------------------------------------------------------------------------- - - et avoir un serveur nommé <<mavenpom-snapshot> dans votre <<settings.xml>>. - --------------------------------------------------------------------------------- -<!-- depot snapshot de mavenpom --> -<server> - <id>mavenpom.snapshot</id> - <username>publish</username> - <filePermissions>664</filePermissions> - <directoryPermissions>775</directoryPermissions> -</server> --------------------------------------------------------------------------------- - -Déployer une release - - Mavenpom positionne la propriété {{{./properties.html#release.repository}release.repository}} - pour définir le dépôt de snapshot. - - Par défaut, on utilise {{{./properties.html#nuiton.other.release.repository}nuiton.other.release.repository}} - - Pour modifier ce dépôts il suffit donc de rajouter dans la section <properties> - du pom : - --------------------------------------------------------------------------------- -<!-- location of the release repository to use --> -<release.repository>http://mon.depot.de.release</release.repository> - --------------------------------------------------------------------------------- - - et avoir un serveur nommé <<mavenpom-snapshot> dans votre <<settings.xml>>. - --------------------------------------------------------------------------------- -<!-- depot release de mavenpom --> -<server> - <id>mavenpom.release</id> - <username>publish</username> - <filePermissions>664</filePermissions> - <directoryPermissions>775</directoryPermissions> -</server> --------------------------------------------------------------------------------- - -Déployer une release central-safe - - Si le projet est central-safe, on peut utiliser la propriété - {{{./properties.html#nuiton.central.release.repository}nuiton.central.release.repository}} - qui pointe sur le dépôt nuiton des artifacts à synchroniser sur central. - - En résumé, ajouter ceci dans la section <properties> du pom : - --------------------------------------------------------------------------------- -<!-- location of the central release repository to use --> -<release.repository>${nuiton.central.release.repository}</release.repository> - --------------------------------------------------------------------------------- - -Déployer un site +<<To be done soon...>> \ No newline at end of file
participants (1)
-
tchemit@users.nuiton.org