[
https://issues.apache.org/jira/browse/CAMEL-8384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14332068#comment-14332068
]
Mark Mindenhall edited comment on CAMEL-8384 at 2/24/15 4:35 PM:
-----------------------------------------------------------------
Hi [~davsclaus],
If you look at what's out in the repo (for camel-core, see link posted in
issue), there are two builds for Feb 22: build 77 and build 78. Build 77
includes the javadoc and sources, build 78 does not. When version
"2.14.2-SNAPSHOT" is specified as a dependency, maven goes out and grabs the
latest snapshot available, and uses that. In this case, it grabbed build 78
(or more precisely 2.14.2-20150222.034718-78, which I verified within my local
repository).
To reproduce:
1. Clean out your ~/.m2/repository/org/apache/camel/camel-core/2.14.2-SNAPSHOT
folder
2. Specify 2.14.2-SNAPSHOT as the version for camel-core within a POM
3. Build the project
4. Force maven source download (mvn dependency:sources)
5. Verify that the build 78 artifacts were pulled (no sources or javadocs).
The "mvn dependency:sources" command will also report which dependencies were
resolved (i.e., sources found) and which were not.
was (Author: mmindenhall):
Hi Claus,
If you look at what's out in the repo (for camel-core, see link posted in
issue), there are two builds for Feb 22: build 77 and build 78. Build 77
includes the javadoc and sources, build 78 does not. When version
"2.14.2-SNAPSHOT" is specified as a dependency, maven goes out and grabs the
latest snapshot available, and uses that. In this case, it grabbed build 78
(or more precisely 2.14.2-20150222.034718-78, which I verified within my local
repository).
To reproduce:
1. Clean out your ~/.m2/repository/org/apache/camel/camel-core/2.14.2-SNAPSHOT
folder
2. Specify 2.14.2-SNAPSHOT as the version for camel-core within a POM
3. Build the project
4. Verify that the build 78 artifacts were pulled (no sources or javadocs)
> 2.14.2 Snapshot builds missing sources/javadoc jars
> ---------------------------------------------------
>
> Key: CAMEL-8384
> URL: https://issues.apache.org/jira/browse/CAMEL-8384
> Project: Camel
> Issue Type: Task
> Components: build system
> Affects Versions: 2.14.2
> Reporter: Mark Mindenhall
> Assignee: Claus Ibsen
> Priority: Minor
>
> From a message I sent last night to [email protected]:
> {quote}
> I’m using the 2.14.2-SNAPSHOT builds at the moment (need a fix I submitted
> after 2.14.1). Since I started using the snapshot builds, whenever I click
> “download sources” in my IDE (so I can view documentation/source as I code
> against the API), I see the “sources not found” message. I originally
> thought the sources were not being built for snapshot builds.
> https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-core/2.14.2-SNAPSHOT/
> However, after checking the repo with the link above, I was able to see that
> some builds include the sources and javadoc, and some don’t. I also noticed
> that there seem to be two nightly builds which complete 30-60 minutes apart
> each night, where the first build includes the sources and javadoc, but the
> second build does not.
> Here are the available builds, the time they completed, and whether the
> sources/javadoc jars were included:
> Fri Feb 13 builds
> Build 64 03:18 UTC yes
> Build 65 03:50 UTC no
> Sat Feb 14 build (just one build for some reason)
> Build 66 06:33 UTC yes
> Sun Feb 15 builds
> Build 67 06:56 UTC yes
> Build 68 07:54 UTC no
> Mon Feb 16 builds
> Build 69 02:30 UTC yes
> Build 70 03:02 UTC no
> Tue Feb 17 builds
> Build 71 02:31 UTC yes
> Build 72 02:49 UTC no
> Wed Feb 18 builds
> Build 73 02:36 UTC yes
> Build 74 03:06 UTC no
> Thu Feb 19 builds
> Build 75 02:34 UTC yes
> Build 76 03:06 UTC no
> I see the same pattern with the camel component builds as well (two nightly
> builds, only first has sources/javadoc jars).
> Does anyone know what might be happening here? It would be greatly
> appreciated if this could be fixed so all the builds include the sources and
> javadoc!
> {quote}
> Marked as regression since this was fixed back in CAMEL-5318.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)