Skip to content
This repository has been archived by the owner on Jul 4, 2021. It is now read-only.

metanorma/mn2sts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metanorma mn2sts (DEPRECATED: Superseded by mnconvert)

Build Status Build Status Build Status

Installing Build Tools

You will need the maven build tool and make.

Usage

java -jar target/mn2sts-1.9.jar --xml-file-in <XML-FileName> --xml-file-out <Output-XML-FileName>

e.g.

java -jar target/mn2sts-1.9.jar --xml-file-in tests/iso-tc154-8601-1-en.xml --xml-file-out tests/iso-tc154-8601-1-en.out.xml

Building the package

make all

Releasing a new version

Update version in pom.xml, e.g.:

<groupId>org.metanorma</groupId>
<artifactId>mn2sts</artifactId>
<version>1.9</version>
<name>Metanorma MN XML to NISO STS XML converter</name>

Build the package using instructions above, the package will be created at: target/mn2sts-{version}.jar

Tag the same version in Git:

git tag v1.9
git push origin v1.9

Then the corresponding GitHub release will be automatically created at: https://github.com/metanorma/mn2sts/releases

Testing

The testing environment utilizes these tools:

  • make

Running the tests:

make test

Ribose Inc.