jgriffin
5 years agoNew Contributor II
Maven Error Setting up for Snap Development
Maven is unable to retrieve project. Command:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=http://maven.clouddev.snaplogic.com:8080/nexus/content/repositorie...
- 3 years ago
It is because the
parse
method expects a number but you are providing a string value.
You need to parse the “Modified_Date”, you can do so by usingparseInt(string)
.In your case would be:
parseInt($Modified_Date)
And the full expression to format the date would be:
Date.parse(parseInt($Modified_Date))