[Building Sakai] Postem org.apache.commons.fileupload maven build error in tagged 2.6.1 check out

Charlie Macchia cmacchia at BrainOVision.com
Tue Dec 1 16:54:58 PST 2009


Thanks Anthony, fwiw ­ the error came from a Sakai 2.6.1 checked out today.

I¹ve added the <dependency> tag to the Post¹em¹s POM XML, with the version
tag and without, it complains if I don¹t add the version tag, but even with
it, I still get the error, here¹s what I¹m doing:

    <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.sakaiproject</groupId>
        <artifactId>sakai-postem-impl</artifactId>
        <version>2.6.1</version>
      </dependency>
      <dependency>
        <groupId>commons-fileupload</groupId>
        <artifactId>commons-fileupload</artifactId>
      </dependency>
      <dependency>
        <groupId>org.sakaiproject</groupId>
        <artifactId>sakai-jsf-myfaces-tool</artifactId>
        <version>2.6.1</version>
      </dependency>
      <dependency>
        <groupId>org.sakaiproject</groupId>
        <artifactId>sakai-postem-hbm</artifactId>
        <version>2.6.1</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

Maybe I¹m sticking the tag in the wrong spot, but I thought it made sense
inside <dependencies>?

Charlie


On 12/1/09 5:25 PM, "Anthony Whyte" <arwhyte at umich.edu> wrote:

> Charlie--we started encountering this build error back on 18 November (see
> email below).  The missing dependency listing affected trunk, 2.5.x, 2.6.x and
> 2.7.x branches as well as tags such as 2.6.1 (all since patched).  You can fix
> it locally by adding the following dependency to the 2.6.1 postem tool pom:
> 
>> <dependency>
>>       <groupId>commons-fileupload</groupId>
>>       <artifactId>commons-fileupload</artifactId>
>> </dependency>
> 
> The upcoming 2.5.6, 2.6.2 maintenance releases includes this fix.
> 
> http://jira.sakaiproject.org/browse/SAK-17418
> 
> Cheers,
> 
> Anth




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091201/e9a85e82/attachment.html 


More information about the sakai-dev mailing list