Posts Tagged ‘Maven’

Maven pom.xml editor new features

Thursday, March 4th, 2010

Since the latest IntelliJ IDEA  9.0.2 EAP the IDE contains a bit of new Maven-related pom.xml editor features.

1. Easier Navigation

  • You can navigate to “Dependency usages” from “dependencyManagement” of your parent pom.xml:
    and back:
  • You can navigate through projects tree

2. Smarter Paths
‘Path reference’ notion were added to the editor to enhance the code completion, usages search and rename refactoring of project paths.

3. More intelligent plugins configuration
IntelliJ IDEA analyses plugin parameter types and adds smart value editors for plugin configuration tags.

You feedback is as always highly appreciated.

Maven Generate actions for pom.xml editor

Wednesday, March 3rd, 2010

Try the last EAP of IntelliJ IDEA 9.0.2 to test new ‘Generate’ actions for Maven pom.xml editor.  Type “Alt+Insert” to invoke the “Generate…” popup menu and select an action to run.

IntelliJ IDEA actually runs live template inside to complete the code generation

Generate action for pom.xml

Let us know what you think about.

Flex SDK Sources and Flexmojos Projects

Monday, January 18th, 2010

If you are working with Flexmojos Maven projects in IntelliJ IDEA 9, and have imported Flexmojos project as described in this post, and are planning to debug your application and browse through Flex SDK sources, this post is a must-read for you. Inside you will find details on how to configure IntelliJ IDEA so that it properly recognizes SDK sources and their ASdocs.

(more…)

Import Flexmojos Projects to IntelliJ IDEA 9

Monday, September 28th, 2009

Integration with Flex projects that are set up using Flexmojos Maven plugin is very much improved in IntelliJ IDEA 9 (Maia).

If you are using Flexmojos version 3.4 or higher, then the only thing you need to do to import your Flexmojos project to IntelliJ IDEA is to click New Project on the File menu and select your pom.xml file.

That’s all! Right after that you have full coding assistance, ability to compile your project in the same way as Maven does, and to run and debug your application in IntelliJ IDEA.

Note: get more information about configuring Flex SDK sources for Flexmojos projects. (more…)

Maven Properties and Filters Support in Maia

Monday, September 7th, 2009

Next Maia EAP comes with full support of Maven Properties and Filtered Resources. New features include:

Go to declaration with Ctrl+B on a property from your pom.xml files, settings.xml and profiles.xml files, system and environment properties, and properties defined in custom Maven filters.

Find Usages

Rename properties defined in the section of you Maven project and custom filters files.

Maven-like Classpath in Maia

Monday, August 31st, 2009

Starting next Maia EAP, classpath for Maven-based projects will be built following Maven rules.
Also, IntelliJ IDEA will natively support compile, test and run-time dependency scopes.

For more information see Maven Dependency Mechanism documentation.

Maven 2.2 Support

Thursday, August 27th, 2009

Next Maia EAP includes fully integrated Maven 2.2 support:

  • Parallel dependency resolution
  • Import dependency scope
  • And more.

Importing Flexmojos Projects to IntelliJ IDEA 8.1.3

Monday, August 17th, 2009

IntelliJ IDEA 8.1.3 includes initial support for importing Flex projects that are set up using Flexmojos Maven plugin.

To start the import we need to have a compilable Flexmojos project that generates Flex compiler configuration file during compilation. Let’s take a Flexmojos application sample from the book Maven: The Definitive Guide, chapter 17 Developing with Flexmojos,  section 17.3.2. Creating a Flex Application.

(more…)

New Maven Resource Compiler

Tuesday, March 17th, 2009

IntelliJ IDEA now uses a special compiler to process Maven resources as specified in the pom file, with includes/excludes and filters.

Resource folders are not set as Source Folders anymore because they do not fit in the IntelliJ IDEA model.

To use the new functionality please either manually reset all your resource folders in the Project Structure dialog or re-import the project from scratch. Although you may skip this step, the native IntelliJ IDEA compiler will interfere with the Maven Compiler and copy unnecessary files or rewrite already processed ones from these folders.