Maven: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 31: Line 31:
* [https://stackoverflow.com/questions/30649044 Activate a Maven Profile if missing a file]
* [https://stackoverflow.com/questions/30649044 Activate a Maven Profile if missing a file]
* [https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html Maven Deploy Optional Parameters]
* [https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html Maven Deploy Optional Parameters]
* [https://maven.apache.org/guides/mini/guide-encryption.html Maven Encrypt Master Password]

Revision as of 02:11, 14 November 2020

<profile>
    <id>ext</id>
    <activation>
        <file>
            <missing>${basedir}/ext</missing>
        </file>
    </activation>
</profile>

Distribution

<settings>
    [...]
    <profiles>
        <profile>
        <id>nex</id>
        <properties>
            <altSnapshotDeploymentRepository>snapshots::default::https://nex.chorke.org/repository/maven/snapshots</altSnapshotDeploymentRepository>
            <altReleaseDeploymentRepository>releases::default::https://nex.chorke.org/repository/maven/releases</altReleaseDeploymentRepository>
        </properties>
        </profile>
    </profiles>
</settings>

References