server: pom.xml is now by default JAR, the war file is created in a maven plugin
<artifactId>cellbase-server</artifactId>
<version>${cellbase.version}</version>
- <packaging>war</packaging>
+ <packaging>jar</packaging>
<dependencies>
<dependency>
</extensions>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
+ <executions>
+ <execution>
+ <id>make-a-war</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
<warName>${cellbase.war.name}</warName>
<!--
</webResources>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>make-a-jar</id>
- <phase>compile</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
+ <!--<plugin>-->
+ <!--<groupId>org.apache.maven.plugins</groupId>-->
+ <!--<artifactId>maven-jar-plugin</artifactId>-->
+ <!--<executions>-->
+ <!--<execution>-->
+ <!--<id>make-a-jar</id>-->
+ <!--<phase>compile</phase>-->
+ <!--<goals>-->
+ <!--<goal>jar</goal>-->
+ <!--</goals>-->
+ <!--</execution>-->
+ <!--</executions>-->
+ <!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
</plugins>
</build>
- <profiles>
- <profile>
- <id>deploy</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.5</version>
- <extensions>true</extensions>
- <configuration>
- <serverId>ossrh</serverId>
- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <!--<profiles>-->
+ <!--<profile>-->
+ <!--<id>deploy</id>-->
+ <!--<build>-->
+ <!--<plugins>-->
+ <!--<plugin>-->
+ <!--<groupId>org.sonatype.plugins</groupId>-->
+ <!--<artifactId>nexus-staging-maven-plugin</artifactId>-->
+ <!--<version>1.6.5</version>-->
+ <!--<extensions>true</extensions>-->
+ <!--<configuration>-->
+ <!--<serverId>ossrh</serverId>-->
+ <!--<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>-->
+ <!--</configuration>-->
+ <!--</plugin>-->
+ <!--</plugins>-->
+ <!--</build>-->
+ <!--</profile>-->
+ <!--</profiles>-->
</project>
\ No newline at end of file
