Browse Source

enabled generation of cppFramework.jar (not going to use the git clone trick...)

Cláudio Gomes 6 years ago
parent
commit
fd5c0bc010

+ 0 - 2
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib/pom.xml

@@ -14,8 +14,6 @@
 
 	<name>be.uantwerpen.ansymo.semanticadaptation Code Generation to C++ Framework</name>
 
-
-
 	<build>
 
 		<resources>

+ 30 - 0
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp.tests/pom.xml

@@ -42,6 +42,36 @@
 					<useUIThread>false</useUIThread>
 				</configuration>
 			</plugin>
+			
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-dependency-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>copy</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>copy</goal>
+						</goals>
+						<configuration>
+							<artifactItems>
+								<artifactItem>
+									<groupId>be.uantwerpen.ansymo.semanticadaptation</groupId>
+									<artifactId>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib</artifactId>
+									<type>jar</type>
+									<version>${project.version}</version>
+									<overWrite>true</overWrite>
+									<destFileName>cppFramework.jar</destFileName>
+								</artifactItem>
+							</artifactItems>
+							<outputDirectory>${project.basedir}/jars</outputDirectory>
+							<overWriteReleases>false</overWriteReleases>
+							<overWriteSnapshots>false</overWriteSnapshots>
+							<overWriteIfNewer>true</overWriteIfNewer>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
 		</plugins>
 	</build>
 </project>

+ 1 - 9
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp/pom.xml

@@ -41,30 +41,22 @@
 					<artifactId>maven-dependency-plugin</artifactId>
 					<executions>
 						<execution>
-							<id>copy-dependencies</id>
+							<id>copy</id>
 							<phase>process-resources</phase>
 							<goals>
 								<goal>copy</goal>
 							</goals>
 							<configuration>
-	
 								<artifactItems>
-									
-									
 									<artifactItem>
 										<groupId>be.uantwerpen.ansymo.semanticadaptation</groupId>
 										<artifactId>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib</artifactId>
 										<type>jar</type>
 										<version>${project.version}</version>
-										
 										<overWrite>true</overWrite>
-										
 										<destFileName>cppFramework.jar</destFileName>
 									</artifactItem>
-	
 								</artifactItems>
-	
-	
 								<outputDirectory>${project.basedir}/jars</outputDirectory>
 								<overWriteReleases>false</overWriteReleases>
 								<overWriteSnapshots>false</overWriteSnapshots>