Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-1623

no longer possible to generate separate source and javadoc in the module target dirs for rice

    Details

    • Similar issues:
      KULRICE-402Source and JavaDocs for rice-commons
      KULRICE-511KEW Source and JavaDoc
      KULRICE-1380Implement a method for publishing cross-module javadocs to test.kuali.org as part of the release process
      KULRICE-277Clean up a few things in "rice-commons" to make the project completely Mavenized
      KULRICE-4223Change mvn compile plugin to target 1.6 java.
      KULRICE-5956optimize site generation
      KULRICE-2311Split KIM DDL Files into separate files per Rice standard
      KULRICE-4924Include source and javadoc tarballs with SNAPSHOTS and RELEASES
      KULRICE-2763Extract web java classes and resources into a separate maven module
      KULRICE-5629consider running automatic javadoc:fix plugin on rice codebase
    • Rice Module:
      KSB, KNS, KEW
    • Application Requirement:
      KFS

      Description

      this is a big deal to us because all kfs devs depend on this stuff being in kuali_dependencies. here is the target that used to work for us to put it there for them...
      <target name="update-rice-kuali-dependencies" depends="init-property-files">
      <delete>
      <fileset dir="$

      {dependencies.project.directory}" includes="${rice.output.file.prefix}" />
      </delete>
      <maven goals="install source:jar javadoc:jar" />
      <copy todir="${dependencies.project.directory}

      ">
      <fileset dir="$

      {rice.project.directory}

      " includes="$

      {rice.output.directories}${rice.output.file.prefix}${rice.version}${rice.output.src.suffix},${rice.output.directories}

      $

      {rice.output.file.prefix}

      $

      {rice.version}

      $

      {rice.output.doc.suffix}

      " excludes="$

      {rice.excludes}

      " />
      <chainedmapper>
      <flattenmapper />
      <globmapper from=".jar" to=".zip" />
      </chainedmapper>
      </copy>
      </target>

      __________________________________________________________

      ----Original Message----
      From: Byrne, Ailish M
      Sent: Tuesday, February 12, 2008 10:03 AM
      To: Westfall, Eric Curtis
      Cc: Warren Liang; Jonathan Keller
      Subject: RE: is update rice kuali dependencies working?

      I'll create a jira about this, cause it doesn't seem like there's a quick solution, and I'm not sure how to work around.

      Thanks

      ----Original Message----
      From: Westfall, Eric Curtis
      Sent: Tuesday, February 12, 2008 12:15 AM
      To: Byrne, Ailish M
      Cc: Warren Liang; Jonathan Keller
      Subject: Re: is update rice kuali dependencies working?

      We switched to aggregate javadocs so that we can deploy our javadocs as one
      set of web pages instead of one per module. I can't seem to get it to
      generate a javadoc jar. Probably a maven bug, or just me not knowing how to
      do it

      Looks like the source jars are getting put into /tmp for some reason. I'm
      not really sure what's going on there but I can probably remove that and
      verify that things can still be deployed successfully to the maven
      repository.

      Thanks,
      Eric

      On 2/11/08 10:10 PM, "Byrne, Ailish M" <abyrne@indiana.edu> wrote:

      > Fyi - it seems to be working for me so far - I have things in the
      > target dirs named like rice-kns-0.9.3-SNAPSHOT.jar after running
      > setup-rice
      >
      > We'll see what happens with update-rice. I'm out for the night
      >
      > ----Original Message----
      > From: Byrne, Ailish M
      > Sent: Monday, February 11, 2008 7:32 PM
      > To: Westfall, Eric Curtis
      > Subject: FW: is update rice kuali dependencies working?
      >
      > Do you know if something has changed with the project structure that
      > will require a change in our expectations in where the source and
      > javadoc get put?
      >
      > Thanks,
      > A
      >
      > ----Original Message----
      > From: Warren Liang wliang@uci.edu
      > Sent: Monday, February 11, 2008 7:22 PM
      > To: Byrne, Ailish M
      > Subject: is update rice kuali dependencies working?
      >
      > Hi Ailish,
      >
      > I'm trying to update the kuali dependencies project, but it's not
      > working.
      >
      > I tried looking into /java/projects/rice/*/target, and it looks like
      > maven didn't generate the source and javadoc jars that would have been
      > copied into kuali dependencies.
      >
      > I do, however, see a lot of jars named rice-source-sources.jar under
      > /java/projects/rice/*/tmp
      >
      > Thanks,
      >
      > Warren
      >
      >

        Activity

        Hide
        Eric Westfall added a comment -

        When I run the following from the command line I see both javadoc and source jars in the "target" directories:

        mvn source:jar javadoc:jar

        When I run the following I get the exact same output that you got and no source/javadoc jars are generated.

        mvn -Pinstall-kns-dev source:jar javadoc:jar

        So looks like we are back to this again. My guess is that the install-kns-dev profile doesn't have the source and javadoc plugins configured properly. I'm trying to recall what the purpose of that profile was. Seems that you tried removing it and it caused problems?

        Show
        Eric Westfall added a comment - When I run the following from the command line I see both javadoc and source jars in the "target" directories: mvn source:jar javadoc:jar When I run the following I get the exact same output that you got and no source/javadoc jars are generated. mvn -Pinstall-kns-dev source:jar javadoc:jar So looks like we are back to this again. My guess is that the install-kns-dev profile doesn't have the source and javadoc plugins configured properly. I'm trying to recall what the purpose of that profile was. Seems that you tried removing it and it caused problems?
        Hide
        Eric Westfall added a comment -

        Sorry, I should mention that i ran this against the main 0.9.3 branch of rice.

        Show
        Eric Westfall added a comment - Sorry, I should mention that i ran this against the main 0.9.3 branch of rice.
        Hide
        Ailish Byrne added a comment -

        that profile was to avoid us doing unnecessary stuff. initially to avoid clover, i think. jus to speed up the process. i'm trying without it now. we can live with slower

        Show
        Ailish Byrne added a comment - that profile was to avoid us doing unnecessary stuff. initially to avoid clover, i think. jus to speed up the process. i'm trying without it now. we can live with slower
        Hide
        Ailish Byrne added a comment -

        so, yeah - works fine without the profile. thanks, eric!

        Show
        Ailish Byrne added a comment - so, yeah - works fine without the profile. thanks, eric!
        Hide
        Eric Westfall added a comment -

        Yay

        Show
        Eric Westfall added a comment - Yay

          People

          • Assignee:
            Eric Westfall
            Reporter:
            Ailish Byrne
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Structure Helper Panel