Skip to content

Maven archetype config

MECEAP Maven Archetype Configuration

In order to use MECEAP Maven Archetype you need first to configure permissions to ME Maven repository

Configure your Maven repository manager to access the private artifacts using the following guide Repository Manager

After having your Maven <server> configured in the ~/.m2/settings.xml, you need to create a maven profile to use with archetype

<?xml version="1.0" encoding="UTF-8"?>
<settings>
    <profiles>
      <profile>
          <id>MECEAP</id>
          <repositories>
              <repository>
                  <id>me-maven</id>
                  <url>https://maven.miisy.me</url>
                  <snapshots>
                      <enabled>false</enabled>
                  </snapshots>
              </repository>
          </repositories>
      </profile>
    </profiles>
    <servers>
        <server>
            <id>me-maven</id>
            <username>silvio.junior@me.com.br</username>
            <password>p4-pyuHkszG</password>
        </server>
    </servers>
</settings>

This MECEAP profile will be used with all archetype commands to access de me-maven server