Skip to content

Commit cbbf362

Browse files
Merge pull request #3 from intuit/circleci-project-setup
Circleci project setup
2 parents f5898aa + 4749d91 commit cbbf362

File tree

2 files changed

+49
-31
lines changed

2 files changed

+49
-31
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- run:
2323
name: Test
2424
command: mvn test
25+
- store_test_results:
26+
path: target/surefire-reports
2527

2628
workflows:
2729
# Below is the definition of your workflow.

pom.xml

Lines changed: 47 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@
77
<name>graphql-orchestrator-java</name>
88
<description>GraphQL Orchestrator combines multiple graphql services into a single unified schema</description>
99

10+
<licenses>
11+
<license>
12+
<name>Apache 2.0</name>
13+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
14+
</license>
15+
</licenses>
16+
17+
<developers>
18+
<developer>
19+
<name>Ashpak Shaikh</name>
20+
<id>Shaikh</id>
21+
<organization>Intuit, Inc.</organization>
22+
<organizationUrl>http://www.intuit.com</organizationUrl>
23+
</developer>
24+
</developers>
1025

1126
<properties>
1227
<maven.compiler.source>1.8</maven.compiler.source>
@@ -24,6 +39,30 @@
2439
<graphQLVersion>14.1</graphQLVersion>
2540
</properties>
2641

42+
<profiles>
43+
<profile>
44+
<id>release</id>
45+
<build>
46+
<plugins>
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-gpg-plugin</artifactId>
50+
<version>1.5</version>
51+
<executions>
52+
<execution>
53+
<id>sign-artifacts</id>
54+
<phase>verify</phase>
55+
<goals>
56+
<goal>sign</goal>
57+
</goals>
58+
</execution>
59+
</executions>
60+
</plugin>
61+
</plugins>
62+
</build>
63+
</profile>
64+
</profiles>
65+
2766
<dependencies>
2867
<dependency>
2968
<groupId>com.intuit.graphql</groupId>
@@ -240,26 +279,21 @@
240279
</plugins>
241280
</build>
242281
<scm>
243-
<connection>scm:git:https://github.intuit.com/data-orchestration/graphql-orchestrator-java
282+
<connection>scm:git:https://github.com/graphql-orchestrator-java
244283
</connection>
245-
<url>https://github.intuit.com/data-orchestration/graphql-orchestrator-java</url>
284+
<url>https://github.com//graphql-orchestrator-java</url>
246285
<tag>HEAD</tag>
247286
</scm>
248287

249288
<distributionManagement>
250-
<repository>
251-
<!-- Don't change the ID of this repository (it's configured in the SCM settings.xml that gets passed into IBP environment variables) -->
252-
<id>scm.int.rel.repo</id>
253-
<name>SCM INT release repository</name>
254-
<!-- This value will be passed in by the SCM build -->
255-
<url>http://nexus.intuit.net/nexus/content/repositories/ENG.CTG.Intuit-Releases</url>
256-
</repository>
257289
<snapshotRepository>
258-
<!-- Don't change the ID of this repository (it's configured in the settings.xml that gets passed into IBP environment variables) -->
259-
<id>scm.dev.snap.repo</id>
260-
<name>SCM DEV snapshot release repository</name>
261-
<url>http://nexus.intuit.net/nexus/content/repositories/ENG.CTG.Intuit-Snapshots</url>
290+
<id>ossrh</id>
291+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
262292
</snapshotRepository>
293+
<repository>
294+
<id>ossrh</id>
295+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
296+
</repository>
263297
</distributionManagement>
264298

265299
<repositories>
@@ -268,18 +302,6 @@
268302
<name>Sonatype Repository</name>
269303
<url>https://oss.sonatype.org/content/repositories/releases</url>
270304
</repository>
271-
<repository>
272-
<id>cg-central</id>
273-
<name>CG Central Repo</name>
274-
<url>http://nexus.intuit.net/nexus/content/groups/public</url>
275-
<releases>
276-
<enabled>true</enabled>
277-
</releases>
278-
<snapshots>
279-
<enabled>true</enabled>
280-
<updatePolicy>always</updatePolicy>
281-
</snapshots>
282-
</repository>
283305
</repositories>
284306

285307
<pluginRepositories>
@@ -288,12 +310,6 @@
288310
<name>Sonatype Repository</name>
289311
<url>https://oss.sonatype.org/content/repositories/releases</url>
290312
</pluginRepository>
291-
<pluginRepository>
292-
<id>cg-central</id>
293-
<name>CG Central Repo</name>
294-
<url>http://nexus.intuit.net/nexus/content/groups/public</url>
295-
</pluginRepository>
296-
297313
</pluginRepositories>
298314

299315
</project>

0 commit comments

Comments
 (0)