Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Maven User
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<h3>Context</h3> <p>Developers may want to write Maven plugins in various languages (C#, Ruby, etc) and have those plugins executed within their native runtime environments. There is no standard way of getting Maven specific information such as the pom, base directory path or local repository path into these non-Java plugins.</p> <h3>Solution</h3> <p>NMaven provides .NET support by reading the attributes (annotations) within the C# class file and creating a Java binding class with matching annotations and fields. Maven then injects the appropriate values into the Mojo written in Java. The NMaven framework knows how to call the .NET plugin as an external process. This involves saving the pom.xml file, creating another file containing the custom field information and finally telling the .NET process the location of the pom.xml and field info file. </p> <p>I don't think the Java binding class is an ideal solution. I would like to see 1) a specification defining the messages interaction and format that handles passing of Maven field information to external processes and 2) a general framework implementing this spec from the Maven (Java) side.</p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced