Best practices for copying files with Maven

I have config files and various documents that I want to copy from the dev environment to the dev-server directory using Maven2. Strangely, Maven does not seem strong at this task. Some of the options: Simple use a copy task in Maven <copy file=”src/main/resources/config.properties” tofile=”${project.server.config}/config.properties”/> Use the Ant plugin to execute copy from Ant. Construct … Read more

Why use Gradle instead of Ant or Maven? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

How do I generate sourcemaps when using babel and webpack?

I’m new to webpack, and I need a hand in setting up to generate sourcemaps. I’m running webpack serve from the command line, which compiles successfully. But I really need sourcemaps. This is my webpack.config.js. var webpack = require(‘webpack’); module.exports = { output: { filename: ‘main.js’, publicPath: ‘/assets/’ }, cache: true, debug: true, devtool: true, … Read more