Skip to content

Commit

Permalink
- Connector and removed sonar duplicated configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alegauss committed Sep 17, 2024
1 parent 212ed8a commit abc1185
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 25 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,16 @@
<module>turing-commons</module>
<module>turing-spring</module>
<module>turing-java-sdk</module>
<module>turing-cms</module>
<module>turing-java-proxy</module>
<module>turing-connector</module>
<module>turing-filesystem</module>
<module>turing-db</module>
<module>turing-nutch</module>
<module>turing-cms</module>
<module>turing-wem</module>
<module>turing-aem</module>
<module>turing-web-crawler</module>
<module>turing-sprinklr</module>
<module>turing-java-proxy</module>
<module>turing-app</module>
</modules>
</profile>
Expand Down
2 changes: 0 additions & 2 deletions turing-aem/aem-cli-indexer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 0 additions & 2 deletions turing-aem/aem-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 0 additions & 2 deletions turing-cms/cms-mapping/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<dependencies>
<dependency>
Expand Down
3 changes: 0 additions & 3 deletions turing-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>turing-commons</sonar.projectKey>
</properties>
<dependencies>
<dependency>
Expand Down
12 changes: 12 additions & 0 deletions turing-connector/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.viglet.turing</groupId>
<artifactId>turing</artifactId>
<version>0.3.9</version>
</parent>
<artifactId>turing-connector</artifactId>
<name>Archetype - turing-connector</name>
<url>http://maven.apache.org</url>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<archetype>
<id>turing-connector</id>
<sources>
<source>src/main/java/App.java</source>
</sources>
<testSources>
<source>src/test/java/AppTest.java</source>
</testSources>
</archetype>
15 changes: 15 additions & 0 deletions turing-connector/src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>$com.viglet.turing</groupId>
<artifactId>$turing-connector</artifactId>
<version>$0.3.9</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package $com.viglet.turing;

/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package $com.viglet.turing;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}

/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}

/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
3 changes: 0 additions & 3 deletions turing-filesystem/fs-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>fs-commons</sonar.projectKey>
</properties>
<dependencies>
<dependency>
Expand Down
3 changes: 0 additions & 3 deletions turing-filesystem/fs-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>fs-connector</sonar.projectKey>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 0 additions & 2 deletions turing-java-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<dependencies>
<dependency>
Expand Down
3 changes: 0 additions & 3 deletions turing-nutch/nutch1_20/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>nutch1_20</sonar.projectKey>
</properties>
<dependencies>
<dependency>
Expand Down
3 changes: 0 additions & 3 deletions turing-wem/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<sonar.organization>viglet-turing</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>turing-wem</sonar.projectKey>
</properties>
<dependencies>
<dependency>
Expand Down

0 comments on commit abc1185

Please sign in to comment.