Skip to content

Commit

Permalink
Split into profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Apr 14, 2023
1 parent 1e39b6e commit 6f885f8
Show file tree
Hide file tree
Showing 68 changed files with 654 additions and 206 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.flattened-pom.xml

tests/src/test/resources/testout/*

tests/src/test/resources/config.properties

tmp*
Expand Down
2 changes: 1 addition & 1 deletion framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</modules>
</profile>
<profile>
<id>module-defaults</id>
<id>complete</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
Expand Down
28 changes: 27 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@
</build>
</profile>
<profile>
<id>module-defaults</id>
<id>complete</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
Expand All @@ -564,5 +564,31 @@
<module>report</module>
</modules>
</profile>
<profile>
<!-- Traceability Link Recovery -->
<id>tlr</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>framework</module>
<module>pipeline</module>
<module>stages</module>
<module>tests</module>
</modules>
</profile>
<profile>
<!-- Inconsistency Detection -->
<id>inconsistency</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>framework</module>
<module>pipeline</module>
<module>stages</module>
<module>tests</module>
</modules>
</profile>
</profiles>
</project>
15 changes: 13 additions & 2 deletions report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,22 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tests</artifactId>
<artifactId>tests-default</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tests-tlr</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tests-inconsistency</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
71 changes: 62 additions & 9 deletions stages/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,72 @@
<version>0.8.0-SNAPSHOT</version>
</parent>

<groupId>io.github.ardoco.core</groupId>
<artifactId>stages</artifactId>
<packaging>pom</packaging>
<modules>
<module>connection-generator</module>
<module>inconsistency-detection</module>
<module>model-provider</module>
<module>recommendation-generator</module>
<module>text-extraction</module>
<module>text-preprocessing</module>
</modules>

<properties>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../../${aggregate.report.dir}</sonar.coverage.jacoco.xmlReportPaths>
</properties>

<profiles>
<profile>
<id>complete</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>connection-generator</module>
<module>inconsistency-detection</module>
<module>model-provider</module>
<module>recommendation-generator</module>
<module>text-extraction</module>
<module>text-preprocessing</module>
</modules>
</profile>
<profile>
<id>deployment</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>connection-generator</module>
<module>inconsistency-detection</module>
<module>model-provider</module>
<module>recommendation-generator</module>
<module>text-extraction</module>
<module>text-preprocessing</module>
</modules>
</profile>

<profile>
<!-- Traceability Link Recovery -->
<id>tlr</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>connection-generator</module>
<module>model-provider</module>
<module>recommendation-generator</module>
<module>text-extraction</module>
<module>text-preprocessing</module>
</modules>
</profile>
<profile>
<!-- Inconsistency Detection -->
<id>inconsistency</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>connection-generator</module>
<module>inconsistency-detection</module>
<module>model-provider</module>
<module>recommendation-generator</module>
<module>text-extraction</module>
<module>text-preprocessing</module>
</modules>
</profile>
</profiles>

</project>
89 changes: 40 additions & 49 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,54 +8,14 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tests</artifactId>
<packaging>pom</packaging>

<properties>
<maven.deploy.skip>true</maven.deploy.skip>
<sonar.skip>true</sonar.skip>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>text-extraction</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>text-preprocessing</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>recommendation-generator</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pipeline</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>connection-generator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>model-provider</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>inconsistency-detection</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
Expand Down Expand Up @@ -89,13 +49,44 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>complete</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>tests-base</module>
<module>tests-default</module>
<module>tests-tlr</module>
<module>tests-inconsistency</module>
</modules>
</profile>

<profile>
<!-- Traceability Link Recovery -->
<id>tlr</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>tests-base</module>
<module>tests-default</module>
<module>tests-tlr</module>
</modules>
</profile>
<profile>
<!-- Inconsistency Detection -->
<id>inconsistency</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>tests-base</module>
<module>tests-default</module>
<module>tests-inconsistency</module>
</modules>
</profile>
</profiles>

</project>
40 changes: 40 additions & 0 deletions tests/tests-base/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests</artifactId>
<version>0.8.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>tests-base</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.eclipse.collections</groupId>
<artifactId>eclipse-collections</artifactId>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>common</artifactId>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>pipeline</artifactId>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
</dependency>
</dependencies>

</project>
Loading

0 comments on commit 6f885f8

Please sign in to comment.