Mudanças entre as edições de "Overriding Project Properties"

De Basef
Ir para: navegação, pesquisa
(Criou página com 'To override Project Properties, for example, those defined in pom.xml: <source lang="xml"> <properties> <crx.host>localhost</crx.host> <crx.port>4502</crx.por...')
 
Linha 1: Linha 1:
To override Project Properties, for example, those defined in pom.xml:
+
To override Project Properties, for example, those defined in the main top-root '''pom.xml''':
  
 
<source lang="xml">
 
<source lang="xml">

Edição das 21h28min de 2 de abril de 2018

To override Project Properties, for example, those defined in the main top-root pom.xml:

<properties>
        <crx.host>localhost</crx.host>
        <crx.port>4502</crx.port>
        <crx.username>admin</crx.username>
        <crx.password>admin</crx.password>
        <publish.crx.host>localhost</publish.crx.host>
        <publish.crx.port>4503</publish.crx.port>
        <publish.crx.username>admin</publish.crx.username>
        <publish.crx.password>admin</publish.crx.password>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

Do the following:

mvn -PautoInstallPackage clean install -Dcrx.host=production.hostname -Dcrx.password=productionpasswd