add data build at the end of compiling of data modules
diff --git a/bundles/org.eclipse.stem.internal.diseasemodels.scenarios/pom.xml b/bundles/org.eclipse.stem.internal.diseasemodels.scenarios/pom.xml
new file mode 100644
index 0000000..0c1965f
--- /dev/null
+++ b/bundles/org.eclipse.stem.internal.diseasemodels.scenarios/pom.xml
@@ -0,0 +1,39 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>org.eclipse.stem.internal.diseasemodels.scenarios</artifactId>
+ <packaging>pom</packaging>
+
+ <parent>
+ <groupId>org.eclipse.stem.tycho</groupId>
+ <artifactId>org.eclipse.stem.tycho.bundles</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>ant-magic</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <property name="compile_classpath" refid="maven.compile.classpath" />
+ <property name="outputDir" value="${project.build.outputDirectory}" />
+ <property name="sourceDir" value="${project.build.sourceDirectory}" />
+ <ant
+ antfile="../org.eclipse.stem.internal.data/update.xml"
+ target="update_all" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
diff --git a/bundles/pom.xml b/bundles/pom.xml
index c931e21..bc93d37 100755
--- a/bundles/pom.xml
+++ b/bundles/pom.xml
@@ -9,32 +9,19 @@
<artifactId>org.eclipse.stem.tycho.root</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>ant-magic</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <property name="compile_classpath" refid="maven.compile.classpath" />
- <property name="outputDir" value="${project.build.outputDirectory}" />
- <property name="sourceDir" value="${project.build.sourceDirectory}" />
- <ant antfile="org.eclipse.stem.internal.data/update.xml" target="update_all" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+
<modules>
-
+ <module>org.eclipse.stem.internal.data</module>
+ <module>org.eclipse.stem.internal.data.geography</module>
+ <module>org.eclipse.stem.internal.data.geography.infrastructure.transportation</module>
+ <module>org.eclipse.stem.internal.data.geography.models</module>
+ <module>org.eclipse.stem.internal.data.geography.population</module>
+ <module>org.eclipse.stem.internal.data.geography.population.human</module>
+ <module>org.eclipse.stem.internal.data.geography.population.human.models</module>
+ <module>org.eclipse.stem.internal.data.population.human</module>
+ <module>org.eclipse.stem.internal.diseasemodels.models</module>
+ <module>org.eclipse.stem.internal.diseasemodels.scenarios</module>
+
<module>org.apache.commons.math3</module>
<module>org.eclipse.stem.analysis</module>
<module>org.eclipse.stem.analysis.automaticexperiment</module>
@@ -63,17 +50,7 @@
<module>org.eclipse.stem.graphgenerators</module>
<module>org.eclipse.stem.graphsynchronizer</module>
- <module>org.eclipse.stem.internal.data</module>
- <module>org.eclipse.stem.internal.data.geography</module>
- <module>org.eclipse.stem.internal.data.geography.infrastructure.transportation</module>
- <module>org.eclipse.stem.internal.data.geography.models</module>
- <module>org.eclipse.stem.internal.data.geography.population</module>
- <module>org.eclipse.stem.internal.data.geography.population.human</module>
- <module>org.eclipse.stem.internal.data.geography.population.human.models</module>
- <module>org.eclipse.stem.internal.data.population.human</module>
- <module>org.eclipse.stem.internal.diseasemodels.models</module>
- <module>org.eclipse.stem.internal.diseasemodels.scenarios</module>
-
+
<module>org.eclipse.stem.interventions</module>
<module>org.eclipse.stem.jobs</module>
<module>org.eclipse.stem.loggers</module>