Skip to content

Commit 9c0b6b4

Browse files
YasinBhojawalamaibin
authored andcommitted
BAEL-1139 move to new saas module (eugenp#2719)
* Removed unintentionally commented code * BAEL-1139 move jira API to a new saas module * no tabs only spaces * changes
1 parent c1933c6 commit 9c0b6b4

5 files changed

Lines changed: 112 additions & 21 deletions

File tree

‎libraries/pom.xml‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -575,22 +575,6 @@
575575
<artifactId>hazelcast</artifactId>
576576
<version>${hazelcast.version}</version>
577577
</dependency>
578-
<dependency>
579-
<groupId>com.atlassian.jira</groupId>
580-
<artifactId>jira-rest-java-client-core</artifactId>
581-
<version>4.0.0</version>
582-
</dependency>
583-
<dependency>
584-
<groupId>com.atlassian.fugue</groupId>
585-
<artifactId>fugue</artifactId>
586-
<version>2.6.1</version>
587-
</dependency>
588-
<!-- Uncomment this in order to use the jira-rest-java-client-core API -->
589-
<!-- <dependency>
590-
<groupId>com.google.guava</groupId>
591-
<artifactId>guava</artifactId>
592-
<version>19.0</version>
593-
</dependency> -->
594578
<dependency>
595579
<groupId>org.jgrapht</groupId>
596580
<artifactId>jgrapht-core</artifactId>
@@ -626,10 +610,6 @@
626610
<name>bintray</name>
627611
<url>http://dl.bintray.com/cuba-platform/main</url>
628612
</repository>
629-
<repository>
630-
<id>atlassian-public</id>
631-
<url>https://packages.atlassian.com/maven/repository/public</url>
632-
</repository>
633613
</repositories>
634614
<properties>
635615
<crdt.version>0.1.0</crdt.version>

‎pom.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
<module>mockserver</module>
249249
<module>undertow</module>
250250
<module>vertx-and-rxjava</module>
251+
<module>saas</module>
251252
<module>deeplearning4j</module>
252253
</modules>
253254

‎saas/.gitignore‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
*.class
2+
3+
0.*
4+
5+
#folders#
6+
/target
7+
/neoDb*
8+
/data
9+
/src/main/webapp/WEB-INF/classes
10+
*/META-INF/*
11+
.resourceCache
12+
13+
# Packaged files #
14+
*.jar
15+
*.war
16+
*.ear
17+
18+
# Files generated by integration tests
19+
*.txt
20+
backup-pom.xml
21+
/bin/
22+
/temp
23+
24+
#IntelliJ specific
25+
.idea/
26+
*.iml

‎saas/pom.xml‎

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.baeldung</groupId>
5+
<artifactId>saas</artifactId>
6+
<version>0.1.0-SNAPSHOT</version>
7+
<packaging>jar</packaging>
8+
<name>saas</name>
9+
10+
<parent>
11+
<groupId>com.baeldung</groupId>
12+
<artifactId>parent-modules</artifactId>
13+
<version>1.0.0-SNAPSHOT</version>
14+
</parent>
15+
16+
<dependencies>
17+
<dependency>
18+
<groupId>com.atlassian.jira</groupId>
19+
<artifactId>jira-rest-java-client-core</artifactId>
20+
<version>4.0.0</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>com.atlassian.fugue</groupId>
24+
<artifactId>fugue</artifactId>
25+
<version>2.6.1</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.google.guava</groupId>
29+
<artifactId>guava</artifactId>
30+
<version>19.0</version>
31+
</dependency>
32+
33+
</dependencies>
34+
35+
<build>
36+
<finalName>saas</finalName>
37+
<resources>
38+
<resource>
39+
<directory>src/main/resources</directory>
40+
<filtering>true</filtering>
41+
</resource>
42+
</resources>
43+
44+
<plugins>
45+
<plugin>
46+
<groupId>org.apache.maven.plugins</groupId>
47+
<artifactId>maven-compiler-plugin</artifactId>
48+
<version>${maven-compiler-plugin.version}</version>
49+
<configuration>
50+
<source>1.8</source>
51+
<target>1.8</target>
52+
</configuration>
53+
</plugin>
54+
55+
<plugin>
56+
<groupId>org.codehaus.mojo</groupId>
57+
<artifactId>exec-maven-plugin</artifactId>
58+
<version>1.6.0</version>
59+
<configuration>
60+
<executable>java</executable>
61+
<mainClass>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</mainClass>
62+
<arguments>
63+
<argument>-Xmx300m</argument>
64+
<argument>-XX:+UseParallelGC</argument>
65+
<argument>-classpath</argument>
66+
<classpath />
67+
<argument>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</argument>
68+
</arguments>
69+
</configuration>
70+
</plugin>
71+
</plugins>
72+
73+
</build>
74+
<repositories>
75+
<repository>
76+
<id>atlassian-public</id>
77+
<url>https://packages.atlassian.com/maven/repository/public</url>
78+
</repository>
79+
</repositories>
80+
<properties>
81+
<!-- maven plugins -->
82+
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
83+
</properties>
84+
</project>

libraries/src/main/java/com/baeldung/jira/MyJiraClient.java renamed to saas/src/main/java/com/baeldung/saas/jira/MyJiraClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.jira;
1+
package com.baeldung.saas.jira;
22

33
import com.atlassian.jira.rest.client.api.IssueRestClient;
44
import com.atlassian.jira.rest.client.api.JiraRestClient;

0 commit comments

Comments
 (0)