Skip to content

Commit a269bd8

Browse files
committed
doc: updated release process
1 parent cd4a5f1 commit a269bd8

File tree

4 files changed

+21
-116
lines changed

4 files changed

+21
-116
lines changed

.github/workflows/maven-deploy.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -38,57 +38,9 @@ Install the following:
3838
docker run -d --rm -p 27017:27017 --name mongo mongo
3939
# run the web server
4040
docker run -d --rm -p 3000:3000 -e MONGO_DB_HOST=host.docker.internal --name maven-build-scanner-server alexcollinsintuit/maven-build-scanner-server
41-
```
42-
43-
Edit `~/.m2/settings.xml` and add the following profile:
44-
45-
```xml
46-
47-
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
48-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
49-
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
50-
http://maven.apache.org/xsd/settings-1.0.0.xsd">
51-
52-
<activeProfiles>
53-
<activeProfile>github</activeProfile>
54-
</activeProfiles>
55-
56-
<profiles>
57-
<profile>
58-
<id>github</id>
59-
<repositories>
60-
<repository>
61-
<id>central</id>
62-
<url>https://repo1.maven.org/maven2</url>
63-
</repository>
64-
<repository>
65-
<id>github</id>
66-
<url>https://maven.pkg.github.com/intuit/maven-build-scanner</url>
67-
<snapshots>
68-
<enabled>true</enabled>
69-
</snapshots>
70-
</repository>
71-
</repositories>
72-
</profile>
73-
</profiles>
74-
75-
</settings>
76-
```
77-
78-
Edit your `pom.xml` and add the following:
79-
80-
```xml
81-
<project>
82-
<build>
83-
<extensions>
84-
<extension>
85-
<groupId>com.intuit</groupId>
86-
<artifactId>maven-build-scanner</artifactId>
87-
<version>1.0.0-SNAPSHOT</version>
88-
</extension>
89-
</extensions>
90-
</build>
91-
</project>
41+
# Install the Maven extension:
42+
output="$(mvn help:evaluate -Dexpression=maven.home -DforceStdout -q)/lib/ext/maven-build-scanner-jar-with-dependencies.jar"
43+
curl -L https://github.com/intuit/maven-build-scanner/releases/download/v1.0.0/maven-build-scanner-jar-with-dependencies.jar -o $output
9244

9345
```
9446

pom.xml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,24 @@
100100
</execution>
101101
</executions>
102102
</plugin>
103+
<plugin>
104+
<artifactId>maven-assembly-plugin</artifactId>
105+
<version>3.4.2</version>
106+
<configuration>
107+
<descriptorRefs>
108+
<descriptorRef>jar-with-dependencies</descriptorRef>
109+
</descriptorRefs>
110+
</configuration>
111+
<executions>
112+
<execution>
113+
<id>make-assembly</id>
114+
<phase>package</phase>
115+
<goals>
116+
<goal>single</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
103121
</plugins>
104-
<!--
105-
<extensions>
106-
<extension>
107-
<groupId>com.intuit</groupId>
108-
<artifactId>maven-build-scanner</artifactId>
109-
<version>1.0.0-SNAPSHOT</version>
110-
</extension>
111-
</extensions>
112-
-->
113122
</build>
114-
<distributionManagement>
115-
<repository>
116-
<id>github</id>
117-
<name>GitHub Packages</name>
118-
<url>https://maven.pkg.github.com/intuit/maven-build-scanner</url>
119-
</repository>
120-
</distributionManagement>
121123
</project>

settings.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)