[Building Sakai] Build failure on Sakai 2.9.x-all
Steve Swinsburg
steve.swinsburg at gmail.com
Tue Sep 4 18:41:51 PDT 2012
Try taking it out. I've just merged it back since the build also fails for me on 2.9:
[steveimac:~/dev/sakai/src/sakai-2.9.x-all/sitestats]$ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.sakaiproject.sitestats:sitestats-impl:2.3-SNAPSHOT (/Users/steve/dev/sakai/src/sakai-2.9.x-all/sitestats/sitestats-impl/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for jta:jta:jar is missing. @ line 162, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Works once removed. Tests not affected.
cheers,
Steve
On 05/09/2012, at 11:25 AM, Robert E. Long <rlong at unicon.net> wrote:
> Doing a search of the JIRAs, I came across this one where it was removed, as it was deemed unnecessary:
>
> https://jira.sakaiproject.org/browse/STAT-314
>
> Maybe it *IS* necessary? I can get it to build just fine when I add the version in the sitestats/impl/pom.xml file. Unless I'm doing something wrong?
>
> --Bob
>
> ----
> Robert Long
> Software Developer
> Unicon, Inc.
> M.A., Instructional Technology
> Saginaw Valley State University
> rlong at unicon.net
>
> On Sep 4, 2012, at 6:20 PM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
>
>> Hi Bob,
>>
>> Interestingly there is no version set for that dependency, hence the error. Looking up the tree its not in master either. I think this has been broken for some time? It fails for me too. Should be as simple as adding a version though. Can you file a Jira?
>>
>> cheers,
>> Steve
>>
>>
>> On 05/09/2012, at 10:52 AM, Robert E. Long <rlong at unicon.net> wrote:
>>
>>> All,
>>>
>>> I am having a build failure when trying to build a fresh checkout of 2.9.x-all. It is failing on sitestats with the error:
>>>
>>> ---Begin error---
>>>
>>> [INFO] ------------------------------------------------------------------------
>>> [ERROR] FATAL ERROR
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Error building POM (may not be this project's POM).
>>>
>>>
>>> Project ID: org.sakaiproject.sitestats:sitestats-impl
>>> POM Location: /Volumes/Files/svn/sakai/branches/sakai-2.9.x-all/sitestats/sitestats-impl/pom.xml
>>> Validation Messages:
>>>
>>> [0] 'dependencies.dependency.version' is missing for jta:jta:jar
>>>
>>>
>>> Reason: Failed to validate POM for project org.sakaiproject.sitestats:sitestats-impl at /Volumes/Files/svn/sakai/branches/sakai-2.9.x-all/sitestats/sitestats-impl/pom.xml
>>>
>>>
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Trace
>>> org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for project org.sakaiproject.sitestats:sitestats-impl at /Volumes/Files/svn/sakai/branches/sakai-2.9.x-all/sitestats/sitestats-impl/pom.xml
>>> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to validate POM for project org.sakaiproject.sitestats:sitestats-impl at /Volumes/Files/svn/sakai/branches/sakai-2.9.x-all/sitestats/sitestats-impl/pom.xml
>>> at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1077)
>>> at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
>>> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
>>> at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
>>> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
>>> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
>>> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
>>> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
>>> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
>>> ... 12 more
>>>
>>>
>>> ---End error---
>>>
>>> Both Maven 2 and Maven 3 give similar errors complaining about 'dependencies.dependency.version' for jta:jta:jar is missing…
>>>
>>> I have cleaned out my Maven repo and have tried all combinations of Java 6 and 7 with Maven 2.2.1 and 3.0.4 without success. I have even wiped the directory and re-downloaded the entire 2.9.x-all branch.
>>>
>>> Anyone else having this issue? Any pointers?
>>>
>>> --Bob
>>>
>>> ----
>>> Robert Long
>>> Software Developer
>>> Unicon, Inc.
>>> M.A., Instructional Technology
>>> Saginaw Valley State University
>>> rlong at unicon.net
>>>
>>> _______________________________________________
>>> 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/20120905/a293c7b0/attachment.html
More information about the sakai-dev
mailing list