[ http://jira.codehaus.org/browse/MEV-426?page=all ]

Lee Meador updated MEV-426:
---------------------------

    Attachment: pom.xml

Here is a better pom.

I had the previous one totally messed up. What I forgot was that when dealing 
with "transitive" dependencies maven2 will convert the scopes in the pom for 
the "direct" dependency to something different for the transitive ones.

So, to fix the problem, I added some scopes and optionals to the pom I used to 
build Quartz 1.5.2 on my machine. I haven't removed each dependency to make 
sure this is the smalled list that will work but I did add the se one by one 
and when I got to this list it started compiling.

> Quartz 1.5.2 missing pom and jar. Has source.
> ---------------------------------------------
>
>                 Key: MEV-426
>                 URL: http://jira.codehaus.org/browse/MEV-426
>             Project: Maven Evangelism
>          Issue Type: Improvement
>            Reporter: Lee Meador
>         Attachments: maven-repo-quartz-1.5.2.zip, pom.xml
>
>
> The pom and jar are missing but the source jar, etc are there. Quartz 1.5.1 
> has a pom with no dependencies. The supplied file has a pom with all the 
> dependencies needed to compile quartz EXCEPT ejb.jar and servlet.jar (or 
> servlet-api.jar) JTA and MAIL are marked optional. The others are things like 
> beanutils and such that are already in the repository.
> Here's what I did:
> 1) Download 1.5.2 from http://www.opensymphony.com/quartz/download.action
> 2) Unzip and take the jar from the lib directory of what unzipped..
> 3) Build an Eclipse project with a the maven 2 plugin, using the maven layout.
> 4) Copy all the unzipped source into src/main/java from the src/java 
> directory of what unzipped.
> 5) Create a pom by turning on the maven2 eclipse plugin for the project.
> 5) Add dependencies to the pom based on what wouldn't compile in eclipse.
> 6) Repeat step 5 and building with mvn compile until there were no errors.
> Then I copied the pom to quartz-1.5.2.pom and edited it a bit more:
> 1) I removed ejb.jar and servlet.jar since I figured those would be around if 
> needed in quartz.
> 2) I added <optional>true</optional> to jta and java mail since those jars 
> are Sun's and aren't in the repo
> 3) I added <scope>runtime</scope> to everything else.
> That is what I am sending you. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to