4 MINDS

4MINDS Gestão de Conhecimento

Mobile Mind Maven



Configurando repositórios maven


    <distributionManagement>
        <repository>
            <id>mobile-mind-m2</id>
            <name>Mobile Mind M2</name>
            <url>dav:http://nexus.mobilemind.com.br/repository/mobile-mind-m2</url>
        </repository>  
        <repository>
            <id>mobile-mind-droid-m2</id>
            <name>Mobile Mind M2</name>
            <url>dav:http://nexus.mobilemind.com.br/repository/mobile-mind-droid-m2</url>
        </repository>  
    </distributionManagement>

    <!-- download artifacts from this repo -->
    <repositories>
        <repository>
            <id>mobile-mind</id>
            <name>Mobile Mind</name>
            <url>http://nexus.mobilemind.com.br/repository/mobile-mind-m2</url>
            <releases>
                <enabled>true</enabled>
            </releases>

            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>mobile-mind-droid</id>
            <name>Mobile Mind Android</name>
            <url>http://nexus.mobilemind.com.br/repository/mobile-mind-droid-m2</url>
            <releases>
                <enabled>true</enabled>
            </releases>

            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>


Ccnfigurando plugin para deploy no nexus
    <build>
        <plugins>
         
            <plugin>
              <artifactId>maven-site-plugin</artifactId>
              <version>3.4</version>
              <dependencies>
                <dependency>
                  <groupId>org.apache.maven.wagon</groupId>
                  <artifactId>wagon-webdav-jackrabbit</artifactId>
                  <version>2.8</version>
                </dependency>
              </dependencies>
            </plugin>

        </plugins>       
    </build>