chonton / touch-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWCreate or set file modification time
License: Apache License 2.0
Create or set file modification time
License: Apache License 2.0
Hi there, I'm having some issues getting this plugin working.
The "Create a file" configuration example gives me this error:
The parameters 'files' for goal org.honton.chas:touch-maven-plugin:0.0.1:touch are missing or invalid
So I changed it to:
<configuration>
<modificationTime>${maven.build.timestamp}</modificationTime>
<files><directory>path/to/create</directory><includes><include>.gitignore</include></includes></files>
</configuration>
Which gets me further, to the following message:
java.nio.file.NoSuchFileException: path/to/create
Hmmm....... I thought it should create the path? Anyways, let's try to use a path that already exists:
<configuration>
<modificationTime>${maven.build.timestamp}</modificationTime>
<files><directory>${project.build.outputDirectory}</directory><includes><include>.gitignore</include></includes></files>
</configuration>
Now it's:
Caused by: java.lang.NullPointerException
at java.nio.file.Files.provider (Files.java:101)
at java.nio.file.Files.createDirectory (Files.java:690)
Somehow it still wants to create the directory?
I'm at a loss, and I've stopped trying by this point,
Hope you are still interested in your project and wish to shine a light on my troubles!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.