[ 
https://issues.apache.org/jira/browse/MESOS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672831#comment-13672831
 ] 

Andy Konwinski commented on MESOS-398:
--------------------------------------

Hey Vinod, I think I figured out what changed between when I had this working 
before and now. When I wrote the instructions, I was not building in a 
subdirectory (I was using the build instructions "For the impatient" in the top 
level Mesos readme file), so the javadoc plugin was expecting the java source 
files to be in the src/java/src directory however this time you and I were 
following the recommended build instructions and running ../configure and make 
inside a "build" sub-directory and so build/src/java/src did not exist.

It seems like you might have been trying to get around this with your 
"-Dsources=../mesos-0.10.0-sources.jar " flag but it doesn't look like the 
maven javadoc plugin is using that.

I was getting the same error as you, but then when I ran `cp src/java/src 
build/src/java` I got past the error and was able go get the artifacts 
published to a staging repository which you can try out at:

https://repository.apache.org/content/repositories/orgapachemesos-053/

Can you test this out with a sample dependency? I tried it out myself and it 
seems to work (specifically, I was able to build Spark by adding this as a 
repository and changing the version number from 0.9.0 to 0.10.0).

--
We should probably update the instructions in the following ways:

* explain that the build should be done from the project root directory (not a 
sub "build" directory) or if it is done from the sub directory, then this 
command needs to be run: `cp src/java/src build/src/java`
* give more details (not just link) about what causes 401 error. This error 
comes from not having a ~/.m2/settings.xml file set up (correctly) with your 
username and password in it.
                
> Add mesos-0.10.0-incubating jar to maven central
> ------------------------------------------------
>
>                 Key: MESOS-398
>                 URL: https://issues.apache.org/jira/browse/MESOS-398
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Andy Konwinski
>            Assignee: Vinod Kone
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to