nexus deployer as a webpack plugin based on nexus-deployer from cthorne66
To install:
npm install nexus-deployer-webpack-plugin --save-dev
Use in the webpack config:
var NexusDeployer = require('nexus-deployer-webpack-plugin');
var webpackConfig = {
// ... other config settings here ...
plugins: [
new NexusDeployer({
groupId: 'nexus-deployer-webpack-plugin',
artifactId: 'nexus-deployer-webpack-plugin',
version: '0.1',
packaging: 'exe',
auth: {
username:'root',
password:'toor'
},
pomDir: 'build/pom',
url: 'http://localhost:8081/nexus/content/repositories/releases',
artifact: 'nexus-deployer-webpack-plugin.exe'
})
]
};
2017 (c) Sebastian Kreissl