[
https://issues.apache.org/jira/browse/SOLR-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241772#comment-13241772
]
Steven Rowe commented on SOLR-3294:
-----------------------------------
{quote}
A patch replacing Carrot2 with (maven central released) 3.5.0.1.
A feeble attempt to fix maven descriptors as well, but Steve -- help, help --
did I get it right? :)
I've just pushed 3.5.0.1 to MC so it'll be there in an hour or so (rsync). You
can grab it from
https://oss.sonatype.org/content/repositories/releases/org/carrot2/carrot2-core/3.5.0.1/
too.
{quote}
As of this writing, the new artifacts haven't made it to MC yet. The Maven
build (compile/install/test) works, under both Java5 and Java6, if I
temporarily add this to the top-level POM:
{code:xml}
<repository>
<id>sonatype.oss.releases</id>
<name>Sonatype OSS releases</name>
<url>https://oss.sonatype.org/content/repositories/releases</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
{code}
One small thing: the {{dist-maven}} specialization can be removed entirely from
{{clustering/build.xml}}:
{code:xml}
<target name="dist-maven" depends="common.dist-maven">
<!--
<m2-deploy-with-pom-template
pom.xml="${antfile.dir}/lib/solr-carrot2-core-pom.xml.template"
jar.file="${antfile.dir}/lib/carrot2-core-3.5.0.jar" />
-->
</target>
{code}
I also tried the Ant build ({{ant test}} under {{solr/contrib/clustering/}})
under both Java5 and Java6 (after populating {{clustering/lib/}} from my local
Maven repo), and it succeeded for me.
> Remove binary carrot2.jar and replace it with a maven dependency.
> -----------------------------------------------------------------
>
> Key: SOLR-3294
> URL: https://issues.apache.org/jira/browse/SOLR-3294
> Project: Solr
> Issue Type: Task
> Components: contrib - Clustering
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Blocker
> Fix For: 3.6
>
> Attachments: SOLR-3294.patch
>
>
> The repo contains a manually retrowoven Carrot2 JAR which does not have a
> corresponding artefact in Maven Central (so won't work for ivy).
> We will make a release with 1.5 backport (I hate this!).
> http://issues.carrot2.org/browse/CARROT-902
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]