[11:32:28 EDT(-0400)] * esm (n=esm@esm.qis.net) has joined ##uportal <EricDalquist> <connection>scm:svn:https://www.ja-sig.org/svn/$ </connection> <EricDalquist> <developerConnection>scm:svn:https://www.ja-sig.org/svn/$ </developerConnection> <EricDalquist> <url>http://developer.ja-sig.org/source/browse/jasigsvn/$ </url> <esm> right the scm form the parent would be http://developer.ja-sig.org/source/browse/jasigsvn/porllets/$
[12:02:47 EDT(-0400)] * EricDalquist (n=EricDalq@adsl-76-208-66-113.dsl.mdsnwi.sbcglobal.net) has joined ##uportal
[12:06:40 EDT(-0400)] <EricDalquist> morning elliot
[12:06:45 EDT(-0400)] <EricDalquist> I have a maven question for ya
[12:07:18 EDT(-0400)] <esm> hey there
[12:07:19 EDT(-0400)] <esm> shoot
[12:07:36 EDT(-0400)] <EricDalquist> so working with ScottB I'm doing some updates to the parent jasig pom
[12:08:01 EDT(-0400)] <EricDalquist> moving more config into the parent and using some properties to fill in project specific info
[12:08:17 EDT(-0400)] <EricDalquist> the one that is causing me problems is the scm info
[12:08:24 EDT(-0400)] <EricDalquist> in the parent pom I have:
[12:08:27 EDT(-0400)] <EricDalquist> <scm>
[12:08:27 EDT(-0400)]
[12:08:27 EDT(-0400)]
[12:08:28 EDT(-0400)]
[12:08:28 EDT(-0400)] <EricDalquist> </scm>
[12:09:00 EDT(-0400)] <EricDalquist> in a child project pom I have:
[12:09:00 EDT(-0400)] <EricDalquist> <scm.path>portlets/BookmarksPortlet/trunk</scm.path>
[12:09:22 EDT(-0400)] <EricDalquist> but the resulting URLs look like:
[12:09:22 EDT(-0400)] <EricDalquist> http://developer.ja-sig.org/source/browse/jasigsvn/portlets/BookmarksPortlet/trunk/BookmarksPortlet
[12:09:30 EDT(-0400)] <EricDalquist> https://www.ja-sig.org/svn/portlets/BookmarksPortlet/trunk/BookmarksPortlet
[12:09:48 EDT(-0400)] <EricDalquist> it looks like the child project name is being appended
[12:10:29 EDT(-0400)] <esm> ugh
[12:10:48 EDT(-0400)] <EricDalquist> now, as long as people's project names match the names in SVN
[12:10:51 EDT(-0400)] <EricDalquist> that works nicely
[12:11:13 EDT(-0400)] <EricDalquist> and I just modify that variable
[12:13:28 EDT(-0400)] <esm> hmm ok let me take a look-see... i don't know the solution off the top of my head I guess the question is this a bug or intended behavior
[12:13:50 EDT(-0400)] <EricDalquist> yeah, I'm guessing it is intended in parent/child poms
[12:13:58 EDT(-0400)] <EricDalquist> since your child pom name should match the dir name
[12:14:10 EDT(-0400)] <EricDalquist> and so the scm from the parent would just need that additional path element
[12:15:11 EDT(-0400)]
[12:15:51 EDT(-0400)] <esm> and child pom would be <scm.path>trunk</scm.path>
[12:16:14 EDT(-0400)] <EricDalquist> well the 'trunk' part really isn't needed
[12:16:28 EDT(-0400)] <esm> true
[12:16:30 EDT(-0400)] <EricDalquist> if I set the parent to http://developer.ja-sig.org/source/browse/jasigsvn/
[12:16:36 EDT(-0400)] <EricDalquist> and scm.path to portlets/
[12:16:45 EDT(-0400)] <EricDalquist> it works as long as the project name matches the scm folder name
[12:16:55 EDT(-0400)] <esm> ah i see sure
[12:18:00 EDT(-0400)] <EricDalquist> hrm
Unknown macro: {scm.path}
Unknown macro: {scm.path}
Unknown macro: {scm.path}
Unknown macro: {scm.path}
General
Content
Integrations