Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Commit 3c65a4c

Browse files
committed
Bump to 1.4.0 + added archetype-catalog.xml
1 parent bfca49d commit 3c65a4c

File tree

4 files changed

+38
-5
lines changed

4 files changed

+38
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The file is formatted as described on http://keepachangelog.com/.
55

66
## [Unreleased]
77

8+
### Changed
9+
10+
* Upgraded to v2.0.0 of nl.esciencecenter.e3dchem.python.plugin
11+
812
## [1.3.0] - 2017-03-09
913

1014
Synced with [tycho-knime-node-archetype v1.4.0](https://github.com/3D-e-Chem/tycho-knime-node-archetype/releases/tag/v1.4.0).

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The ~/.m2/settings.xml should contain the following profile:
4040
https://maven.apache.org/xsd/settings-1.0.0.xsd">
4141
<profiles>
4242
<profile>
43-
<id>knimearchetype</id>
43+
<id>pythonknimearchetype</id>
4444
<repositories>
4545
<repository>
4646
<id>python-knime-archetype</id>
@@ -59,8 +59,8 @@ The following command will generate a skeleton project
5959
```sh
6060
mvn archetype:generate -DarchetypeGroupId=nl.esciencecenter \
6161
-DarchetypeArtifactId=knime-python-node-archetype \
62-
-DarchetypeVersion=1.3.0 \
63-
-P knimearchetype
62+
-DarchetypeVersion=1.4.0 \
63+
-P pythonknimearchetype
6464
```
6565

6666
The command will ask the following questions:
@@ -94,10 +94,25 @@ The following steps are needed to get a ready to use project.
9494

9595
Further instructions about generated project can be found in it's README.md file.
9696

97+
## Generate from inside KNIME SDK
98+
99+
1. Start up the KNIME SDK
100+
2. Install the `m2e - Maven Integration for Eclipse` software, (you might need to add the add the Eclipse software site which is `http://download.eclipse.org/releases/neon` for the version 3.5.1 of the KNIME SDK)
101+
3. Register the archetype catalog which contains this archetype
102+
3.1. Goto Window > Preferences > Maven > Archetypes
103+
3.2. Add a remove catalog with `https://github.com/3D-e-Chem/knime-python-node-archetype/raw/master/archetype-catalog.xml`
104+
4. Create a new project based on archetype
105+
4.1. Goto File > New > Project ... > Maven
106+
4.2. Select Maven Project & press Next button
107+
4.3. Use default location & press Next button
108+
4.4. Select Catalog you added in 3.2
109+
4.5. Select the archetype with artifact id `knime-python-node-archetype` & press Next button
110+
4.6. Fill in the form & press Finish button
111+
97112
## New release
98113

99114
1. Adjust version in pom.xml
100-
2. Update CHANGELOG.md & README.md
115+
2. Update CHANGELOG.md & README.md & archetype-catalog.xml
101116
3. Commit & push
102117
4. Create Github release
103118
5. Deploy to Bintray, see Deploy chapter below

archetype-catalog.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<archetype-catalog xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd"
3+
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
<archetypes>
6+
<archetype>
7+
<groupId>nl.esciencecenter</groupId>
8+
<artifactId>knime-python-node-archetype</artifactId>
9+
<version>1.4.0</version>
10+
<description>knime.node.archetype</description>
11+
<repository>https://dl.bintray.com/nlesc/knime-python-node-archetype</repository>
12+
</archetype>
13+
</archetypes>
14+
</archetype-catalog>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>nl.esciencecenter</groupId>
44
<artifactId>knime-python-node-archetype</artifactId>
5-
<version>1.3.0</version>
5+
<version>1.4.0</version>
66
<name>Archetype - KNIME Python node</name>
77
<packaging>maven-archetype</packaging>
88
<licenses>

0 commit comments

Comments
 (0)