Skip to content

Commit 2ccad15

Browse files
authored
feat: Add the evm connector addon to the meeds packaging - MEED-3205 - Meeds-io/MIPs#118 (#1604)
This change will add the evm connector addon to the meeds packaging.
1 parent 85813b5 commit 2ccad15

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

packaging/plf-community-tomcat-standalone/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@
141141
<type>zip</type>
142142
<scope>provided</scope>
143143
</dependency>
144+
<dependency>
145+
<groupId>io.meeds.gamification-evm</groupId>
146+
<artifactId>gamification-evm-packaging</artifactId>
147+
<type>zip</type>
148+
<scope>provided</scope>
149+
</dependency>
144150
</dependencies>
145151
<build>
146152
<!-- The name that we'll use for our distribution directory -->
@@ -376,6 +382,9 @@
376382
<exec dir="${project.basedir}" executable="${project.build.directory}/${project.build.finalName}/${project.build.finalName}/addon${addon.manager.extension}" failonerror="true">
377383
<arg line="install ${addon.meeds.gamification-twitter.id}:${addon.meeds.gamification-twitter.version} --catalog=file://${project.build.directory}/local-catalog/meeds-distrib-catalog.json" />
378384
</exec>
385+
<exec dir="${project.basedir}" executable="${project.build.directory}/${project.build.finalName}/${project.build.finalName}/addon${addon.manager.extension}" failonerror="true">
386+
<arg line="install ${addon.meeds.gamification-evm.id}:${addon.meeds.gamification-evm.version} --catalog=file://${project.build.directory}/local-catalog/meeds-distrib-catalog.json" />
387+
</exec>
379388
</target>
380389
</configuration>
381390
</execution>

packaging/plf-community-tomcat-standalone/src/main/catalog/meeds-distrib-catalog.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,22 @@
196196
"supportedDistributions": "community,enterprise",
197197
"supportedApplicationServers": "tomcat",
198198
"compatibility": "[${project.version},)"
199+
},{
200+
"id": "meeds-gamification-evm",
201+
"version": "${addon.meeds.gamification-evm.version}",
202+
"unstable": false,
203+
"name": "Gamification Evm connector add-on",
204+
"description": "Gamification Evm connector add-on",
205+
"sourceUrl": "https://github.com/meeds-io/gamification-evm",
206+
"documentationUrl": "https://github.com/meeds-io/gamification-evm",
207+
"downloadUrl": "file://${settings.localRepository}/io/meeds/gamification-evm/gamification-evm-packaging/${addon.meeds.gamification-evm.version}/gamification-evm-packaging-${addon.meeds.gamification-evm.version}.zip",
208+
"vendor": "Meeds.io",
209+
"author": "Meeds.io",
210+
"license": "LGPLv3",
211+
"licenseUrl": "https://www.gnu.org/licenses/lgpl-3.0.txt",
212+
"mustAcceptLicense": false,
213+
"supportedDistributions": "community,enterprise",
214+
"supportedApplicationServers": "tomcat",
215+
"compatibility": "[${project.version},)"
199216
}
200217
]

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
7878
<addon.meeds.gamification-github.version>1.3.x-meedsv2-SNAPSHOT</addon.meeds.gamification-github.version>
7979
<addon.meeds.gamification-twitter.id>meeds-gamification-twitter</addon.meeds.gamification-twitter.id>
8080
<addon.meeds.gamification-twitter.version>1.1.x-meedsv2-SNAPSHOT</addon.meeds.gamification-twitter.version>
81+
<addon.meeds.gamification-evm.id>meeds-gamification-evm</addon.meeds.gamification-evm.id>
82+
<addon.meeds.gamification-evm.version>1.0.x-meedsv2-SNAPSHOT</addon.meeds.gamification-evm.version>
8183
<!-- Add-on manager extension to use (empty for Unix, .bat for Windows) -->
8284
<addon.manager.extension />
8385

@@ -185,6 +187,13 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
185187
<type>pom</type>
186188
<scope>import</scope>
187189
</dependency>
190+
<dependency>
191+
<groupId>io.meeds.gamification-evm</groupId>
192+
<artifactId>gamification-evm-parent</artifactId>
193+
<version>${addon.meeds.gamification-evm.version}</version>
194+
<type>pom</type>
195+
<scope>import</scope>
196+
</dependency>
188197
<!-- Project artifacts -->
189198
<dependency>
190199
<groupId>${project.groupId}</groupId>

0 commit comments

Comments
 (0)