[hibernate-issues] [Hibernate-JIRA] Assigned: (HSEARCH-967) Hibernate Search archetype resolver generated ${project.version} as org.hibernate:hibernate-search-analyzers version
Sanne Grinovero (JIRA)
noreply at atlassian.com
Mon Nov 7 13:30:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero reassigned HSEARCH-967:
---------------------------------------
Assignee: Hardy Ferentschik (was: Sanne Grinovero)
> Hibernate Search archetype resolver generated ${project.version} as org.hibernate:hibernate-search-analyzers version
> --------------------------------------------------------------------------------------------------------------------
>
> Key: HSEARCH-967
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-967
> Project: Hibernate Search
> Issue Type: Bug
> Components: build
> Affects Versions: 4.0.0.CR1
> Reporter: Karel Piwko
> Assignee: Hardy Ferentschik
> Fix For: 4.0.0.CR2
>
>
> When an archetype is generated, following dependency is managed by dependencyManagement in hibernate-search-parent. However, the version is not resolved to 4.0.0.CR1 but to actual project version, which is likely 1.0-SNAPSHOT (the default)
> {code:xml}
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-search-analyzers</artifactId>
> </dependency>
> {code}
> Following error happens:
> {code}
> [INFO] Building Hibernate Search Quickstart 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> maven-archetype-plugin:2.1:generate (default-cli) @ hibernate-search-quickstart >>>
> [WARNING] The POM for org.hibernate:hibernate-search-analyzers:jar:1.0-SNAPSHOT is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12.977s
> [INFO] Finished at: Tue Oct 25 14:52:46 CEST 2011
> [INFO] Final Memory: 6M/116M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project hibernate-search-quickstart: Could not resolve dependencies for project org.jboss.wfk.hibernate.search:hibernate-search-quickstart:jar:1.0-SNAPSHOT: Failure to find org.hibernate:hibernate-search-analyzers:jar:1.0-SNAPSHOT in https://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced -> [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/DependencyResolutionException
> Workaround: Include version by yourself
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list