jQAssistant / jqassistant

Your Software. Your Structures. Your Rules.
https://jqassistant.org/
GNU General Public License v3.0
198 stars 35 forks source link

Build fails after update to 1.0.0-M4 #147

Closed obfischer closed 10 years ago

obfischer commented 10 years ago

After upgrading my Maven Plugin Dependency to 1.0.0-M4 the build fails with the following message:

[ERROR] Failed to execute goal com.buschmais.jqassistant.scm:jqassistant-maven-plugin:
1.0.0-M4:scan (scan) on project parent: Execution scan of goal com.buschmais
.jqassistant.scm:jqassistant-maven-plugin:1.0.0-M4:scan failed: Error starting
org.neo4j.kernel.EmbeddedGraphDatabase, /Users/obf/code/wild-monkey.master/target/jqassistant
/store: Component 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@2cdd1d56' was
successfully initialized, but failed to start. Please see attached cause exception. Component
'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource@d430c4f' was successfully initialized,
but failed to start. Please see attached cause exception. Failed to start Neo4j with an older data 
store version. To enable automatic upgrade, please set configuration parameter
"allow_store_upgrade=true" -> [Help 1]
DirkMahler commented 10 years ago

This indicates that data of an older jQA /Neo4j version is still present in the workspace. After executing mvn: clean the problem should be gone. Nevertheless automatic store upgrades shall be activated by default to allow incremental scanning in the future, will be implemented.

obfischer commented 10 years ago

From an enduser perspective this is annoying as you can't see a simple solution in the first moment. The hint with the configuration parameter is even more confusing.

obfischer commented 10 years ago

Maybe it would be enough for the first time to catch this error and to add a hint to the output the run mvn clean.

DirkMahler commented 10 years ago

Committed a fix for 1.0.0-RC.

obfischer commented 10 years ago

Thank you. I will test it.

obfischer commented 10 years ago

Works. First I build with Milestone 3 and afterwards mit 1.0.0-RC-SNAPSHOT. Store were automatically updated.