D:\sakai\src\resource-filestorage>mvn -o clean install
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your loca
l
repository will be inaccessible.[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Sakai Resourcefilestorage
[INFO]   Sakai Resourcefilestorage API
[INFO]   Sakai Resourcefilestorage Implementation
[INFO]   Sakai Resourcefilestorage Components Pack
[INFO]   Sakai Resourcefilestorage Tool
[INFO] ------------------------------------------------------------------------
[INFO] Building Sakai Resourcefilestorage
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\sakai\src\resource-filestorage\pom.xml to C:\Users\Administ
rator\.m2\repository\org\sakaiproject\resourcefilestorage\0.1\resourcefilestorag
e-0.1.pom
[INFO] [maven-one-plugin:install-maven-one-repository {execution: default}]
[INFO] Installing D:\sakai\src\resource-filestorage\pom.xml to C:\Users\Administ
rator\.maven\repository\org.sakaiproject\poms\resourcefilestorage-0.1.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Sakai Resourcefilestorage API
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\sakai\src\resource-filestorage\api\m2-target
[INFO] [resources:resources]
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e
. build is platform dependent!
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to D:\sakai\src\resource-filestorage\api\m2-targ
et\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failureD:\sakai\src\resource-filestorage\api\src\java\org\sakaiproject\resourcefilestor
age\logic\FileStorage.java:[8,44] 软件包 org.apache.myfaces.custom.fileupload 不
存在D:\sakai\src\resource-filestorage\api\src\java\org\sakaiproject\resourcefilestor
age\logic\FileStorage.java:[37,44] 找不到符号
符号: 类 UploadedFile
位置: 接口 org.sakaiproject.resourcefilestorage.logic.FileStorage[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Mon Jul 04 15:48:52 CST 2011
[INFO] Final Memory: 15M/254M
[INFO] ------------------------------------------------------------------------
D:\sakai\src\resource-filestorage>
我的pom里面可是有对myface的依赖啊  <!-- MyFaces JSF dependencies -->
      <dependency>
         <groupId>org.apache.myfaces.core</groupId>
         <artifactId>myfaces-api</artifactId>
         <version>1.1.8</version>
      </dependency>      <dependency>
         <groupId>org.apache.myfaces.core</groupId>
         <artifactId>myfaces-impl</artifactId>
         <version>1.1.8</version>
      </dependency>      <dependency>
         <groupId>org.apache.myfaces.tomahawk</groupId>
         <artifactId>tomahawk</artifactId>
         <version>1.1.6</version>
      </dependency>下面是FileStorage.java的一部分
import org.apache.myfaces.custom.fileupload.UploadedFile;import org.sakaiproject.resourcefilestorage.model.DownloadStatus;
import org.sakaiproject.resourcefilestorage.model.UploadStatus;public interface FileStorage {