Dspace 6.3 no longer build

478 views
Skip to first unread message

Poulter, Dale

unread,
Jan 3, 2020, 8:47:05 AM1/3/20
to DSpace Technical Support

Good morning all and happy new year.

 

We are attempting to build DSpace 6.3 (mvn package -Dmirage2.on=true -Dmirage2.deps.included=true)  but it continues to fail since  http://rubygems-proxy.torquebox.org/ is no longer available for the dependencies.  Since the turquebox.org site will not be available (https://github.com/torquebox/rubygems-servlets/issues/20#issuecomment-567602752) has any one found a replacement or a work around? 

 

Thanks.

 

 

 

--Dale

 

---------------------------------------
Dale Poulter

Director

Library Technology and Digital Services
Vanderbilt University

419 21st Avenue South, Office 812 
Nashville, TN  37203-2427
(615)343-5388
(615)207-9705 (cell)
dale.p...@vanderbilt.edu

 

Neddy Gonzalez

unread,
Jan 4, 2020, 5:30:37 PM1/4/20
to DSpace Technical Support
Good afternon, same issue I guess, I've been trying everything to install Mirage 2, doesn't download any ruby gems and I get this error: 

[ERROR] Failed to execute goal on project xmlui-mirage2: Could not resolve depen

dencies for project org.dspace.modules:xmlui-mirage2:war:6.3: Failed to collect

dependencies at rubygems:sass:gem:3.3.14: Failed to read artifact descriptor for

 rubygems:sass:gem:3.3.14: Could not transfer artifact rubygems:sass:pom:3.3.14

from/to rubygems-release (http://rubygems-proxy.torquebox.org/releases): Failed

to transfer file http://rubygems-proxy.torquebox.org/releases/rubygems/sass/3.3.

14/sass-3.3.14.pom with status code 503 -> [Help 1]


HELP!


Best regards,

Neddy

José Geraldo

unread,
Jan 6, 2020, 10:02:12 AM1/6/20
to Neddy Gonzalez, DSpace Technical Support

--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/3f3fa96d-b965-4c44-b680-2d578ca15d72%40googlegroups.com.


--
At.te,

José Geraldo

Paul Münch

unread,
Jan 7, 2020, 7:06:52 AM1/7/20
to dspac...@googlegroups.com
Hello José,

unfortunately this wont help, because the torquebox proxy is down: https://github.com/torquebox/rubygems-servlets/issues/20#issuecomment-567602752

We have to find a workaround or some other solution.

Kind regards,

Paul Münch

Am 06.01.20 um 16:01 schrieb José Geraldo:
Web Bug from
https://t.sidekickopen78.com/s1t/o/5/f18dQhb0S7kC8dDMPbW2n0x6l2B9gXrN7sKj6v46g14N56DypRQZbdzW16gGC79kYwM3101?si=8000000000928280&pi=aba4dead-ccfb-4064-878b-8e93a7988763
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/3f3fa96d-b965-4c44-b680-2d578ca15d72%40googlegroups.com.


--
At.te,

José Geraldo

--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
signature.asc

Paul Münch

unread,
Jan 7, 2020, 7:36:47 AM1/7/20
to dspac...@googlegroups.com
Hello Neddy,

a workaround is to manually install all components as described in the documentation: https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2#installation

After that you have to run maven with parameter '-Dmirage2.deps.included=true'.

I hope this helps and kind regards,

Paul Münch

Am 04.01.20 um 21:19 schrieb Neddy Gonzalez:
Web Bug from
https://lh5.googleusercontent.com/proxy/ofpo4U_eoNdjdBVcN8F_NSgcE17XU6Bc0rOivTdcpXvCQ4BQVZbPAmpxGRTUkkV54C4iqXTvHV-NptLwjO1HoTBKd_EReotjC08fGA-xjF1cae2fjur5zJS_sJORIdydV9UQi8lBKsJE8iRZuA8FPkYKy4e2PRa6im6k2H47ywY-1Kb8wlEBlsX1ajyhTQOrP7AJl0DFEYvXo7eHFEP2PuwxL7-5mpT0sR9z9Na6dcMTYxFbGj2gXgzKpQk=w5000-h5000
signature.asc

Mark H. Wood

unread,
Jan 7, 2020, 12:36:05 PM1/7/20
to dspac...@googlegroups.com
On Tue, Jan 07, 2020 at 01:36:32PM +0100, Paul Münch wrote:
> Hello Neddy,
>
> a workaround is to manually install all components as described in the
> documentation:
> https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2#installation
>
> After that you have to run maven with parameter
> '-Dmirage2.deps.included=true'.

I've just tested this and it worked for me too. The "easy" install
for Mirage 2 is broken; install all prerequisites first and add
-Dmirage2.deps.included=false to skip re-downloading them.

I filed a bug report to start discussion of ways to fix the problem:

https://jira.lyrasis.org/browse/DS-4416

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc

Neddy Gonzalez

unread,
Jan 11, 2020, 5:05:29 PM1/11/20
to DSpace Technical Support
Hi Paul M,
It builds succesfully but when copying the folder dspace/webapps/xmlui to apache/webapps I get this error, it doesnt put Mirage2 in xmlui/themes:

java.io.FileNotFoundException: C:\apache-tomcat-8.5.49\apache-tomcat-8.5.49\webapps\xmlui\themes\Mirage2\sitemap.xmap (The system cannot find the path specified)

So I copied it manually from dspace-src/dspace-xmlui-mirage2/target/dspace-xmlui-mirage2-6.3 to dspace/webapps/xmlui/themes and created a folder named Mirage2; copied the folder dspace/webapps/xmlui again to apache/webapps but now i get this error:

java.lang.IllegalArgumentException: Could not resolve placeholder 'item' in string value "${item}"

and the Java Full stacktrace error is the following:
org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
	at <map:mount> - file:///C:/apache-tomcat-8.5.49/apache-tomcat-8.5.49/webapps/xmlui/themes/themes.xmap:33:45
	at <map:match type="ThemeMatcher"> - file:///C:/apache-tomcat-8.5.49/apache-tomcat-8.5.49/webapps/xmlui/themes/themes.xmap:32:35
	at <map:mount> - file:///C:/apache-tomcat-8.5.49/apache-tomcat-8.5.49/webapps/xmlui/sitemap.xmap:711:94

How did you proceed after running ant fresh_install, did it work immediately after copying folders to apache/webapps?

Best regards,

Neddy

To unsubscribe from this group and stop receiving emails from it, send an email to dspac...@googlegroups.com.

Paul Münch

unread,
Jan 13, 2020, 1:58:59 AM1/13/20
to dspac...@googlegroups.com
Hello Neddy,

yes, it is work after build/installation. But we didn't copy the files. We use symlinks in the 'tomcat/webapps'-directory to the 'dspace/webapps'-directory. So, unfortunately, I can not help you properly.
In your case, I would check the paths after copying. Or look into the maven build log. Maybe something went wrong during the build, but no error occurs.

Kind regards,

Paul Münch

Am 11.01.20 um 23:05 schrieb Neddy Gonzalez:
Web Bug from
https://lh5.googleusercontent.com/proxy/sMYN8x-HDhgGtJkmnZ9dKKfJzblacFich7bnHy2MNS8kxpoRDTupvAf2U2bxNQ5fra3IvNqucKBkaoWx=w5000-h5000
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/3f3fa96d-b965-4c44-b680-2d578ca15d72%40googlegroups.com.
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/403e32d6-b7b5-4b54-894c-64e51f4c5eae%40googlegroups.com.

signature.asc

Neddy Gonzalez

unread,
Jan 22, 2020, 11:03:37 AM1/22/20
to DSpace Technical Support
I get these warnings, when running in dspace-src mvn -U clean package -Dmirage2.deps.included=true:

[WARNING] The following patterns were never triggered in this artifact exclusion
 filter:
o  'org.glassfish.hk2.external:bean-validator:jar:*'

[WARNING] The following patterns were never triggered in this artifact exclusion
 filter:
o  'org.dspace.modules:xmlui-mirage2:war:*'

[WARNING] The following patterns were never triggered in this artifact exclusion
 filter:
o  'org.glassfish.hk2.external:bean-validator:jar:*'


I looked into the pom files just in case somthing was missing, I also read that in some cases its spelling thats wrong, but everything seems to be fine. I thought that maybe the Maven version was wrong but it's ok too, does anyone know how to solve this?

Besta Regards,

Neddy Gonzalez

Mark H. Wood

unread,
Jan 22, 2020, 11:44:36 AM1/22/20
to DSpace Technical Support
On Wed, Jan 22, 2020 at 08:03:36AM -0800, Neddy Gonzalez wrote:
> I get these warnings, when running in dspace-src mvn -U clean package
> -Dmirage2.deps.included=true:
>
> [WARNING] The following patterns were never triggered in this artifact
> exclusion
> filter:
> o 'org.glassfish.hk2.external:bean-validator:jar:*'
>
> [WARNING] The following patterns were never triggered in this artifact
> exclusion
> filter:
> o 'org.dspace.modules:xmlui-mirage2:war:*'
>
> [WARNING] The following patterns were never triggered in this artifact
> exclusion
> filter:
> o 'org.glassfish.hk2.external:bean-validator:jar:*'
>
>
> I looked into the pom files just in case somthing was missing, I also read
> that in some cases its spelling thats wrong, but everything seems to be
> fine. I thought that maybe the Maven version was wrong but it's ok too,
> does anyone know how to solve this?

Those are WARNINGs and should be harmless. I'd like to find a way to
clean these up someday, but that has a low priority.
signature.asc

Neddy Gonzalez

unread,
Jan 22, 2020, 2:24:23 PM1/22/20
to DSpace Technical Support
Mirage2 still isn't working though, I thought it was because of those warnings, Mirage2 doesn't appear in xmlui themes, I also tried copying it manually, still no success, even though the build is successful. 

cerva...@gmail.com

unread,
Jun 21, 2021, 12:37:40 PM6/21/21
to DSpace Technical Support
Hi
In /themes/Mirage2/sitemap.xmap change {item} to Mirage2 like this:

        <map:component-configurations>
            <global-variables>
                <theme-path>Mirage2</theme-path>
                <theme-name>Mirage2</theme-name>
            </global-variables>
        </map:component-configurations>

it will work
Reply all
Reply to author
Forward
0 new messages