[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-876?pag...
]
Hardy Ferentschik updated HSEARCH-876:
--------------------------------------
Description:
When getting the latest archetype:
{noformat}
mvn archetype:generate -DarchetypeGroupId=org.hibernate
-DarchetypeArtifactId=hibernate-search-quickstart -DarchetypeVersion=3.4.1.Final
-DarchetypeRepository=http://repository.jboss.org/nexus/content/groups/public-jboss/
{noformat}
and executing _mvn clean install_ after specifying the required information (using
1.0-SNAPSHOT as version), the following error occurs:
{noformat}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Search Quickstart 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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: 0.916s
[INFO] Finished at: Thu Aug 25 17:03:41 CEST 2011
[INFO] Final Memory: 3M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project bar: Could not resolve dependencies for project
foo:bar:jar:1.0-SNAPSHOT: Failure to find
org.hibernate:hibernate-search-analyzers:jar:1.0-SNAPSHOT in
http://localhost:8082/nexus/content/groups/jboss-dev-group/ was cached in the local
repository, resolution will not be reattempted until the update interval of nexus 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/DependencyResolutionExce...
{noformat}
I am not quite sure why _hibernate-search-analyzers_ in version _1.0-SNAPSHOT_ et
requested. This feels like a maven bug. A fix is to explicitly add
{code}
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search-analyzers</artifactId>
<version>${project.parent.version}</version>
</dependency>
{code}
to the archetype pom
was:
When getting the latest archetype:
{noformat}
mvn archetype:generate -DarchetypeGroupId=org.hibernate
-DarchetypeArtifactId=hibernate-search-quickstart -DarchetypeVersion=3.4.1.Final
-DarchetypeRepository=http://repository.jboss.org/nexus/content/groups/public-jboss/
{noformat}
and executing _mvn clean install_ after specifying the required information (using
1.0-SNAPSHOT as version), the following error occurs:
{noformat}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Search Quickstart 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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: 0.916s
[INFO] Finished at: Thu Aug 25 17:03:41 CEST 2011
[INFO] Final Memory: 3M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project bar: Could not resolve dependencies for project
foo:bar:jar:1.0-SNAPSHOT: Failure to find
org.hibernate:hibernate-search-analyzers:jar:1.0-SNAPSHOT in
http://localhost:8082/nexus/content/groups/jboss-dev-group/ was cached in the local
repository, resolution will not be reattempted until the update interval of nexus 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/DependencyResolutionExce...
{noformat}
I am not quite sure why _hibernate-search-analyzers_ in version _1.0-SNAPSHOT_ et
requested. This feels like a maven bug. A fix is to explicitly add
{code}
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search-analyzers</artifactId>
<version>${project.parent.version}</version>
</dependency>
{code}
to the archetype pom
Extracted archetype does not compile
------------------------------------
Key: HSEARCH-876
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-876
Project: Hibernate Search
Issue Type: Bug
Components: build
Affects Versions: 3.4.1.Final
Reporter: Hardy Ferentschik
When getting the latest archetype:
{noformat}
mvn archetype:generate -DarchetypeGroupId=org.hibernate
-DarchetypeArtifactId=hibernate-search-quickstart -DarchetypeVersion=3.4.1.Final
-DarchetypeRepository=http://repository.jboss.org/nexus/content/groups/public-jboss/
{noformat}
and executing _mvn clean install_ after specifying the required information (using
1.0-SNAPSHOT as version), the following error occurs:
{noformat}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Search Quickstart 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[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: 0.916s
[INFO] Finished at: Thu Aug 25 17:03:41 CEST 2011
[INFO] Final Memory: 3M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project bar: Could not resolve dependencies for project
foo:bar:jar:1.0-SNAPSHOT: Failure to find
org.hibernate:hibernate-search-analyzers:jar:1.0-SNAPSHOT in
http://localhost:8082/nexus/content/groups/jboss-dev-group/ was cached in the local
repository, resolution will not be reattempted until the update interval of nexus 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/DependencyResolutionExce...
{noformat}
I am not quite sure why _hibernate-search-analyzers_ in version _1.0-SNAPSHOT_ et
requested. This feels like a maven bug. A fix is to explicitly add
{code}
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search-analyzers</artifactId>
<version>${project.parent.version}</version>
</dependency>
{code}
to the archetype pom
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira