Faulty Maven profiles for nested projects in dspace-source/dspace/pom.xml
-------------------------------------------------------------------------

                 Key: DS-855
                 URL: https://jira.duraspace.org/browse/DS-855
             Project: DSpace
          Issue Type: Bug
            Reporter: Robin Taylor


There are a number of maven profiles within this pom that are used to direct 
maven to build the modules from source, some of them have incorrect paths. For 
example...

<profile>
            <id>dspace-oai-webapp</id>
            <activation>
                <file>
                    <exists>../dspace-oai-webapp/pom.xml</exists>
                </file>
            </activation>
            <modules>
                <module>../dspace-oai-webapp</module>
            </modules>
        </profile>

It is never activated because it should be looking for 
../dspace-oai/dspace-oai-webapp/pom.xml.

In fact the build works fine because this module is also referenced in 
dspace-source/dspace-oai/pom.xml.

I could correct the paths but I think it would be tidier to only have profiles 
for the top level projects within this pom.

I am happy to bash on and do this but Maven makes me nervous so I would 
appreciate someone confirming that I'm not doing something daft.

Cheers, Robin.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to