Skip to content

Commit d2b7f7a

Browse files
imetaxasimetaxas
imetaxas
authored and
imetaxas
committed
update pom
1 parent 9b892e4 commit d2b7f7a

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

maven-central-deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Deploy maven artefact in current directory into Maven central repository
33
# using maven-release-plugin goals
44

5-
read -p "Really deploy to maven cetral repository (yes/no)? "
5+
read -p "Really deploy to maven central repository (yes/no)? "
66

77
if ( [ "$REPLY" == "yes" ] ) then
88
ssh-add ~/.ssh/github.ppk

pom.xml

+31-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>com.portfolionaire.realitycheck</groupId>
7+
<groupId>com.yanimetaxas</groupId>
88
<artifactId>realitycheck</artifactId>
9-
<version>0.1-SNAPSHOT</version>
9+
<version>0.5-SNAPSHOT</version>
1010

1111
<name>Reality Check</name>
1212
<url>https://github.com/imetaxas/realitycheck</url>
@@ -113,6 +113,15 @@
113113
</executions>
114114
</plugin>
115115

116+
<!--<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-deploy-plugin</artifactId>
119+
<version>2.7</version>
120+
<configuration>
121+
<skip>true</skip>
122+
</configuration>
123+
</plugin>-->
124+
116125
<plugin>
117126
<groupId>org.sonatype.plugins</groupId>
118127
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -121,7 +130,6 @@
121130
<configuration>
122131
<serverId>oss.sonatype.org</serverId>
123132
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
124-
<description>${project.version}</description>
125133
</configuration>
126134
<executions>
127135
<execution>
@@ -135,6 +143,26 @@
135143
</executions>
136144
</plugin>
137145

146+
<!--<plugin>
147+
<groupId>org.sonatype.plugins</groupId>
148+
<artifactId>nexus-staging-maven-plugin</artifactId>
149+
<version>1.6</version>
150+
<executions>
151+
<execution>
152+
<id>default-deploy</id>
153+
<phase>deploy</phase>
154+
<goals>
155+
<goal>deploy</goal>
156+
</goals>
157+
</execution>
158+
</executions>
159+
<configuration>
160+
<serverId>nexus</serverId>
161+
<nexusUrl>http://localhost:8081/nexus/</nexusUrl>
162+
<skipStaging>true</skipStaging>
163+
</configuration>
164+
</plugin>-->
165+
138166
<plugin>
139167
<groupId>org.apache.maven.plugins</groupId>
140168
<artifactId>maven-release-plugin</artifactId>

0 commit comments

Comments
 (0)