Browse Source

added generation of cppFramework.jar file.

Cláudio Gomes 3 years ago
parent
commit
0e4955da5c

+ 45 - 52
DSL_SemanticAdaptation/be.uantwerpen.ansymo.semanticadaptation.cg.cpp/pom.xml

@@ -20,68 +20,61 @@
 
 	<dependencies>
 
-		<!-- dependency>
+		<dependency>
 			<groupId>be.uantwerpen.ansymo.semanticadaptation</groupId>
 			<artifactId>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib</artifactId>
 			<type>jar</type>
 			<version>${project.version}</version>
 			<scope>compile</scope>
-		</dependency-->
+		</dependency>
 	</dependencies>
 
 	<build>
-		<plugins>
-
-			<plugin>
-				<groupId>org.eclipse.xtend</groupId>
-				<artifactId>xtend-maven-plugin</artifactId>
-			</plugin>
-
-
-
-			<!-- plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-dependency-plugin</artifactId>
-				<executions>
-					<execution>
-						<id>copy-dependencies</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>
+			<plugins>
+				<plugin>
+					<groupId>org.eclipse.xtend</groupId>
+					<artifactId>xtend-maven-plugin</artifactId>
+				</plugin>
+	
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-dependency-plugin</artifactId>
+					<executions>
+						<execution>
+							<id>copy-dependencies</id>
+							<phase>process-resources</phase>
+							<goals>
+								<goal>copy</goal>
+							</goals>
+							<configuration>
+	
+								<artifactItems>
 									
-									<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>
-		
-		
+									<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 - 1
DSL_SemanticAdaptation/pom.xml

@@ -16,7 +16,7 @@
 		<module>be.uantwerpen.ansymo.semanticadaptation.tests</module>
 		<module>be.uantwerpen.ansymo.semanticadaptation.ide</module>
 		<module>be.uantwerpen.ansymo.semanticadaptation.ui</module>
-	  <!--module>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib</module-->
+	  <module>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib</module>
 		<module>be.uantwerpen.ansymo.semanticadaptation.cg.cpp</module>
 	  <module>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.tests</module>
 		<!--module>../my.mavenized.herolanguage.ui</module>