Aaron has committed a fix for this.

Eddie - this could have been the cause of your compliation error, as the
fcrepo-server-utilities-main jar was not being created; so you could have
been compiling against an old copy in your local maven repository.

Steve

-----Original Message-----
From: Steve Bayliss [mailto:[email protected]] 
Sent: 09 March 2011 16:22
To: [email protected]
Subject: Re: [fcrepo-dev] build/test errors


Yes it seems to be the issue in fcrepo-server/pom.xml - I just copied the
"executions" section from the maven-jar-plugin that references
utilities-main to the earlier maven-jar-plugin bit and it *seems* to have
sorted it.  But I'd rather someone with a bit more maven experience could
take a look!

Steve

> -----Original Message-----
> From: Aaron Birkland [mailto:[email protected]] 
> Sent: 09 March 2011 16:02
> To: [email protected]
> Subject: Re: [fcrepo-dev] build/test errors
> 
> 
> I get the same message.  It fails when trying to assemble the 
> installer.
> The utilities-main jar seems that it is neither created as an artifact
> in the fcrepo-server/target directory, nor installed to the 
> local maven
> repo.  Other artifacts in fcrepo-server are created just fine 
> (e.g. the
> rmi receiver, cli utilities, etc).  One difference I note is that
> utilities-main is created by the jar plugin, whereas the rest of the
> server artifacts are created by the assembly plugin.   If I had to
> guess, I'd say that fcrepo-server/pom.xml needs to be 
> examined and fixed
> in order to convince maven to create a 
> fcrepo-server-utilities-main.jar
> artifact.
> 
> I can take a look later this evening - am in a meeting right now.
> 
>   -Aaron
> 
> 
> On Wed, 2011-03-09 at 10:17 -0500, Steve Bayliss wrote:
> > Since clearing out my maven repository and building (which is how I
> > discovered that the m2.duraspace was down) I am now getting 
> the following
> > error.  I wonder if this is somehow related, ie this jar 
> isn't getting into
> > my local repo - in Eddie's case maybe there's an older 
> version still there,
> > and that's causing his compile error?  (or some other 
> conflict between jars
> > already installed in the local repo and what's being built 
> since the latest
> > changes).
> > 
> > [INFO]
> > 
> --------------------------------------------------------------
> ----------
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> --------------------------------------------------------------
> ----------
> > [INFO] Failed to resolve artifact.
> > 
> > Missing:
> > ----------
> > 1) org.fcrepo:fcrepo-server:jar:utilities-main:3.5-SNAPSHOT
> > 
> >   Try downloading the file manually from the project website.
> > 
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=org.fcrepo
> > -DartifactId=fcrepo-server -
> > Dversion=3.5-SNAPSHOT -Dclassifier=utilities-main -Dpackaging=jar
> > -Dfile=/path/t
> > o/file
> > 
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Chris Wilper [mailto:[email protected]] 
> > > Sent: 09 March 2011 13:00
> > > To: [email protected]
> > > Subject: Re: [fcrepo-dev] build/test errors
> > > 
> > > 
> > > Just catching up here...Steve's last message was due to the Nexus
> > > service (maven repo) at m2.duraspace.org having gone down. I just
> > > restarted it.
> > > 
> > > Not sure what the first error was all about...I just did a fresh
> > > checkout and ran Eddie's command without a problem.
> > > 
> > > - Chris
> > > 
> > > On Wed, Mar 9, 2011 at 5:41 AM, Edwin Shin 
> > > <[email protected]> wrote:
> > > > well, glad it's not just me =)
> > > >
> > > > I'm going to go ahead and push a change to README.txt to 
> > > see if we can trigger Bamboo to confirm as well.
> > > >
> > > >
> > > > On 9 Mar 2011, at 11:23 AM, Steve Bayliss wrote:
> > > >
> > > >> Same here.
> > > >>
> > > >> Plus after clearing my local maven repo and doing mvn 
> > > install I am getting
> > > >> the following:
> > > >>
> > > >> Missing:
> > > >> ----------
> > > >> 1) org.fcrepo:axis:jar:1.3-PATCHED
> > > >>
> > > >>  Try downloading the file manually from the project website.
> > > >>
> > > >>  Then, install it using the command:
> > > >>      mvn install:install-file -DgroupId=org.fcrepo 
> > > -DartifactId=axis
> > > >> -Dversion=
> > > >> 1.3-PATCHED -Dpackaging=jar -Dfile=/path/to/file
> > > >>
> > > >>  Alternatively, if you host your own repository you can 
> > > deploy the file
> > > >> there:
> > > >>
> > > >>      mvn deploy:deploy-file -DgroupId=org.fcrepo 
> -DartifactId=axis
> > > >> -Dversion=1.
> > > >> 3-PATCHED -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> > > >> -DrepositoryId=[id]
> > > >>
> > > >>  Path to dependency:
> > > >>        1) org.fcrepo:fcrepo-common:jar:3.5-SNAPSHOT
> > > >>        2) org.fcrepo:axis:jar:1.3-PATCHED
> > > >>
> > > >> 2) org.fcrepo:mulgara-core:jar:2.1.4
> > > >>
> > > >>  Try downloading the file manually from the project website.
> > > >>
> > > >>  Then, install it using the command:
> > > >>      mvn install:install-file -DgroupId=org.fcrepo
> > > >> -DartifactId=mulgara-core -D
> > > >> version=2.1.4 -Dpackaging=jar -Dfile=/path/to/file
> > > >>
> > > >>  Alternatively, if you host your own repository you can 
> > > deploy the file
> > > >> there:
> > > >>
> > > >>      mvn deploy:deploy-file -DgroupId=org.fcrepo 
> > > -DartifactId=mulgara-core
> > > >> -Dve
> > > >> rsion=2.1.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> > > >> -DrepositoryId=[id]
> > > >>
> > > >>
> > > >>  Path to dependency:
> > > >>        1) org.fcrepo:fcrepo-common:jar:3.5-SNAPSHOT
> > > >>        2) org.fcrepo:mulgara-core:jar:2.1.4
> > > >>
> > > >> 3) org.fcrepo:sunxacml:jar:melcoe:1.2
> > > >>
> > > >>  Try downloading the file manually from the project website.
> > > >>
> > > >>  Then, install it using the command:
> > > >>      mvn install:install-file -DgroupId=org.fcrepo 
> > > -DartifactId=sunxacml
> > > >> -Dvers
> > > >> ion=1.2 -Dclassifier=melcoe -Dpackaging=jar 
> -Dfile=/path/to/file
> > > >>
> > > >>  Alternatively, if you host your own repository you can 
> > > deploy the file
> > > >> there:
> > > >>
> > > >>      mvn deploy:deploy-file -DgroupId=org.fcrepo 
> > > -DartifactId=sunxacml
> > > >> -Dversio
> > > >> n=1.2 -Dclassifier=melcoe -Dpackaging=jar 
> > > -Dfile=/path/to/file -Durl=[url]
> > > >> -Drep
> > > >> ositoryId=[id]
> > > >>
> > > >>  Path to dependency:
> > > >>        1) org.fcrepo:fcrepo-common:jar:3.5-SNAPSHOT
> > > >>        2) org.fcrepo:sunxacml:jar:melcoe:1.2
> > > >>
> > > >> ----------
> > > >> 3 required artifacts are missing.
> > > >>
> > > >> for artifact:
> > > >>  org.fcrepo:fcrepo-common:jar:3.5-SNAPSHOT
> > > >>
> > > >> from the specified remote repositories:
> > > >>  duraspace-releases
> > > >> (https://m2.duraspace.org/content/repositories/releases),
> > > >>  duraspace-thirdparty
> > > >> (https://m2.duraspace.org/content/repositories/thirdparty
> > > >> ),
> > > >>  central (http://repo1.maven.org/maven2),
> > > >>  apache-incubating
> > > >> (http://people.apache.org/repo/m2-incubating-repository/),
> > > >>  java.net 
> (https://maven-repository.dev.java.net/nonav/repository),
> > > >>  aduna (http://repo.aduna-software.org/maven2/releases/),
> > > >>  maven2-repository.dev.java.net 
> > > (http://download.java.net/maven/2/),
> > > >>  apache-snapshots 
> > > (https://repository.apache.org/content/groups/public/),
> > > >>  duraspace-snapshots
> > > >> (https://m2.duraspace.org/content/repositories/snapshots),
> > > >>
> > > >>  jboss (http://repository.jboss.com/maven2/)
> > > >>
> > > >>> -----Original Message-----
> > > >>> From: Edwin Shin [mailto:[email protected]]
> > > >>> Sent: 09 March 2011 09:50
> > > >>> To: fedora-dev sourceforge. net
> > > >>> Subject: [fcrepo-dev] build/test errors
> > > >>>
> > > >>>
> > > >>> Off a fresh clone of fcrepo, I'm getting the following running
> > > >>> mvn verify -Dconfig=Q -Dit.test=org.fcrepo.test.api.TestAPIA
> > > >>>
> > > >>> Running org.fcrepo.test.api.TestAPIA
> > > >>> Ingesting demo objects...
> > > >>> Ingesting demo objects in FOXML format from //
> > > >>> Could not create managed clone test objects: java.lang.Error:
> > > >>> Unresolved compilation problem:
> > > >>>
> > > >>> org.fcrepo.server.management.FedoraAPIMBindingSOAPHTTPImpl
> > > >>> cannot be resolved to a type
> > > >>> ; nested exception is:
> > > >>>      java.lang.Error: Unresolved compilation problem:
> > > >>>
> > > >>> org.fcrepo.server.management.FedoraAPIMBindingSOAPHTTPImpl
> > > >>> cannot be resolved to a type
> > > >>>
> > > >>> Purging demo objects...
> > > >>> Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time
> > > >>> elapsed: 58.689 sec <<< FAILURE!
> > > >>>
> > > >>> This is not unlike the errors I remember seeing in setting up
> > > >>> Eclipse w/ Fedora where the generated sources require
> > > >>> fcrepo-server classes, but fcrepo-common can't require
> > > >>> fcrepo-common without creating a circular dependency:
> > > >>> https://jira.duraspace.org/browse/FCREPO-564
> > > >>> --------------------------------------------------------------
> > > >>> ----------------
> > > >>> Colocation vs. Managed Hosting
> > > >>> A question and answer guide to determining the best fit
> > > >>> for your organization - today and in the future.
> > > >>> http://p.sf.net/sfu/internap-sfd2d
> > > >>> _______________________________________________
> > > >>> Fedora-commons-developers mailing list
> > > >>> [email protected]
> > > >>> 
> > > 
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > > >>>
> > > >>
> > > >>
> > > >> 
> > > --------------------------------------------------------------
> > > ----------------
> > > >> Colocation vs. Managed Hosting
> > > >> A question and answer guide to determining the best fit
> > > >> for your organization - today and in the future.
> > > >> http://p.sf.net/sfu/internap-sfd2d
> > > >> _______________________________________________
> > > >> Fedora-commons-developers mailing list
> > > >> [email protected]
> > > >> 
> > > 
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > > >
> > > >
> > > > 
> > > --------------------------------------------------------------
> > > ----------------
> > > > Colocation vs. Managed Hosting
> > > > A question and answer guide to determining the best fit
> > > > for your organization - today and in the future.
> > > > http://p.sf.net/sfu/internap-sfd2d
> > > > _______________________________________________
> > > > Fedora-commons-developers mailing list
> > > > [email protected]
> > > > 
> > > 
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > > >
> > > 
> > > --------------------------------------------------------------
> > > ----------------
> > > Colocation vs. Managed Hosting
> > > A question and answer guide to determining the best fit
> > > for your organization - today and in the future.
> > > http://p.sf.net/sfu/internap-sfd2d
> > > _______________________________________________
> > > Fedora-commons-developers mailing list
> > > [email protected]
> > > 
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > > 
> > 
> > 
> > 
> --------------------------------------------------------------
> ----------------
> > Colocation vs. Managed Hosting
> > A question and answer guide to determining the best fit
> > for your organization - today and in the future.
> > http://p.sf.net/sfu/internap-sfd2d
> > _______________________________________________
> > Fedora-commons-developers mailing list
> > [email protected]
> > 
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> 
> 
> 
> --------------------------------------------------------------
> ----------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Fedora-commons-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> 


----------------------------------------------------------------------------
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to