[
https://issues.apache.org/jira/browse/LUCENE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175893#comment-14175893
]
Shawn Heisey commented on LUCENE-6007:
--------------------------------------
[~koichisenada]:
The official build system for Lucene/Solr uses ant and ivy. We do have some
maven support, but most of the committers aren't using it and many people don't
even know it's there, so it doesn't get looked at constantly. If not for
[~steve_rowe], it might be neglected entirely.
https://svn.apache.org/repos/asf/lucene/dev/trunk/dev-tools/maven/README.maven
You may already know this: Ant is a program for managing builds, similar in a
lot of ways to the "make" utility that is commonly used for C programs, but
better optimized for java projects and configured with XML rather than a
utility-specific file format. Ivy is a program for managing and obtaining
dependencies. Ivy integrates very well with ant. Maven does both build
management and dependency management. I have only the tiniest amount of
experience with Maven, but only as a user of other people's maven builds. I've
never created a project with it.
> Failed attempt of downloading javax:activation javadoc
> ------------------------------------------------------
>
> Key: LUCENE-6007
> URL: https://issues.apache.org/jira/browse/LUCENE-6007
> Project: Lucene - Core
> Issue Type: Bug
> Components: general/build
> Affects Versions: Trunk
> Environment: java version "1.7.0_67"
> Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
> Apache Ant(TM) version 1.9.4 compiled on April 29 2014
> Microsoft Windows Professional 8.1 (6.3.9600) x64
> Reporter: Ilia Sretenskii
> Assignee: Steve Rowe
> Labels: ant, download, ivy, jar, javadoc, javax, maven
> Attachments: LUCENE-6007.patch
>
>
> I have [checked out the trunk source
> code|https://wiki.apache.org/lucene-java/HowToContribute].
> But then running the following commands fails:
> * [ant clean test|https://wiki.apache.org/lucene-java/HowToContribute]
> * [ant idea|https://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ]
> The failure message says the following:
> {noformat}
> ivy-fail:
> resolve:
> [ivy:retrieve]
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve] [FAILED ]
> javax.activation#activation;1.1.1!activation.jar(javadoc): (0ms)
> [ivy:retrieve] ==== shared: tried
> [ivy:retrieve]
> C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar
> [ivy:retrieve] ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: FAILED DOWNLOADS ::
> [ivy:retrieve] :: ^ see resolution messages for details ^ ::
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] ::
> javax.activation#activation;1.1.1!activation.jar(javadoc)
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\build.xml:61: The
> following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\extra-targets.xml:39:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\build.xml:209:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:440:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:496:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\contrib\contrib-build.xml:52:
> impossible to resolve dependencies:
> resolve failed - see output for details
> Total time: 53 minutes 19 seconds
> {noformat}
> There was a javadoc file for
> [javax:activation:1.1-rev-1|http://repo1.maven.org/maven2/javax/activation/activation/1.1-rev-1/],
> but none for
> [javax:activation:1.1.1|http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/],
> which might be the cause.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]