pom.xml
so that will work.
sign-jars
profile
52-North
parent project as it is not deployed on a public repository (so you have to configure needed information by hand!)
distributionManagement
description
issueManagement
organization
scm
url
licenses
developer
<profile> <id>deploy-to-central</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <additionalJOption>-J-Xmx1024m</additionalJOption> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.2</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile>
commons-xml
projects is a special case as it provides just compiled classes generated from xsd schemas. The generation of JavaDoc needs too much memory especially for big projects like gml or aixm (a gml profile). Even 1024m extra memory was not enough. If you run in the same memory problems you should first think of restructure your projects rather than exclude JavaDoc generation.