[08:52:45 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[09:01:47 EST(-0500)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[09:22:42 EST(-0500)] * anastasiac (n=chatzill@142.150.154.149) has joined ##uportal
[09:29:23 EST(-0500)] * clown (n=clown@user383.megabit.utoronto.ca) has joined ##uportal
[09:58:47 EST(-0500)] * EricDalquist (n=EricDalq@adsl-76-204-102-88.dsl.mdsnwi.sbcglobal.net) has joined ##uportal
[10:44:04 EST(-0500)] <EricDalquist> confluence should be back
[11:13:15 EST(-0500)] * clown (n=clown@user383.megabit.utoronto.ca) has left ##uportal
[11:26:55 EST(-0500)] <athena7> hurray!
[11:27:01 EST(-0500)] <athena7> ok, so i have a maven question
[11:27:08 EST(-0500)] <EricDalquist> I can't wait until we get off this old machine ...
[11:27:10 EST(-0500)] <EricDalquist> ok
[11:27:19 EST(-0500)] <athena7> i have a bunch of dependencies being included in this project that shouldn't be there
[11:27:23 EST(-0500)] <EricDalquist> ah
[11:27:29 EST(-0500)] <EricDalquist> mvn org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:tree | less
[11:27:33 EST(-0500)] <athena7> i assume they're defined as dependencies of some of the things i do mean to be including
[11:27:41 EST(-0500)] <athena7> will that show me where they're coming from?
[11:27:42 EST(-0500)] <EricDalquist> that will show you the dependency tree
[11:27:46 EST(-0500)] <athena7> awesome
[11:27:57 EST(-0500)] <EricDalquist> and then you can add exclude tags to the dependencies that are pulling things in
[11:28:04 EST(-0500)] <athena7> fantastic, thanks!
[11:28:27 EST(-0500)] <EricDalquist> unfortunately the :tree goal of the dependency plugin isn't available in the default version so you need that big nasty string to tell maven to use the snapshot version
[11:28:44 EST(-0500)] <athena7> what repository do i need to add to get maven to find it?
[11:28:48 EST(-0500)] <EricDalquist> none
[11:28:53 EST(-0500)] * clown (n=clown@user383.megabit.utoronto.ca) has joined ##uportal
[11:28:56 EST(-0500)] <EricDalquist> it is in the central snapshot repository
[11:29:03 EST(-0500)] <athena7> hm, it says it was unable to download the artifact
[11:29:05 EST(-0500)] <EricDalquist> hrm
[11:30:32 EST(-0500)] <EricDalquist> try adding http://uportal.pastebin.com/m51198ae0
[11:30:54 EST(-0500)] * Topic is 'Use http://uportal.pastebin.com for multi-line pasting' set by EricDalquist on 2008-02-06 11:30:54 EST(-0500)
[11:30:55 EST(-0500)] <athena7> that one's in there already
[11:31:00 EST(-0500)] <EricDalquist> double hrm
[11:31:46 EST(-0500)] <athena7> while we're talking about repositories, i also need to include a version of ical4j that's still in beta, and isn't in the central repository yet
[11:31:51 EST(-0500)] <athena7> what's the best way to handle that?
[11:32:05 EST(-0500)] <EricDalquist> uhg ... well we do have a ja-sig.org maven repository
[11:32:10 EST(-0500)] <EricDalquist> do you have ssh access to ja-sig.org?
[11:32:22 EST(-0500)] <athena7> yep
[11:33:30 EST(-0500)] <EricDalquist> http://uportal.pastebin.com/d7092d3cd
[11:33:58 EST(-0500)] <EricDalquist> that is an example settings.xml to tell maven how to connect to the jasig repo
[11:34:11 EST(-0500)] <athena7> if i add that, will that allow me to send stuff to the repository?
[11:34:19 EST(-0500)] <EricDalquist> yeah
[11:34:23 EST(-0500)] <EricDalquist> using the mvn deploy command
[11:34:37 EST(-0500)] <EricDalquist> http://maven.apache.org/plugins/maven-deploy-plugin/howto.html
[11:34:53 EST(-0500)] <athena7> great, thanks
[11:35:13 EST(-0500)] <EricDalquist> so the syntax for deploying an artifact you need as a dependency would be:
[11:36:41 EST(-0500)] <EricDalquist> mvn deploy:deploy-file -Durl=scp://developer.ja-sig.org/jasig/htdocs/developer/maven2/ -DrepositoryId=developer.jaisg ....
[11:36:59 EST(-0500)] <EricDalquist> the .... is the same syntax as the install:install-file command
[11:37:07 EST(-0500)] <athena7> ok
[11:37:14 EST(-0500)] <athena7> i've never really used any of these maven2 features
[11:37:17 EST(-0500)] <EricDalquist> 'oh
[11:37:27 EST(-0500)] <athena7> is there anything else i should have in my settings file, now that I actually have one?
[11:37:38 EST(-0500)] <EricDalquist> and there is a JASIG wide parent pom you can declare for the portlet
[11:38:04 EST(-0500)] <EricDalquist> if you take a look at: https://www.ja-sig.org/svn/up2/trunk/pom.xml
[11:38:28 EST(-0500)] <EricDalquist> you need to add the <parent> element and the jasig-repository repository
[11:38:43 EST(-0500)] <EricDalquist> once you have that the jasig parent defines things like the distribution urls and such
[11:39:07 EST(-0500)] <EricDalquist> so you would be able to do 'mvn deploy' in your portlet and maven would know where to upload the .WAR to automaticly
[11:39:33 EST(-0500)] <athena7> i think i might have that already, since i copy/pasted from the bookmarks portle
[11:39:35 EST(-0500)] <athena7> t
[11:39:44 EST(-0500)] <EricDalquist> ah yup
[11:39:48 EST(-0500)] <EricDalquist>
[11:39:59 EST(-0500)] <athena7> it was a very useful example
[11:40:13 EST(-0500)] <EricDalquist> I'm still not sure why the dependency command isn't working for you
[11:40:20 EST(-0500)] <EricDalquist> another option that takes a bit longer is to run mvn site
[11:40:30 EST(-0500)] <EricDalquist> the generated site has a dependency tree on it
[11:40:36 EST(-0500)] <athena7> oh, i figured it out
[11:40:48 EST(-0500)] <athena7> it worked as just version 2.0
[11:41:04 EST(-0500)] <athena7> for some reason the alpha 5 version isn't in the central repository
[11:41:10 EST(-0500)] <EricDalquist> weird
[11:41:21 EST(-0500)] <athena7> yeah
[11:41:23 EST(-0500)] <EricDalquist> I wonder if they promoted it since I last had to download it
[11:41:32 EST(-0500)] <athena7> possibly
General
Content
Integrations