java - Connection properties error when starting JBoss as a Maven plugin -
i'm trying install content management system polopoly on pc. following error when run mvn p:run command (this intended start polopoly installation embedded database, jboss , web container):
failed execute goal com.polopoly.extensions-maven-plugin:10.6.1-fp1 1-c871a5b:run (default-cli) on project myproject: not deploy com.polopoly. extensions-maven-plugin:import-scan: not scan content: not create content importer: org.apache.maven.plugin.mojoexecutionexception: unable read connection properties. not connection properties 'http://localho st:8081/connection-properties/connection.properties', nor backup 'c:\users\ hollandv\appdata\local\temp\http___localhost_8081_connection-properties_connecti on.properties'. ->
the detailed version of error follows:
[error] failed execute goal com.polopoly.extensions-maven-plugin:10.6.1-fp1 1-c871a5b:run (default-cli) on project myproject: not deploy com.polopoly. extensions-maven-plugin:import-scan: not scan content: not create content importer: org.apache.maven.plugin.mojoexecutionexception: unable read connection properties. not connection properties 'http://localho st:8081/connection-properties/connection.properties', nor backup 'c:\users\ hollandv\appdata\local\temp\http___localhost_8081_connection-properties_connecti on.properties'. -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal c om.polopoly.extensions-maven-plugin:10.6.1-fp11-c871a5b:run (default-cli) on p roject myproject: not deploy com.polopoly.extensions-maven-plugin:import -scan @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:213) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:153) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:145) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproje ct(lifecyclemodulebuilder.java:84) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproje ct(lifecyclemodulebuilder.java:59) @ org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbu ild(lifecyclestarter.java:183) @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecycl estarter.java:161) @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:320) @ org.apache.maven.defaultmaven.execute(defaultmaven.java:156) @ org.apache.maven.cli.mavencli.execute(mavencli.java:537) @ org.apache.maven.cli.mavencli.domain(mavencli.java:196) @ org.apache.maven.cli.mavencli.main(mavencli.java:141) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl. java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodacces sorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(laun cher.java:290) @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.jav a:230) @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(la uncher.java:409) @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java: 352) caused by: org.apache.maven.plugin.mojofailureexception: not deploy com.po lopoly.extensions-maven-plugin:import-scan @ com.polopoly.maven.abstractexecutepluginmojo.executeplugin(abstractex ecutepluginmojo.java:85) @ com.polopoly.maven.polopolyrunmojo.execute(polopolyrunmojo.java:28) @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(default buildpluginmanager.java:101) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:209) ... 19 more caused by: org.apache.maven.plugin.mojofailureexception: not scan content @ com.polopoly.maven.contentscanmojo.execute(contentscanmojo.java:299) @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(default buildpluginmanager.java:101) @ com.polopoly.maven.abstractexecutepluginmojo.executeplugin(abstractex ecutepluginmojo.java:83) ... 22 more caused by: org.apache.maven.plugin.mojoexecutionexception: not create cont ent importer: org.apache.maven.plugin.mojoexecutionexception: unable read con nection properties. @ com.polopoly.maven.util.mavenplugincontentimporter.createimporter(mav enplugincontentimporter.java:60) @ com.polopoly.maven.util.mavenplugincontentimporter.<init>(mavenplugin contentimporter.java:24) @ com.polopoly.maven.contentscanmojo.createimporter(contentscanmojo.jav a:306) @ com.polopoly.maven.contentscanmojo.execute(contentscanmojo.java:192) ... 24 more caused by: org.apache.maven.plugin.mojoexecutionexception: unable read connec tion properties. @ com.polopoly.plugin.contentimporter.<init>(contentimporter.java:57) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstruct oraccessorimpl.java:39) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingc onstructoraccessorimpl.java:27) @ java.lang.reflect.constructor.newinstance(constructor.java:513) @ com.polopoly.maven.util.mavenplugincontentimporter.createimporter(mav enplugincontentimporter.java:45) ... 27 more caused by: java.io.ioexception: not connection properties 'http:/ /localhost:8081/connection-properties/connection.properties', nor backup 'c :\users\hollandv\appdata\local\temp\http__localhost_8081_connection-properties connection.properties'. @ com.polopoly.application.backedupconnectionproperties.retrieveandstor e(backedupconnectionproperties.java:188) @ com.polopoly.application.backedupconnectionproperties.retrieveandback up(backedupconnectionproperties.java:112) @ com.polopoly.application.backedupconnectionproperties.retrieveandback up(backedupconnectionproperties.java:79) @ com.polopoly.application.connectionproperties.<init>(connectionproper ties.java:219) @ com.polopoly.plugin.contentimporter.<init>(contentimporter.java:51) ... 32 more [error] [error] [error] more information errors , possible solutions, please rea d following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojofailureexc eption
i've verified jetty maven plugin has been configured p.connectionpropertiesurl ${polopoly.connection-properties} in project's pom.xml file, has not resolved issue. has else had problem , know how resolve it?
which version of maven use? try maven version 3.0.x :) , work!
what maven commands use?
try:
mvn clean install -pall mvn jboss:start mvn jetty:run-all
best regards rene
Comments
Post a Comment