8000 GitHub - ia3andy/mvnpm: Maven over the NPM Registry
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ia3andy/mvnpm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvnpm

Maven for NPM

Maven Repository

Add the mvnpm repository:

    <repositories>
        <repository>
            <id>mvnpm.org</id>
            <name>mvnpm</name>
            <url>https://repo.mvnpm.org/maven2</url>
        </repository>
    </repositories>

see https://maven.apache.org/guides/mini/guide-multiple-repositories.html for more details on multiple repositories

Include

    <dependency>
        <groupId>org.mvnpm</groupId>
        <artifactId>{ANY NPM PACKAGE NAME}</artifactId>
        <version>{ANY NPM PACKAGE VERSION}</version>
        <scope>runtime</scope>
    </dependency>

example (lit):

    <dependency>
        <groupId>org.mvnpm</groupId>
        <artifactId>lit</artifactId>
        <version>2.4.0</version>
        <scope>runtime</scope>
    </dependency>

TODO: Show advance example (with namespaced npm packages)

Use

TODO ... (import map etc)

Server install

export MVNPM_LOCAL_USER_DIRECTORY=/home/pkruger/mvnpm nohup ./mvnpm-1.0.1-runner > mvnpm.log &

TODO

  • Consider allowing version in path with link added to no version path
  • dependency bundles ? i.e whole of vaadin ?
  • dependency clashes. See pom

About

Maven over the NPM Registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 87.6%
  • JavaScript 11.6%
  • Other 0.8%
0