Mavin Build Failure

23 views
Skip to first unread message

Olayiwola Lawal

unread,
Mar 22, 2023, 1:04:26 PM3/22/23
to Fedora Tech
Hello, 

I am new to Fedora and trying out the installation on my Ubuntu PC. Following the "Building and running Fedora from source" steps at https://github.com/fcrepo/fcrepo I ran the mv install command, but I however got a BUILD FAILURE error.

I will appreciate any ideas on how i can get this fixed.

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.492 s
[INFO] Finished at: 2023-03-21T10:38:15+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:integration-test (integration-test) on project fcrepo: /fcrepo/target/failsafe-reports/failsafe-summary.xml (No such file or directory) -> [Help 1]

Jared Whiklo

unread,
Mar 23, 2023, 11:46:31 AM3/23/23
to fedor...@googlegroups.com
Hi,

Can you provide a little more of the error from before the below message.

Also if you want to just try out Fedora, you could download either the
one-click jar or a pre-built WAR from the most recent release page.

https://github.com/fcrepo/fcrepo/releases/tag/fcrepo-6.4.0

cheers,
jared
> --
> You received this message because you are subscribed to the Google
> Groups "Fedora Tech" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to fedora-tech...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fedora-tech/649e5d72-22d0-46fb-b570-5d91dd91e1d5n%40googlegroups.com
> <https://groups.google.com/d/msgid/fedora-tech/649e5d72-22d0-46fb-b570-5d91dd91e1d5n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Jared Whiklo
jwh...@gmail.com

OpenPGP_signature

Olayiwola Lawal

unread,
Mar 24, 2023, 4:13:14 AM3/24/23
to Fedora Tech
Screenshot 2023-03-24 091112.pngHi Jared, 

I was following the steps in the GitLab https://github.com/fcrepo/fcrepo#building-and-running-fedora-from-source. I have installed Java 11 and Maven and cloned the fcrepo git. The next step was to run the mvn install command to compile it.

That is the point I get the error.

I have tried out the one-click jar, and it works, but I am now trying out a production installation.

Thomas Bernhart

unread,
Mar 24, 2023, 12:31:30 PM3/24/23
to Fedora Tech
It could help to skip the integrations tests on the first run of install. I sometimes get that error - and I also ran into it in other projects. It almost seems to me that is just part of life with maven multimodule projects :)

So you would first run:

mvn install -DskipITs

Or you can even skip all tests with, if you're not interested in running the tests.

mvn install -DskipTests

After a successfull run of one of those, you should also be able to build the project and run all the tests.

Cheers,
Thomas

--
Thomas Bernhart
Informatiker, Projektleiter

docuteam AG
Informationsmanagement und Archivdienstleistungen
Im Langacker 16, CH-5405 Baden-Dättwil
Tel. +41 56 470 03 37, direkt +41 56 511 11 47
https://www.docuteam.ch

Digitale Archivierung in der Cloud: https://cosmos.docuteam.ch

________________________________________
Von: fedor...@googlegroups.com <fedor...@googlegroups.com> im Auftrag von Olayiwola Lawal <lawalola...@gmail.com>
Gesendet: Freitag, 24. März 2023 09:13
An: Fedora Tech
Betreff: Re: [fedora-tech] Mavin Build Failure

[Screenshot 2023-03-24 091112.png]Hi Jared,
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-tech...@googlegroups.com<mailto:fedora-tech...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/fedora-tech/7239215e-e3d4-4825-82bc-67d1724dcca9n%40googlegroups.com<https://groups.google.com/d/msgid/fedora-tech/7239215e-e3d4-4825-82bc-67d1724dcca9n%40googlegroups.com?utm_medium=email&utm_source=footer>.
Screenshot 2023-03-24 091112.png

Dan Field

unread,
Mar 24, 2023, 12:31:30 PM3/24/23
to Fedora Tech
I have followed the same instructions and have a successful build. I'm not on Ubuntoo though.
Could you possibly scroll back through the output and share what happened at the time of the error? The line you have shared in red is only the summary at the end of the build and I think there may be morfe information beforehand. It's possibly a file permissions issue.

Olayiwola Lawal

unread,
Mar 24, 2023, 2:17:55 PM3/24/23
to Fedora Tech
Hi Thomas,

mvn install -DskipTests worked as suggested.

The build was a success now.

Thank you everyone.

Jared Whiklo

unread,
Mar 27, 2023, 2:07:41 PM3/27/23
to fedor...@googlegroups.com
I agree this is probably a file permission issue, though a weird one.
Perhaps running "mvn clean install" the first time would be best? Not sure.

On 2023-03-24 11:23 a.m., 'Dan Field' via Fedora Tech wrote:
> I have followed the same instructions and have a successful build. I'm
> not on Ubuntoo though.
>
> Could you possibly scroll back through the output and share what
> happened at the time of the error? The line you have shared in red is
> only the summary at the end of the build and I think there may be
> morfe information beforehand. It's possibly a file permissions issue.
>
>
> On Friday, March 24, 2023 at 8:13:14 AM UTC Olayiwola Lawal wrote:
>
> Screenshot 2023-03-24 091112.pngHi Jared,
>
> I was following the steps in the GitLab
> https://github.com/fcrepo/fcrepo#building-and-running-fedora-from-source. I
> have installed Java 11 and Maven and cloned the fcrepo git. The
> next step was to run the *mvn install* command to compile it.
> https://groups.google.com/d/msgid/fedora-tech/01b611bd-f1f7-4bec-9426-8c2f9c5ed13cn%40googlegroups.com
> <https://groups.google.com/d/msgid/fedora-tech/01b611bd-f1f7-4bec-9426-8c2f9c5ed13cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Jared Whiklo
jwh...@gmail.com

OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages