[ImageJ-devel] ImageJ netbeans plugin development...

Johannes Schindelin Johannes.Schindelin at gmx.de
Fri Jan 4 11:12:32 CST 2013


Hi Chris,

On Fri, 4 Jan 2013, Chris wrote:

> > On Fri, 4 Jan 2013, Chris wrote:
> > 
> >>> On Thu, 3 Jan 2013, Chris wrote:
> >>> 
> >>>> I have an existing NetBeans project which I would like to change to a
> >>>> Maven project.  I must be missing something, but your webpage does a
> >>>> good job of explaining what a Maven project is, but not how to begin
> >>>> creating one.  I notice in NetBeans that your example project has the
> >>>> project name
> >>>> 
> >>>> plugins/Process_Pixels.jar
> >>>> 
> >>>> which of course is not a valid name for a NetBeans project, but the
> >>>> project icon includes a small "m" presumably for a Maven project.  So
> >>>> how do I begin to create such a project?  Thanks, and sorry for the
> >>>> complete ignorance.  
> >>> 
> >>> The easiest way to start a new Maven project is to copy and modify
> >>> minimal-ij1-project. The license encourages this explicitly.
> >> 
> >> OK.  I think I can figure most of that out, but how do I change the
> >> project name?  Your project name is 
> >> 
> >> plugins/Process_Pixels.jar
> >> 
> >> and I would like to name it something else, say, My_Project.  Shouldn't
> >> it be 
> >> 
> >> plugins/My_Project.jar
> >> 
> >> to match your configuration?  How do I do that?
> > 
> > You need to edit the pom.xml file directly. There you will find quite
> > intuitive tag names (if you ever have written HTML manually, it is even
> > more intuitive) and the verbatim string "plugins/Process_Pixels.jar". In
> > general, all the metadata about the project is stored in the pom.xml.
> 
> OK, great!  Thanks, that works!  :-)  I've done some HTML scripting and XML does seem more intuitive.  

Good luck!
Johannes



More information about the ImageJ-devel mailing list