Dear All,

I'm trying to use a theme from bootswatch.com[1] but I am encountering this 
error during mvn build: [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-resources-plugin:2.7:copy-resources 
(default) on project xmlui-mirage2: Mark invalid -> [Help 1]. I searched in 
Google for this error and found a Jira issue[2] filed by Terry Brady but it 
says that is already closed and fixed. I am running DSpace 6.3 and have no 
problems in Mirage2 build. I tried to look for other solutions and found 
this [3] Stackoverflow post. So I followed the solution from the top answer 
and the error went away.

So basically what I did was edit the [dspace-src]/pom.xml and change the 
code from:

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>2.7</version>
                </plugin>
into:
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>2.7</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.apache.maven.shared</groupId>
                            <artifactId>maven-filtering</artifactId>
                            <version>1.3</version>
                        </dependency>
                    </dependencies>
                </plugin>


I would like to ask now if this the correct or best solution? Although the 
build error went away and I now have the theme from bootswatch, I'm afraid 
of the repercussions later on. I'm hoping Terry would shed light on this on 
how to fix that build error without modifying the pom.xml file.

Thanks in advance and best regards!
euler

[1] https://bootswatch.com/
[2] https://jira.duraspace.org/browse/DS-3312
[3] https://stackoverflow.com/q/26281322/1919069

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to