Skip to content

Commit

Permalink
Merged HEAD-BUG-FIX (5.1) to trunk (5.1/Cloud40)
Browse files Browse the repository at this point in the history
   102564: Merge RA-SPRINT3 to HEAD-BUG-FIX (5.1)
      101741: RA-117: separate tomcat7 configuration from 'run' profile so that mvn tomcat7:run-war-only may be used to start a share-enabled repo.


git-svn-id: https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/trunk@103306 7033f55c-6c29-4ad8-afba-765cb616e738
  • Loading branch information
slanglois committed Apr 30, 2015
1 parent fe4a21f commit 5cd549c
Showing 1 changed file with 29 additions and 20 deletions.
49 changes: 29 additions & 20 deletions alfresco/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,35 @@
</execution>
</executions>
</plugin>

<!--
Configure the Tomcat plugin. Keeping the configuration separate from the 'run' profile,
allows explicit running of tomcat, e.g: mvn tomcat7:run-war-only
-->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${dependency.postgresql.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${dependency.mysql.version}</version>
</dependency>
</dependencies>
<configuration>
<systemProperties>
<solr.port>${maven.tomcat.solr.port}</solr.port>
<solr.backup.alfresco.numberToKeep>0</solr.backup.alfresco.numberToKeep>
<solr.backup.archive.numberToKeep>0</solr.backup.archive.numberToKeep>
</systemProperties>
<tomcatUsers>${basedir}/tomcat-users.xml</tomcatUsers>
</configuration>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -157,18 +186,6 @@
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${dependency.postgresql.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${dependency.mysql.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>run-exploded-webapp</id>
Expand All @@ -178,14 +195,6 @@
</goals>
</execution>
</executions>
<configuration>
<systemProperties>
<solr.port>${maven.tomcat.solr.port}</solr.port>
<solr.backup.alfresco.numberToKeep>0</solr.backup.alfresco.numberToKeep>
<solr.backup.archive.numberToKeep>0</solr.backup.archive.numberToKeep>
</systemProperties>
<tomcatUsers>${basedir}/tomcat-users.xml</tomcatUsers>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 5cd549c

Please sign in to comment.