Monday Feb 23, 2015

Sonatype Nexus 2.11.2 supports Oracle Maven Repository

The Sonatype team have announced the release of the Nexus 2.11.2 repository manager that now works with the Oracle Maven Repository.

With the new Nexus 2.11.2 release we are supporting the authentication mechanism used for the Oracle Maven repository in both Nexus OSS and Nexus Pro. This allows you to proxy the repository in Nexus and makes the components discoverable via browsing the index as well as searching for components. You will only need to set this up once in Nexus and all your projects. Developers and CI servers get access to the components and the need for any manual work disappears. On the Nexus side, the configuration changes can be done easily as part of your upgrade to the new release.

Check out their blog @ Using the Oracle Maven Repository with Nexus

Tuesday Feb 10, 2015

Oracle Maven Repository - Viewing Contents in Eclipse

Our own Steve Button has published a great blog on using the new Oracle Maven Repository with Eclipse.
Get started here, and then read the full entry.



With the Oracle Maven Repository now accessible one way to have explore its contents is to use the Maven Repositories viewer feature available in most development tools. I've seen the repository contents displayed easily in NetBeans so I decided to take a look at what it looks like in Eclipse as well.

I had to make a few minor setting changes to get it to work so decided to document them here.  If you've gotten it to work with less setting changes, let me know!

As initial setup, I configured my local maven environment to support access to the Oracle Maven Repository.  This is documented here https://maven.oracle.com/doc.html.  I also installed maven-3.2.5 that includes the updated Wagon module that supports authentication.

Next I downloaded and used the new network installer that the Oracle Eclipse team has published on OTN to install the latest version of Oracle Enterprise Pack for Eclipse.



This network installer lets developers select the version of Eclipse to install and the set of Oracle extensions --  Weblogic, GlassFish and other stuff -- to add in to it.

 Once Eclipse is installed, you can add the Maven Repository viewer by selecting   Window > Show View > Other > Maven Repositories from the Eclipse toolbar.



I also added a Console > Maven viewer to see what was happening under the covers and arranged them so they were visible at the same time:


With the Maven views ready to go, expand the Global Repositories node. This will show Maven Central (any other repositories you may have configured) and the Oracle Maven Repository if you have configured it correctly in the settings.xml file.

The initial state of the Oracle Maven Repository doesn't show any contents indicating that its index hasn't been downloaded to display.

Right mouse clicking on it and selecting the Rebuild Index option causes an error to be shown in the console output indicating that the index could not be accessed.


To get it to work, I made the following changes to my environment.  

Configure Eclipse to Use Maven 3.2.5

Using the Eclipse > Preferences > Maven > Installation dialog, configure Eclipse to use Maven 3.2.5.  This is preferred version of Maven to use to access the Oracle Maven Repository since it automatically includes the necessary version of the Wagon HTTP module that supports the required authentication configuration and request flow.


Configure Proxy Settings in Maven Settings File

** If you don't need a proxy to access the Internet then step won't be needed **

If you sit behind a firewall and need to use a proxy server to access public repositories then you need to configure a proxy setting inside the maven settings file.

...Read the rest on Steve's blog!

Wednesday Jan 28, 2015

Oracle Maven Repository Index Now Available

The new Oracle Maven Repository now has an index available which should make it far easier to navigate the contents. As you may already know there's a number of important WebLogic artifacts in the repository. This is a standard Maven index, built with the Maven Core Indexer code and is available at https://maven.oracle.com/.index/nexus-maven-repository-index.properties and https://maven.oracle.com/.index/nexus-maven-repository-index.gz. The easiest way to view the index is through an IDE like NetBeans that has a Maven repository browser:

You should definitely try the index out with the tools that you are using as well as the repository generally. This relatively early stage is a great time to provide feedback so things can be as polished as possible.

Tuesday Jan 20, 2015

Learn More about the Oracle Maven Repository

[ Update - Feb 10 2015 ]

Add links to blogs on Oracle Maven Repository

Continuing on a Maven related theme, I just discovered a useful new page on the Oracle Community site that provides a list of information and tips for using the Oracle Maven Repository.

Check it out: https://community.oracle.com/community/fusion_middleware/maven

I've also been having a look over the hands-on lab that Mark Nelson is creating for the upcoming Virtual Technology Summit where he walks through setting up and using the Oracle Maven Repository to build, deploy and test an application using Maven.  Might be a bit of fun too having a look at the Robot testing framework as part of it.

http://www.oracle.com/technetwork/community/developer-day/index.html


Monday Jan 12, 2015

WebLogic Server and the Oracle Maven Repository

http://maven.oracle.com

The Oracle Maven Repository has just gone live and is now available for public access. 

This really is excellent news and provides developers with free and easy access (registration required) to APIs, libraries and utilities they regularly use to build applications with WebLogic Server. 

From a WebLogic Server perspective, the Oracle Maven Repository provides publicly accessible, online, on-demand access to the full set of Maven product artifacts that have been provided in the 12c (12.1.2, 12.1.3) releases. This includes the WebLogic Server APIs, the client libraries and the WebLogic Server Maven Plugin.  It also includes the similar set of Coherence artifacts that ship within the WebLogic Server product distributions as well as other artifacts from the Oracle Fusion Middleware stack. 

To access the Oracle Maven Repository, there are two fundamental requirements to be aware of:

1. You must be using Maven 3.2.5 or later.  This contains the version of the component (Wagon 2.8) that has been enhanced to support access to artifacts that are protected by HTTP authentication schemes.

2. You must be registered with OTN and have accepted the agreement to access and use the Oracle Maven Repository.  This can be done with either a new or an existing OTN user account by accessing the http://maven.oracle.com site and clicking the registration link.  

Once registered, you then just need to configure your local Maven environment with the details of the Oracle Maven Repository, including information that relates to the authentication model specifying your OTN username and password.  Thorough documentation is provided and linked to from the main Oracle Maven Repository page.

The Maven provided password-encryption feature can be used to securely encrypt the password for convenient storage in a configuration file so that is not stored in human readable form and can be presented automatically when requested as part of accessing the Oracle Maven Repository. 

Once the repository is configured, developers can include dependencies on WebLogic Server artifacts in their projects and have them automatically retrieved from the Oracle Maven Repository as needed when the projects are being built or tests are being run from a Continuous Integration environment. 

The Oracle Maven Repository provides a significant step up for developer ease-of-use and productivity when working with WebLogic Server.

Wednesday Jul 23, 2014

Developing Java EE applications with Maven and WebLogic 12c

Like many other developers, Zemian Deng is finding the new Maven support in WebLogic 12c quite slick.

Check out his post at buff.ly/1qv3tqi to learn a few useful tips.

Monday Jun 30, 2014

Oracle WebLogic Server 12.1.3 Whitepaper - Developing with WebLogic Server

One of the most significant areas of investment in WebLogic Server 12.1.3 has been in developer productivity and API updates, as I summarized in my blog from last week.   However, a brief summary is typically not enough for developers who want a more detailed description of the improvements we have delivered.   And although product documentation contains all of the relevant updates, sometime it does not capture the overall background on the topic that puts the improvements into context.  

Steve Button from the WebLogic Server product management team has published an excellent whitepaper on OTN - Oracle WebLogic Server 12.1.3 Whitepaper - Developing with WebLogic Server - which provides a detailed description of the new features, along with the background which explains why we delivered the improvements, and the benefits they offer.   The whitepaper covers new WebLogic Server 12.1.3 features in the areas of WebSocket, JSON, JAX-RS, JPA, Server-Sent Events, Maven and more.

If you are a WebLogic Server user looking for a detailed description of the latest development features in WebLogic Server 12.1.3, and how you can leverage them in your applications, this is an excellent resource.   Please take a look!

Thursday Mar 13, 2014

WebLogic 12.1.3 Preview (Video)

We were recently pleased to present a webcast on the upcoming release of WebLogic 12.1.3. Steve Button on our product management team gives a nice overview of where we are, and where we're planning to go.

Watch the free video here in the "On-Demand" section.



Friday Oct 11, 2013

Virtual Developer Day for WebLogic: November 5th

We're excited to announce an upcoming FREE virtual developer day focused on WebLogic (and Coherence).

This day, focused on developers, will guide you through tooling updates and best practices around creating applications with WebLogic and Coherence as target platforms. We'll also explore advances in how you can manage your build, deploy and ongoing management processes to streamline your application's life cycle. And of course, we'll conclude with some hands-on labs that ensure this isn't all a bunch of made-up stuff - get your hands dirty in the code!

November 5, 2013
9am PT/12pm ET
REGISTER NOW


We're offering two tracks for your attendance, though of course you're free to attend any session you wish. The first will be for pure developers with sessions around developing for WebLogic with HTML5, processing live events with Coherence, and looking at development tooling. The second is for developers who are involved in the building and management processes as part of the application life cycle. These sessions focus on using Maven for builds, using Chef and Puppet for configuration and more.

We look forward to seeing you there, and don't forget to invite a friend!

Friday Apr 19, 2013

Improved Developer Experience and Productivity: The Power of Maven and WebLogic Server

Are you using Maven to automate your builds? If so, Oracle WebLogic has some greatly improved, out-of-the box features that make Maven work even harder for you, improving your experience while increasing productivity.

Here are some of the features that enable you to use Maven with the Oracle stack to speed time to market, reduce costs and more effectively manage your application lifecycle:

  • Java EE 6 Full Profile Certified
    WebLogic Server is Java EE 6 full-profile certified so you can make use of the latest programming model to build your applications.
  • Standard Java IDE Support
    WebLogic Server supports various IDEs and offers advanced Maven integration.
  • Developer Zip Distribution
    In order to set up your development environment more quickly, WebLogic Server supports developer Zip distribution.
  • Support for many operating systems
    WebLogic Server supports many operating systems including Windows, MacOSX, and Linux.
  • Open Source
    WebLogic Server offers support for popular third-party frameworks.
  • Classloading
    Oracle’s Classloading Analysis Tool (CAT) is bundled with WebLogic Server to address classloading issues for your applications that use different Java classes i.e. Enterprise Beans, servlets and JavaServer Pages, utility classes and third-party packages. CAT simplifies filtering classloader configuration and helps you analyze classloading issues.
  • Free Developer License
    Oracle offers a free single developer desktop licensed version of WebLogic Server. Link to free download.

Learn More:
Watch the DevCast archive on demand: The Power of Maven: Smarter DevOps through Automation and Integration


You will learn about:

  • WebLogic Server for Developers
  • Apache Maven
  • Working with WebLogic Server from Maven
  • Advanced uses of Maven with WebLogic Server
  • Java IDEs and Maven

Stay Connected
WebLogic:



Cloud Application Platform (CAP):

Monday Mar 25, 2013

What to Expect from Maven on Oracle WebLogic

Many of today's WebLogic shops are already using Maven. To make sure users can take advantage of all of Maven's capabilities, Oracle is constantly iterating on Maven support in WebLogic Server.

Please Join us this Thursday, March 28, at 10 am PT/1 pm PT, to see how Oracle WebLogic and Maven can further your development processes (all while keeping your Ops budget guys happy with the time savings).

Join us for this Webcast and hear about our out-of-the-box support, features, and tips for enhancing your development projects. Discover how:

  • Maven integration improves your time to market by applying cross-cutting logic to well-defined project object models
  • Maven technology advances are easier to use and more accessible with Oracle support
  • You can decrease application lifecycle management costs through build automation and Oracle WebLogic integration


Register for the webcast: What to Expect from Maven on Oracle WebLogic
Thursday, March 28, 10am PDT/1pm EDT
With: Pyounguk Cho, Principal Product LineManager, Oracle WebLogic



About

The official blog for Oracle WebLogic Server fans and followers!

Stay Connected

Search

Archives
« March 2015
SunMonTueWedThuFriSat
1
2
3
4
5
7
8
10
11
12
13
14
15
17
18
19
20
21
22
23
25
26
27
28
29
30
31
    
       
Today