Maven setup for the team

I used Maven for my personal projects, but now I have to configure it for a small team of 5-7 developers.

My main question is: what is the recommended approach for managing dependencies for commercial libraries not available in Maven repositories? How can I manage the dependency of these commercial libraries on the open source libraries that they use and which are available in Maven repositories?

Also, are there any other recommendations and recommendations that I should know or implement in order to make the installation as efficient, effective and smooth as possible?

Thanks in advance.

+5
source share
2 answers

, Maven Nexus Artifactory. - Central , .

POM , , . POM JAR . , POM JAR /... , / .

, , ( ) Maven. , , .

+5

pom ,

                <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <inherited>true</inherited>
                <configuration>
                    <source>1.6</source><!-- java version -->
                    <target>1.6</target>
                    <encoding>UTF-8</encoding><!-- your source encodings -->
                    <debug>true</debug><!-- false for production -->
                    <optimize>false</optimize><!-- true for production -->
                    <showDeprecation>true</showDeprecation>
                </configuration>
            </plugin>

"" ( ), pom , ,

- maven repo ( nexus) -?

  • IDE, Eclipse, Netbeans IntelliJ maven , , , IDE
  • , hudson
+4

All Articles