Skip to content

Commit f7c84c1

Browse files
committed
Jar building
1 parent 2423080 commit f7c84c1

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

couchbase-neo4j-connector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mvn package
1313
To run the connector
1414

1515
```
16-
java -jar couchbase-neo4j-connector -Dconf.file=dcp-configuration.properties
16+
java -jar target/neo4j-connector-0.0.1-jar-with-dependencies.jar -Dconf.file=neo4j-sync.propeties
1717
```
1818

1919
# DCP connector configuration

couchbase-neo4j-connector/pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,29 @@
6262
<target>${java-compat.version}</target>
6363
</configuration>
6464
</plugin>
65+
<plugin>
66+
<artifactId>maven-assembly-plugin</artifactId>
67+
<version>3.0.0</version>
68+
<configuration>
69+
<descriptorRefs>
70+
<descriptorRef>jar-with-dependencies</descriptorRef>
71+
</descriptorRefs>
72+
<archive>
73+
<manifest>
74+
<mainClass>com.couchbase.client.neo4j.Neo4jSync</mainClass>
75+
</manifest>
76+
</archive>
77+
</configuration>
78+
<executions>
79+
<execution>
80+
<id>make-assembly</id> <!-- this is used for inheritance merges -->
81+
<phase>package</phase> <!-- bind to the packaging phase -->
82+
<goals>
83+
<goal>single</goal>
84+
</goals>
85+
</execution>
86+
</executions>
87+
</plugin>
6588
</plugins>
6689
</build>
6790

0 commit comments

Comments
 (0)