Skip to content

Commit 3586a47

Browse files
committed
Changed Maven groupId to "de.tototec" and added deploy script.
1 parent a18d5ec commit 3586a47

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

deploy-maven-central.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/sh
2+
3+
if [ ! -f mvn-settings.xml ]; then
4+
echo "Creating mvn-settings.xml"
5+
cat > mvn-settings.xml <<EOF
6+
<settings>
7+
<servers>
8+
<server>
9+
<id>ossrh</id>
10+
<username>your-username</username>
11+
<password>your-password</password>
12+
</server>
13+
</servers>
14+
</settings>
15+
EOF
16+
17+
fi
18+
19+
echo "Please edit mvn-settings.xml with propper connection details. Press Enter"
20+
read
21+
22+
#echo "Preparing Repository"
23+
#mvn -s mvn-settings.xml clean
24+
#mvn -s mvn-settings.xml package test source:jar javadoc:jar
25+
26+
echo "Signing and uploading. Press Enter"
27+
read
28+
29+
mvn -s ./mvn-settings.xml clean package source:jar javadoc:jar gpg:sign deploy:deploy -DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/service/local/staging/deploy/maven2/

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>de.tobiasroeser</groupId>
7+
<groupId>de.tototec</groupId>
88
<artifactId>de.tobiasroeser.lambdatest</artifactId>
99
<version>0.0.3</version>
1010

0 commit comments

Comments
 (0)