Separate out the target directories for eclipse and the one for regular builds

This commit is contained in:
Alex Huang 2013-03-13 20:08:24 -07:00
parent 1079d63b6f
commit 01151331f5
2 changed files with 219 additions and 244 deletions

1
.gitignore vendored
View File

@ -59,6 +59,7 @@ tools/cli/build/
*.iso *.iso
*.tar.gz *.tar.gz
*.tgz *.tgz
target-eclipse
awsapi/modules/* awsapi/modules/*
!.gitignore !.gitignore
.classpath .classpath

120
pom.xml
View File

@ -1,21 +1,13 @@
<!-- <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
Licensed to the Apache Software Foundation (ASF) under one license agreements. See the NOTICE file distributed with this work for additional
or more contributor license agreements. See the NOTICE file information regarding copyright ownership. The ASF licenses this file to
distributed with this work for additional information you under the Apache License, Version 2.0 (the "License"); you may not use
regarding copyright ownership. The ASF licenses this file this file except in compliance with the License. You may obtain a copy of
to you under the Apache License, Version 2.0 (the the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
"License"); you may not use this file except in compliance by applicable law or agreed to in writing, software distributed under the
with the License. You may obtain a copy of the License at License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
http://www.apache.org/licenses/LICENSE-2.0 language governing permissions and limitations under the License. -->
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -92,6 +84,7 @@
<cs.java-ipv6.version>0.10</cs.java-ipv6.version> <cs.java-ipv6.version>0.10</cs.java-ipv6.version>
<cs.replace.properties>build/replace.properties</cs.replace.properties> <cs.replace.properties>build/replace.properties</cs.replace.properties>
<cs.libvirt-java.version>0.4.9</cs.libvirt-java.version> <cs.libvirt-java.version>0.4.9</cs.libvirt-java.version>
<cs.target.dir>target</cs.target.dir>
</properties> </properties>
<distributionManagement> <distributionManagement>
@ -205,61 +198,24 @@
<artifactId>spring-web</artifactId> <artifactId>spring-web</artifactId>
<version>${org.springframework.version}</version> <version>${org.springframework.version}</version>
</dependency> </dependency>
<!-- <!-- <dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId>
<dependency> <version>${org.springframework.version}</version> </dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId>
<artifactId>spring-expression</artifactId> <version>${org.springframework.version}</version> </dependency> <dependency>
<version>${org.springframework.version}</version> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId>
</dependency> <version>${org.springframework.version}</version> </dependency> <dependency>
<groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId>
<dependency> <version>${org.springframework.version}</version> </dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId>
<artifactId>spring-beans</artifactId> <version>${org.springframework.version}</version> </dependency> <dependency>
<version>${org.springframework.version}</version> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId>
</dependency> <version>${org.springframework.version}</version> </dependency> <dependency>
<groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId>
<dependency> <version>${org.springframework.version}</version> </dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId> <artifactId>spring-oxm</artifactId>
<artifactId>spring-aop</artifactId> <version>${org.springframework.version}</version> </dependency> <dependency>
<version>${org.springframework.version}</version> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId>
</dependency> <version>${org.springframework.version}</version> </dependency> -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-oxm</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${org.springframework.version}</version>
</dependency>
-->
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId> <artifactId>mockito-all</artifactId>
@ -293,6 +249,8 @@
<build> <build>
<defaultGoal>install</defaultGoal> <defaultGoal>install</defaultGoal>
<outputDirectory>${basedir}/${cs.target.dir}/classes</outputDirectory>
<testOutputDirectory>${basedir}/${cs.target.dir}/test-classes</testOutputDirectory>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings <!--This plugin's configuration is used to store Eclipse m2e settings
@ -514,6 +472,12 @@
<module>awsapi</module> <module>awsapi</module>
</modules> </modules>
</profile> </profile>
<profile>
<id>eclipse</id>
<properties>
<cs.target.dir>target-eclipse</cs.target.dir>
</properties>
</profile>
<profile> <profile>
<id>developer</id> <id>developer</id>
<properties> <properties>
@ -524,6 +488,16 @@
<module>tools</module> <module>tools</module>
</modules> </modules>
</profile> </profile>
<profile>
<id>impatient</id>
<properties>
<marvin.config>tools/devcloud/devcloud.cfg</marvin.config>
</properties>
<modules>
<module>developer</module>
<!--module>tools/devcloud</module-->
</modules>
</profile>
<profile> <profile>
<id>vmware</id> <id>vmware</id>
<activation> <activation>