Announcement Announcement Module
No announcement yet.
Milestone 3 Released Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Milestone 3 Released

    OAuth for Spring Security 1.0.0.M3 was released last week (sorry for the last posting). This release brings the library up to date with draft 13 of the OAuth 2 spec and provides fixes for a variety of other issues.

    It should be noted that this will probably be the last release that supports Spring Security 3.0, depending on when 3.1 is released. Unfortunately, 3.1 introduced some non-backwards-compatible changes.

  • #2
    nullpointexception when mvn install milestone 3

    Hello, there,

    I tried to install
    into my local repository as it is the <parent> dependency for sparklr and tonr2.

    Downloaded the jar and pom file from

    but when I build it using
    mvn install -Dfile=spring-security-oauth-1.0.0.M3.jar -DpomFile=spring-security-oauth-1.0.0.M3.pom

    I got
    [INFO] Trace
    at org.apache.maven.artifact.versioning.DefaultArtifa ctVersion.parseVersion( :136)
    at org.apache.maven.artifact.versioning.DefaultArtifa ctVersion.<init>(
    at org.apache.maven.artifact.versioning.VersionRange. createFromVersion(
    at org.apache.maven.project.artifact.ProjectArtifactF actory.create(
    at org.apache.maven.project.DefaultMavenProjectBuilde r.processProjectLogic(DefaultMavenProjectBuilder.j ava:1017)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.buildInternal( 0)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.buildFromSourceFileInternal(DefaultMavenProjectB
    at org.apache.maven.project.DefaultMavenProjectBuilde
    at org.apache.maven.DefaultMaven.getProject(DefaultMa
    at org.apache.maven.DefaultMaven.collectProjects(Defa
    at org.apache.maven.DefaultMaven.getProjects(DefaultM
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:138)
    at org.apache.maven.cli.MavenCli.main( 62)
    at org.apache.maven.cli.compat.CompatibleMain.main(Co
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De
    at java.lang.reflect.Method.invoke(
    at org.codehaus.classworlds.Launcher.launchEnhanced(L
    at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode (
    at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: < 1 second
    [Loaded java.util.TimeZone$DisplayNames from /shared/jdk1.6.0_22/jre/lib/rt.jar]
    [Loaded sun.util.TimeZoneNameUtility from /shared/jdk1.6.0_22/jre/lib/rt.jar]
    [Loaded sun.util.resources.TimeZoneNamesBundle from /shared/jdk1.6.0_22/jre/lib/rt.jar]
    [Loaded sun.util.resources.TimeZoneNames from /shared/jdk1.6.0_22/jre/lib/rt.jar]
    [Loaded sun.util.resources.TimeZoneNames_en from /shared/jdk1.6.0_22/jre/lib/rt.jar]
    [Loaded java.util.spi.TimeZoneNameProvider from /shared/jdk1.6.0_22/jre/lib/rt.jar]
    [INFO] Finished at: Mon Mar 28 11:39:21 EDT 2011

    can someone plz tell me how to fix it? thanks a million


    • #3

      Is there a reason that you're attempting to install the parent pom in your local repository? You should just be able to download the sample applications and build them with Maven, which should automatically pull the parent pom without you having to install it.

      Is this not working for you?


      • #4
        Hi, stoicflame,

        Thanks a million for replying. You are right. I should be able to do that, given I am able to access the repository where the parent is stored. And I just found out that it is not the case. I did not know at the beginning,. Was trying to get around it by installing the parent locally. Then I ran into some other things cuz it has its own dependencies. It is really a headache. My colleague tried it with another env and it works.

        Sorry for all the hassle I've brought. Hope this thing may get solved soon