diff --git a/indexer-service-aws/pom.xml b/indexer-service-aws/pom.xml index 9fd05800cce2f4b515da0c589b4aa0c03c6f58e5..e3e4c90b35abf82e9cc04a567cd988c98ba70eb7 100644 --- a/indexer-service-aws/pom.xml +++ b/indexer-service-aws/pom.xml @@ -6,8 +6,6 @@ <groupId>org.opengroup.osdu.indexer</groupId> <artifactId>indexer-service</artifactId> <version>1.0-SNAPSHOT</version> - <relativePath>../</relativePath> - </parent> <groupId>org.opengroup.osdu.indexer.aws</groupId> <artifactId>indexer-service-aws</artifactId> @@ -99,12 +97,6 @@ <version>1.0.9</version> <scope>compile</scope> </dependency> - <dependency> - <groupId>javax.inject</groupId> - <artifactId>javax.inject</artifactId> - <version>1</version> - <scope>compile</scope> - </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> @@ -139,7 +131,7 @@ </goals> <configuration> <classifier>spring-boot</classifier> - <mainClass>org.opengroup.osdu.indexer.aws.IndexerAwsApplication</mainClass> + <mainClass>org.opengroup.osdu.indexer.IndexerApplication</mainClass> </configuration> </execution> </executions> diff --git a/indexer-service-aws/src/main/java/org/opengroup/osdu/indexer/aws/publish/PublisherImpl.java b/indexer-service-aws/src/main/java/org/opengroup/osdu/indexer/aws/publish/PublisherImpl.java index 4621f8229ad72d9107bb8c0087c609608ec3bf9d..9a748fbb774f9eaebcbec9a31144a3f37d521e12 100644 --- a/indexer-service-aws/src/main/java/org/opengroup/osdu/indexer/aws/publish/PublisherImpl.java +++ b/indexer-service-aws/src/main/java/org/opengroup/osdu/indexer/aws/publish/PublisherImpl.java @@ -4,7 +4,6 @@ import com.amazonaws.services.sns.model.MessageAttributeValue; import com.amazonaws.services.sns.model.PublishRequest; import com.google.gson.Gson; import com.amazonaws.services.sns.AmazonSNS; -import org.checkerframework.checker.units.qual.C; import org.opengroup.osdu.core.api.DpsHeaders; import org.opengroup.osdu.indexer.provider.interfaces.IPublisher; import org.opengroup.osdu.indexer.util.JobStatus; diff --git a/pom.xml b/pom.xml index 6531e2b36e0763055c21690d03044d8066edbf94..b9d866be75eaf532c9f806b11aeae0b77f2b1340 100644 --- a/pom.xml +++ b/pom.xml @@ -129,7 +129,44 @@ <!-- </properties>--> <!-- </profile>--> </profiles> + <dependencies> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + <exclusions> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-security</artifactId> + </dependency> -<modules> <module>indexer-service-aws</module> - </modules> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-validation</artifactId> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>repackage</goal> + </goals> + <configuration> + <classifier>spring-boot</classifier> + <mainClass>org.opengroup.osdu.indexer.IndexerApplication</mainClass> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project>