GitHub user eddgrant opened a pull request:
https://github.com/apache/roller/pull/3
Added empty directories and support for Maven users with non-standard local
repo location
Hi all,
These commits add some empty directories (which were causing the Maven
build to fail) which I think were deleted (Git doesn't support empty
directories) when the apache svn repo was moved in to GitHub. I have re-created
them each containing a single, empty .gitignore file which allows Git to
persist them.
Secondly I have changed the way the local Maven repo is looked up, it was
previously hard coded to look in the default location, it now takes the value
from the user's settings.xml so it can pick up an overridden value if there is
one, else will still use the default if not set in settings.xml
Hope this is helpful - a 'mvn clean install' now completes successfully
from a fresh GitHub fork without it being necessary to make any modifications
which should be encouraging to new roller users.
Cheers,
Edd
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/eddgrant/roller trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/roller/pull/3.patch
----
commit 2aa6c322d9d536574e31f547e92ac3f40123ac0d
Author: Edd Grant <[email protected]>
Date: 2012-08-22T14:02:45-07:00
Adding empty db directories which seem to be required in order to allow
maven to build the planet-business module.
Note these are present in the SVN repo so I'm wondering if they were
removed when the repo was moved to GitHub as Git doesn't allow empty
directories (hence the empty .gitignore file in each directory)
commit 9128bedfa74cbd13935b9833ac2a81ace8a2505e
Author: Edd Grant <[email protected]>
Date: 2012-08-22T14:33:32-07:00
Support users who have a non-standard local Maven repo location by locating
it through the ${settings.localRepository} property.
commit 9ad093facf5e8036893dcec11cc8dc7e9428ff4f
Author: Edd Grant <[email protected]>
Date: 2012-08-23T01:15:27-07:00
Adding empty db directories which seem to be required in order to allow
maven to build the weblogger-business module.
Note these are present in the SVN repo so I'm wondering if they were
removed when the repo was moved to GitHub as Git doesn't allow empty
directories (hence the empty .gitignore file in each directory)
Also updated main .gitignore to ignore weblogger-web/roller-startup.log
which is produced by Maven at build time.
----