Mudanças entre as edições de "Overriding Project Properties"
De Basef
Linha 16: | Linha 16: | ||
</source> | </source> | ||
− | Do the following: | + | Do the following at the command line: |
<source lang="bash"> | <source lang="bash"> |
Edição atual tal como às 21h29min 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 at the command line:
mvn -PautoInstallPackage clean install -Dcrx.host=production.hostname -Dcrx.password=productionpasswd