This is an automated email from the ASF dual-hosted git repository. martin_s pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/archiva-site.git
commit 5b7d51eef1073c338a4eb75dba2f99ab229bb48e Author: Martin Stockhammer <[email protected]> AuthorDate: Sat Apr 18 18:10:26 2020 +0200 [MRM-2012] Fixing mailing list links for archiva site by increasing project info plugin version --- src/site/apt/developers/building.apt | 56 ++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/src/site/apt/developers/building.apt b/src/site/apt/developers/building.apt index 1d0750b..8091432 100644 --- a/src/site/apt/developers/building.apt +++ b/src/site/apt/developers/building.apt @@ -31,9 +31,11 @@ Building Archiva [[1]] Check out the source code as described on the {{{../source-repository.html}Source Repository}} page. - [[2]] In the 'parent' directory, execute <<<mvn clean install>>> to build the parent pom. (only needed if we depend on a new parent) + [[2]] You may setup a suitable ~/.m2/settings.xml to add the needed repositories. - [[3]] In the 'archiva' directory, execute <<<mvn clean install>>> to build the Archiva modules and distribution. + [[3]] In the 'parent' directory, execute <<<mvn clean install>>> to build the parent pom. (only needed if we depend on a new parent) + + [[4]] In the 'archiva' directory, execute <<<mvn clean install>>> to build the Archiva modules and distribution. [] @@ -104,3 +106,53 @@ Running the selenium tests (Web UI tests) locally mvn clean install -DmaxWaitTimeInMs=2000 -DseleniumRemote=true -Pci-server -Pit-js -Pchrome -pl :archiva-webapp-test +-- + +Maven settings.xml + + You should setup the following repositories in your settings.xml to be able to resolve the dependencies. Sometimes + we need to have certain snapshot versions for plugins, so the apache snapshot repository is added. + ++-- + <profiles> + <profile> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <repositories> + <repository> + <id>central</id> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + <url>https://repo1.maven.org/maven2</url> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>central</id> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + <url>https://repo1.maven.org/maven2</url> + </pluginRepository> + <pluginRepository> + <id>apache-snapshot</id> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + <url>https://repository.apache.org/content/groups/snapshots</url> + </pluginRepository> + + </pluginRepositories> + </profile> + </profiles> ++-- \ No newline at end of file
