[Building Sakai] Postem org.apache.commons.fileupload maven build error in tagged 2.6.1 check out
Steve Swinsburg
steve.swinsburg at gmail.com
Tue Dec 1 17:02:32 PST 2009
Hi Charlie,
you'll need to add the dependency to the postem/postem-app/pom.xml as that module is the one thats looking for the actual dependency.
cheers,
Steve
On 02/12/2009, at 11:54 AM, Charlie Macchia wrote:
> 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
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091202/aa2edb26/attachment.html
More information about the sakai-dev
mailing list