Strabon

changeset 1457:c56f16b4fb1a

#58: -Ddebian=true to create the debian package during maven
compiling.
author Giannis Vlachopoulos <johnvl@di.uoa.gr>
date Thu Jan 15 14:36:12 2015 +0200 (2015-01-15)
parents 3a20ea696d0e
children 3ba22fc603c6 cbef557769b4
files ChangeLog endpoint-exec/pom.xml
line diff
     1.1 --- a/ChangeLog	Thu Jan 15 13:44:51 2015 +0200
     1.2 +++ b/ChangeLog	Thu Jan 15 14:36:12 2015 +0200
     1.3 @@ -1,3 +1,6 @@
     1.4 +	* Bug #58: Maven creates the debian package conditionally. Use
     1.5 +	  -Ddebian=true in the mvn package command. 
     1.6 +
     1.7  	* Bug #58: Added dependencies - java, postgresql, tomcat. Also, added
     1.8  	  a strabon-init script that detects the postgis installation path
     1.9  	  and sets up the template_postgis. Finally the script creates a db
     2.1 --- a/endpoint-exec/pom.xml	Thu Jan 15 13:44:51 2015 +0200
     2.2 +++ b/endpoint-exec/pom.xml	Thu Jan 15 14:36:12 2015 +0200
     2.3 @@ -93,7 +93,24 @@
     2.4  					</execution>
     2.5  				</executions>
     2.6  			</plugin>
     2.7 -                    <plugin>
     2.8 +			
     2.9 +                    
    2.10 +		</plugins>
    2.11 +	</build>
    2.12 +
    2.13 +<profiles>
    2.14 +		<profile>
    2.15 +			<id>create-debian</id>
    2.16 +			<activation>
    2.17 +				<activeByDefault>false</activeByDefault>
    2.18 +				<property>
    2.19 +					<name>debian</name>
    2.20 +					<value>true</value>
    2.21 +				</property>
    2.22 +			</activation>
    2.23 +				<build>
    2.24 +					<plugins>
    2.25 +						<plugin>
    2.26                                  <artifactId>jdeb</artifactId>
    2.27                                  <groupId>org.vafer</groupId>
    2.28                                  <version>1.3</version>
    2.29 @@ -142,7 +159,9 @@
    2.30                          </executions>
    2.31                          </plugin>
    2.32  
    2.33 +					</plugins>
    2.34 +				</build>
    2.35  
    2.36 -		</plugins>
    2.37 -	</build>
    2.38 +		</profile>
    2.39 +	</profiles>
    2.40  </project>