Aha! I thought I remembered you mentioning you had been running maven 3, so
I tried it with that and it worked fine. Normally, I use maven 2, and so
does Bamboo.
> It shouldn't be that the DuraSpace repo needs to be listed
> in both places: that would defeat the point of having
> pluginRepositories separate from the general artifact repo.
Right; the significant thing is really that it works with maven2 in
trippi's pom and it's listed in the <repositories> section there. But it's
not listed in the <repositories> section in fedora-client's pom.
When I move it to <repositories> in fedora-client's pom, it works in
maven2, but not maven3. But if it's listed under both sections, it works in
both maven2 and maven3.
So if we want to support both major versions of maven, it seems like it
really does need to go in both places.
Ahh, maven.
- Chris
On Sun, Feb 12, 2012 at 11:43 AM, Edwin Shin <ed...@fedora-commons.org>wrote:
> I can't duplicate the error. I did the same on fedora-client master:
> rm -rf ~/.m2/repository/org/kathrynhuxtable && mvn compile
>
> and I see wagon-gitsite-0.3.1a download, and the build is successful.
>
> It shouldn't be that the DuraSpace repo needs to be listed in both places:
> that would defeat the point of having pluginRepositories separate from the
> general artifact repo. But I don't know how to account for the error you
> and the Bamboo server are getting.
>
> On 12 Feb 2012, at 11:43 PM, Chris Wilper wrote:
>
> > The logging stuff is working now.
> >
> > Also, on the trippi maven branch, if I "rm -rf
> ~/.m2/repository/org/kathrynhuxtable && mvn compile", things work fine (and
> the 0.3.1a artifact is downloaded locally).
> >
> > However, if I run the exact same commands as above on the latest rev of
> the fedora-client master branch, I get basically the same error that Bamboo
> is currently seeing:
> >
> > https://bamboo.duraspace.org/browse/FCREPO-CLIENT-9
> >
> > But if 0.3.1a is already in my local repo and I don't delete it, the
> fedora-client build works fine.
> >
> > The only difference I see is that in the trippi pom, the DuraSpace
> thirdparty maven repo is listed *both* as a plugin repository and a regular
> repository. In the fedora-client pom, it's listed as a plugin repository
> only. So I suspect that's the problem, but I can't verify it today...gotta
> go.
> >
> > - Chris
> >
> > On Sun, Feb 12, 2012 at 10:06 AM, Edwin Shin <ed...@fedora-commons.org>
> wrote:
> > Well, I pushed 0.3.1a to the DuraSpace third-party repo for now and
> added it as a plugin repo to both trippi and fedora-client. I can push to
> gh-pages with the vanilla 0.3.1, but the site gets fubared.
> >
> > If the logging related changes I pushed earlier today aren't helping
> your build/tests I'll back them out since that was working better for me.
> >
> > On 12 Feb 2012, at 10:52 PM, Chris Wilper wrote:
> >
> > >
> > > On Sun, Feb 12, 2012 at 4:01 AM, Edwin Shin <ed...@fedora-commons.org>
> wrote:
> > > Maybe I'll just stick a release of 0.4-SNAPSHOT on the DuraSpace m2
> repo for now. I still can't get wagon-gitsite to work with the last
> released version anymore.
> > >
> > > Weird that 0.3.1 seems to have worked for me on fcrepo-misc. Anyway,
> long-term I'd rather be pointing to central where possible, even if it
> means
> https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository
> > >
> > > The tests all pass for me and I'm not seeing classpath wonkiness.
> > >
> > > Also weird. I'd like to add trippi to the list of projects that are
> automatically tested by Bamboo soon. With the Bamboo upgrade, we now have
> the ability to easily put together build plans in Bamboo that work from a
> "fresh" local maven repository. Say, weekly (as I'm now doing for Akubra)
> That should help identify disappearing dependency mysteries more quickly in
> the future.
> > >
> > > But, regarding log classpath wonkiness--I was having problems getting
> Trippi to use trippi-mulgara/src/test/resources/test-log4j-xml until I
> relaxed the ban on log4j and added slf4j-log4j to scope:test. I just pushed
> a commit that comments that out--see if that helps. But with that last
> update, I can't get the logging to work for trippi-mulgara.
> > >
> > > Yeah, the log4j (and commons-logging) bans would only make sense at a
> point where we standardize on slf4j, which hasn't been done yet for trippi.
> > >
> > > - Chris
> > >
> > > On 12 Feb 2012, at 1:14 PM, Chris Wilper wrote:
> > >
> > > > I object. Just kidding. Thanks for doing this.
> > > >
> > > > I just tried a sanity check of the branch and ran into a couple
> things:
> > > >
> > > > First, maven complained that it couldn't find the 0.4-SNAPSHOT
> version of the wagon-gitsite plugin. Seems to be another case of what I
> mentioned in FCREPO-1066. See also
> https://issues.sonatype.org/browse/OSSRH-2721 ...I suspect this is
> building properly on your box because you've got that version cached in
> your .m2/repository/.
> > > >
> > > > Also, I ran into a few testing issues...both in the master branch
> and the maven branch. Have you been able to successfully run the existing
> tests yet? There seems to at least be some log configuration classpath
> wonkiness going on, but I haven't looked deeply at it.
> > > >
> > > > - Chris
> > > >
> > > > On Sat, Feb 11, 2012 at 8:00 PM, Edwin Shin <
> ed...@fedora-commons.org> wrote:
> > > > I've mavenized trippi in a branch creatively named, "maven".
> > > >
> > > > https://github.com/fcrepo/trippi/compare/master...maven
> > > >
> > > > Unless anyone sees any issues, I'll merge with master in the next
> couple of days.
> > > >
> ------------------------------------------------------------------------------
> > > > Virtualization & Cloud Management Using Capacity Planning
> > > > Cloud computing makes use of virtualization - but cloud computing
> > > > also focuses on allowing computing to be delivered as a service.
> > > > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > > > _______________________________________________
> > > > Fedora-commons-developers mailing list
> > > > Fedora-commons-developers@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > > >
> > > >
> ------------------------------------------------------------------------------
> > > > Virtualization & Cloud Management Using Capacity Planning
> > > > Cloud computing makes use of virtualization - but cloud computing
> > > > also focuses on allowing computing to be delivered as a service.
> > > >
> http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________
> > > > Fedora-commons-developers mailing list
> > > > Fedora-commons-developers@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > Virtualization & Cloud Management Using Capacity Planning
> > > Cloud computing makes use of virtualization - but cloud computing
> > > also focuses on allowing computing to be delivered as a service.
> > > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > > _______________________________________________
> > > Fedora-commons-developers mailing list
> > > Fedora-commons-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > >
> > >
> ------------------------------------------------------------------------------
> > > Virtualization & Cloud Management Using Capacity Planning
> > > Cloud computing makes use of virtualization - but cloud computing
> > > also focuses on allowing computing to be delivered as a service.
> > >
> http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________
> > > Fedora-commons-developers mailing list
> > > Fedora-commons-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> >
> >
> >
> ------------------------------------------------------------------------------
> > Virtualization & Cloud Management Using Capacity Planning
> > Cloud computing makes use of virtualization - but cloud computing
> > also focuses on allowing computing to be delivered as a service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > _______________________________________________
> > Fedora-commons-developers mailing list
> > Fedora-commons-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> >
> >
> ------------------------------------------------------------------------------
> > Virtualization & Cloud Management Using Capacity Planning
> > Cloud computing makes use of virtualization - but cloud computing
> > also focuses on allowing computing to be delivered as a service.
> >
> http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________
> > Fedora-commons-developers mailing list
> > Fedora-commons-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Fedora-commons-developers mailing list
> Fedora-commons-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers