Trying to use Maven Tiles io.repaint.maven:tiles-maven-plugin however project does not build from fresh with clean repository
mvn install
gives
[INFO] Scanning for projects...
[ERROR] Could not find artifact com.purplepip:tile-code-coverage:xml:1.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.purplepip -DartifactId=tile-code-coverage -Dversion=1.0-SNAPSHOT -Dpackaging=xml -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.purplepip -DartifactId=tile-code-coverage -Dversion=1.0-SNAPSHOT -Dpackaging=xml -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] com.purplepip:tile-code-coverage:xml:1.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
However it works OK with
(cd tiles ; mvn install)
mvn install
This is not acceptable and I do not want to have to deploy tiles to an artifact repository for this to work. Therefore use of this tiles plugin to modularise maven poms needs to be removed. If one day I understand how to address this I may bring it back in.
Trying to use Maven Tiles io.repaint.maven:tiles-maven-plugin however project does not build from fresh with clean repository
mvn install
gives
[INFO] Scanning for projects... [ERROR] Could not find artifact com.purplepip:tile-code-coverage:xml:1.0-SNAPSHOT [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=com.purplepip -DartifactId=tile-code-coverage -Dversion=1.0-SNAPSHOT -Dpackaging=xml -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=com.purplepip -DartifactId=tile-code-coverage -Dversion=1.0-SNAPSHOT -Dpackaging=xml -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] com.purplepip:tile-code-coverage:xml:1.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
However it works OK with
(cd tiles ; mvn install)
mvn install
This is not acceptable and I do not want to have to deploy tiles to an artifact repository for this to work. Therefore use of this tiles plugin to modularise maven poms needs to be removed. If one day I understand how to address this I may bring it back in.