Release 3.3.4 with weblogic 12c (servlet 3.0) fix.

Splash Forums PrettyFaces Users Release 3.3.4 with weblogic 12c (servlet 3.0) fix.

This topic contains 2 replies, has 3 voices, and was last updated by  Christian Kaltepoth 4 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19170

    javi2ee
    Participant

    Is it possible for ocpsoft to release 3.3.4 to the maven repository with the oracle 12c servlet 3.0 workaround? I built a 3.3.4-snapshot per your instructions and it works like a charm. But making it available to my team is difficult now because we have no nexus server set up locally. Likely that fix would be useful for others.

    #23326

    Could you refresh my memory on what the problem was? I can’t quite seem to place it. I recall the issue, but not the details.

    Also, what was the resolution? Sorry but my memory is slippery :)

    Thanks,

    ~Lincoln

    #23327

    I don’t think we should release 3.3.4 just for this fix. Especially because it is actually just a workaround for a bug in your container. And I also have two other things on my TODO list that I would like to get into 3.3.4 but I’m currently very busy, so this may take some time.

    I can understand that you don’t want to setup a repository manager in your team just for one single artifact. But there are simpler approaches. One a approach I used in the past is having an “in-project-maven-repository”. It is based on the idea of declaring a repository in your pom that points to a local directory in your project.

    Here are some references:

    http://stackoverflow.com/a/7623805/395181

    http://blog.dub.podval.org/2010/01/maven-in-project-repository.html

    http://pragmatastic.blogspot.de/2010/07/adding-project-local-libraries-to-maven.html

    With such a local repository in your project, you can easily deploy a custom PrettyFaces version to it. First you should set the version to some new value:

    cd /prettyfaces-checkout
    mvn versions:set -DnewVersion=3.3.3-fix1
    mvn versions:commit

    Then deploy it to your project repository using the altDeploymentRepository option.

    mvn deploy -DaltDeploymentRepository=myrepo::default::file:///somewhere/myproject/lib/

    Now you should be able to set the PrettyFaces version to 3.3.3-fix1 which will be automatically resolved from the repository located within you project directory structure.

    I hope this helps. Feel free to contact me if you have further questions regarding this approach. :)

    Christian

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Comments are closed.