[Building Sakai] [Building Sak ai] New tool- Mvn dep loy- Build failure

Aaron Zeckoski aaronz at vt.edu
Sun May 31 08:51:59 PDT 2009


Setting them to 1.0 is fine as long as the version on the file is
actually 1.0 and the structure is setup correctly (like below):
groupId=org.sakaiproject
- org/sakaiproject/
artifactId=mystuff
- org/sakaiproject/mystuff
version=1.2.3
- org/sakaiproject/mystuff/1.2.3/
Artifact=mystuff-1.2.3.jar
- org/sakaiproject/mystuff/1.2.3/mystuff-1.2.3.jar

More stuff on this on the maven 2 website:
http://maven.apache.org/general.html#importing-jars
http://maven.apache.org/index.html

-AZ


On Sun, May 31, 2009 at 3:27 PM,  <m_yaghmaie at modares.ac.ir> wrote:
> Hi Aaron,
> Actually xsdlib is one of the JAR files I am adding. From your reply I found
> out that the problem with my repository is that I have set the JAR version
> wrong. I did not know the version and I installed all of my JAR files using
> 1.0 version number. I must say that I need some JAR files (such as those
> needed for multi-agent platform) that I could not found in maven repository
> and since I did not know the version I set them all to 1.0. Is this wrong?
>
> Tnx, Mak
>
> ---- Original Message ----
> From: Aaron Zeckoski <aaronz at vt.edu>
> To: m_yaghmaie at modares.ac.ir
> Cc: sakai-dev at collab.sakaiproject.org
> Sent: Sun, May 31, 2009, 2:36 PM
> Subject: Re: [Building Sakai] New tool- Mvn deploy- Build failure
>
> It looks to me likw xsdlib is either here:
> http://repo1.maven.org/maven2/xsdlib/xsdlib/20030225/xsdlib-20030225.jar
> or here:
> http://repo1.maven.org/maven2/com/sun/msv/datatype/xsd/xsdlib/20060615/xsdlib-20060615.jar
> (there may be other locations)
>
> If you use the newer one then the maven stuff would look like:
> <dependency>
> <groupId>com.sun.msv.datatype.xsd</groupId>
> <artifactId>xsdlib</artifactId>
> <version>20060615</version>
> </dependency>
>
> Hope this helps
> -AZ
>
>
> On Sun, May 31, 2009 at 9:38 AM, <m_yaghmaie at modares.ac.ir> wrote:
>> Hi,
>>
>> I have to add some JARs to my tool. I have installed all of them in the
>> maven repository. I also added the dependencies in pom.xml file using:
>>           <dependency>
>>                 <artifactId>xsdlib</artifactId>
>>                 <groupId>com.sun</groupId>
>>                 <version>[1.0]</version>
>>             </dependency>
>>
>> When I want to build and deploy my tool using mvn install sakai:deploy, I
>> get build failure error because the classes added as a JAR file are not
>> recognized by compiler.
>> I should add that deploying the tool was done successfully before I had to
>> add JAR files to my tool.
>> Thnx, Mak
>>
>> _______________________________________________
>> 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"
>>
>>
>
>
>
> --
> Aaron Zeckoski (aaronz at vt.edu)
> Senior Research Engineer - CARET - Cambridge University
> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
> http://aaronz-sakai.blogspot.com/ -
> http://confluence.sakaiproject.org/confluence/display/~aaronz/
>
> _______________________________________________
> 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"
>
>



-- 
Aaron Zeckoski (aaronz at vt.edu)
Senior Research Engineer - CARET - Cambridge University
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ -
http://confluence.sakaiproject.org/confluence/display/~aaronz/


More information about the sakai-dev mailing list