Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[11:32:28 EDT(-0400)] * esm (n=esm@esm.qis.net) has joined ##uportal
[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)]

Wiki Markup
&lt;EricDalquist&gt;         &lt;connection&gt;scm:svn:https://www.ja-sig.org/svn/${scm.path}&lt;/connection&gt;

[12:08:27 EDT(-0400)]
Wiki Markup
&lt;EricDalquist&gt;         &lt;developerConnection&gt;scm:svn:https://www.ja-sig.org/svn/${scm.path}&lt;/developerConnection&gt;

[12:08:28 EDT(-0400)]
Wiki Markup
&lt;EricDalquist&gt;         &lt;url&gt;http://developer.ja-sig.org/source/browse/jasigsvn/${scm.path}&lt;/url&gt;

[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)]
Wiki Markup
&lt;esm&gt; right the scm form the parent would be http://developer.ja-sig.org/source/browse/jasigsvn/porllets/${scm.path}

[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
[12:19:17 EDT(-0400)] <EricDalquist> well I think I'll just say that if you want to use the parent's scm definition the project name has to matc the scm folder name
[12:19:27 EDT(-0400)] <esm> that is the "maven way"
[12:19:33 EDT(-0400)] <esm> soudns good to me
[12:19:43 EDT(-0400)] <esm> i'm just checking the scm plugin to see if that behavior is documented
[12:21:07 EDT(-0400)] <EricDalquist> (smile)
[12:21:52 EDT(-0400)] <esm> btw working on hot deploy and assembly optional container services
[12:22:07 EDT(-0400)] <EricDalquist> cool
[12:22:44 EDT(-0400)] <esm> hopefully 1.1.4 will be out the door by end of july then i'll start pounding on 1.2 or 286
[12:22:54 EDT(-0400)] * esm downloads the scm plugin
[12:23:32 EDT(-0400)] <EricDalquist> and helping me with maven and uPortal (smile)
[12:23:38 EDT(-0400)] <esm> yeah!
[12:23:50 EDT(-0400)] <esm> well the idea is that maven is one of the last things
[12:23:57 EDT(-0400)] <EricDalquist> yeah
[12:24:01 EDT(-0400)] <esm> and there is a lot of work to do for 286
[12:24:05 EDT(-0400)] <EricDalquist> I bet
[12:24:27 EDT(-0400)] <esm> so i figure I will front-load my time on 286 now while I'm not as busy at the same time helping you where you need me
[12:24:35 EDT(-0400)] <EricDalquist> good plabn
[12:24:39 EDT(-0400)] <EricDalquist> plan even
[12:25:39 EDT(-0400)] <esm> (smile)
[13:29:02 EDT(-0400)] * colinclark (n=atrcwrk2@142.150.154.101) has joined ##uportal
[13:58:45 EDT(-0400)] * esm_ (n=esm@esm.qis.net) has joined ##uportal