How should one handle 3rd party libraries in Maven2..

2008-04-07 Thread Arne Styve
Hi, A question I'm sure have been on the mailing-lists before (but I could not find it) regarding how to handle 3rd party JARs: I am using some 3rd party JARs which does not exsist in the global Maven2 repository ( http://repo1.maven.org/maven2/). I've found some references on the web to using

Re: What format is recommended for documentation when using mvn site ?

2008-02-22 Thread Arne Styve
Hi all, Thanks for the input. I've browsed the net, and checked the supplied links too, and I think my conclusion on this issue is that this is an area still not very well covered in Maven2. I think I'll have a look at the Doxia plugin, to try to keep as Maven2 standardized as possible for now. I

Re: What format is recommended for documentation when using mvn site ?

2008-02-19 Thread Arne Styve
Do you know anything about the LaTeX plugin that used to be supported in Maven1 ? LaTeX seams to be the favoured format for scientific documentation still, and it would be nice if this was supported By the way, what SW do you use to read these mailing lists ? Arne I've also seen

What format is recommended for documentation when using mvn site ?

2008-02-14 Thread Arne Styve
Hi, We have a large multimodule project using maven2, and Continuum. We've just started to look into the site-goal, and if I've understood correctly, it is possible to also create project documentation/system documentation that will be generated when running the site goal. According to the doc of

Re: What format is recommended for documentation when using mvn site ?

2008-02-14 Thread Arne Styve
Hi Remy, Thanks. I'll check it out. I've also seen mentioned that there is work going on to create PDF from apt and xdoc. I also saw that for maven1, the xdoc format was the recomended format to use for any user specific documentation. What is the status for xdoc and Maven2 ? Do you know ? Arne

Re: Where should I place UML-models in a Maven2 structure..

2007-12-03 Thread Arne Styve
without problems in 6.0. Milos Kleint On Nov 30, 2007 2:43 PM, Arne Styve [EMAIL PROTECTED] wrote: Hi, I want to use the UML-editor in Netbeans 6.0RC2 to model my application. I use the Mevenide-plugin, and have created my Java-project according to the Maven2 directory structure. My

Where should I place UML-models in a Maven2 structure..

2007-11-30 Thread Arne Styve
Hi, I want to use the UML-editor in Netbeans 6.0RC2 to model my application. I use the Mevenide-plugin, and have created my Java-project according to the Maven2 directory structure. My question is then, where should the UML-model files be placed in the Maven2 Structure ? Under src/main/uml for

RE: M2: how to create jni .jar .so file from same pom.xml

2007-10-04 Thread Arne Styve
Hi Joe, There is an alternative to the native-maven-plugin: http://java.freehep.org/freehep-nar-plugin/index.html I had a look at both a while ago, and concluded that the NAR-approach was a better way of doing it than the native-maven-plugin approach. Don't know if that is still valid though,

Can properties in settings.xml be used inside settings.xml ?

2007-10-01 Thread Arne Styve
Hi A quick semi-newbie question: If I define a property within settings.xml (the one found at maven_home/conf), can that property be used within the same setting.xml file ? Example: settings xmlns=http://m. profiles profile idtest/id !--

Parent POM and versions...

2007-09-13 Thread Arne Styve
Hi, I have a question related to the use of a company POM. In Better builds with Maven there is a description of how to set up a POM regime for a company, where we can have say 3 levels of POM's: one companywide POM, one department wide POM and one projectspecific POM. Lets call these with the

RE: Version Management

2007-08-16 Thread Arne Styve
Hi Hermant, No, Maven cannot be used as a Version management tool. Maven is a build tool, an advanced build tool. You can, however, interact with a version management tool (like Subversion) from within Maven, so that Maven performs checking in and checking out (commit and update) to and from

Anyone used the NAR plugin for native code ?

2007-06-13 Thread Arne Styve
Hi, I'm currently looking into the NAR plugin from the FreeHEP site (http://java.freehep.org/freehep-nar-plugin/), and have some questions regarding the use of this plugin. I'm building a JNI-library from a Java class, on a x86-Windows platform. Currently I have two issues: 1. When I use

How do I set up a project for my root POM ?

2007-06-11 Thread Arne Styve
Hi, We have setup our development system based on a companywide root POM which is stored in our company repository. When we first created this root POM, I created the POM and deployed it to the company repository from the commandline on the server hosting the company repository. HREowever, it

RE: How do I set up a project for my root POM ?

2007-06-11 Thread Arne Styve
Hi Kristian, -Original Message- From: Kristian Nordal [mailto:[EMAIL PROTECTED] Sent: 11. juni 2007 12:11 To: Maven Users List Subject: Re: How do I set up a project for my root POM ? Hi, On 6/11/07, Arne Styve [EMAIL PROTECTED] wrote: Hi, We have setup our development

SV: Maven, DLLs and repositories...how ?

2007-06-06 Thread Arne Styve
? Regards Arne On Tue, June 5, 2007 10:07 am, Arne Styve wrote: I have a question related to using DLLs with Maven. We colaborate with a company that develops parts of our system. They deliver their component as a set of DLLs. I've used JNI to create a Java

RE: SV: Maven, DLLs and repositories...how ?

2007-06-06 Thread Arne Styve
On Wed, June 6, 2007 8:50 am, Arne Styve wrote: Thanks for your input. I'll give this a try. However, how do you then use the JAR containing all the DLLs and .so's ? As far as I've understood, you cannot access a DLL that is inside a JAR, and hence you have to extract the DLLs

Maven, DLLs and repositories...how ?

2007-06-05 Thread Arne Styve
Hi, I have a question related to using DLLs with Maven. We colaborate with a company that develops parts of our system. They deliver their component as a set of DLLs. I've used JNI to create a Java interface to these DLL, so that I can use Java to develop the software that will use the DLLs.

SV: Problems finding custom archetype...

2007-05-15 Thread Arne Styve
finding custom archetype... On 5/14/07, Arne Styve [EMAIL PROTECTED] wrote: Hi Wendy, Her is the command and the resulting output. Would be greate if you are able to spot the error: ... [INFO] Failed to resolve artifact. GroupId: no.offsimcentre ArtifactId: osc-archetype-simple Version: 1.0

Problems finding custom archetype...

2007-05-14 Thread Arne Styve
Hi, I've tried to build my own archetype to use when new projects are to be created here at our company. I've followed the recepie at http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html, and my new archetype works fine when running it from the same machine as it was

SV: Problems finding custom archetype...

2007-05-14 Thread Arne Styve
Hi Wendy, I then deploy the artifact to our company repository (snapshot). When I now try to create a new project on a different PC, using the newly created archetype, Maven is not able to find the archetype. I have included the pluginRepositories-tag in my settings.xml file, and I am

SV: Problems finding custom archetype...

2007-05-14 Thread Arne Styve
Hi Wendy, Her is the command and the resulting output. Would be greate if you are able to spot the error: C:\tmpmvn archetype:create \ -DgroupId=no.offsimcentre \ -DartifactId=testing \ -DarchetypeGroupId=no.offsimcentre \ -DarchetypeArtifactId=osc-archetype-simple \

RE: Problems with maven-assembly-plugin from Netbeans 5.5...

2007-04-25 Thread Arne Styve
Hi Antonio I'm trying to use the maven-assembly-plugin from within Netbeans 5.5 (with Mavenide installed), but when executing the goal assembly:assembly, I get the following message when using the predefined descriptor jar-with-dependencies: Embedded error:

RE: Ant generated JAR file to be handeled with Maven...how?

2007-04-20 Thread Arne Styve
Hi Kevin -Original Message- From: Kevin Stembridge [mailto:[EMAIL PROTECTED] Sent: 20. april 2007 14:19 To: Maven Users List Subject: RE: Ant generated JAR file to be handeled with Maven...how? Hi Arne, I've never used it, but this plugin sounds like it might be what you

RE: Ant generated JAR file to be handeled with Maven...how?

2007-04-20 Thread Arne Styve
Hi I have a project based on an Ant build.xml file. I want to keep this build-file, and keep building the project it self using this build-file and Ant, but to wrap Maven2 around it. I've managed to call the ant-build file (build.xml) from my POM, and it works fine. However,

RE: Javadoc for dependent libraries in Netbeans...

2007-04-19 Thread Arne Styve
, otherwise the ant script didn't seem to be able to use the ant-defined properties (defined in the build.xml-file) Any ideas ? Regards Arne -Original Message- From: Arne Styve [mailto:[EMAIL PROTECTED] Sent: 18. april 2007 15:36 To: 'Maven Users List' Subject: RE: RE: Javadoc

RE: RE: Javadoc for dependent libraries in Netbeans...

2007-04-19 Thread Arne Styve
Hi I got the ant-script running from the POM now, partly. When I get to the javac-task in my build.xml ant file, I get the following error: [INFO]Error executing ant tasks Embedded error: The following error occurred while executing this line: [INFO]C:\Documents and

RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
to the API doc of the included JAR from within the editor. Am I wrong ? If not, how do I set up the repository (locally, and our company repo), and how do I write my POM to get this working ? Thanks! Arne Styve - To unsubscribe

RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
the pom, and not calling an ant file. Regards Arne -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: 18. april 2007 11:36 To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Javadoc for dependent libraries in Netbeans... On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote: Hi

RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Javadoc for dependent libraries in Netbeans... On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote: Hi Milos, Thanks for your answer. It did help some, but it would be nice if you could give me an example. Say I have a library called jamod.jar

RE: RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
Hi Thorsten, By the way, do you know how to call an ANT-file from the POM ? I have a project with a build.xml ant file that I would like to keep but want to call from a POM. I've searched the net, but found only hints about executing ant-statements from within the pom, and not calling

RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
Hi again, works for me in the Netbeans 6.0 M8 build and the respective mevenide 3.0.2 version (from the Netbeans Development Update Center). It's possible that the 2.3 version that works with 5.5 has a bug in there, that I fixed in the source code. Both the View Javadoc popup action

RE: Adding JARs and DLLs to a repository (RXTX)...

2007-04-16 Thread Arne Styve
/artifactItem /artifactItems /configuration /execution /executions /plugin Damien 2007/4/12, Arne Styve [EMAIL PROTECTED]: Hi, I'm relativly new to maven2, but have set up a company repository to store 3rd party JARs not found

Adding JARs and DLLs to a repository (RXTX)...

2007-04-12 Thread Arne Styve
Maven to fetch the DLLs in addition to the JAR file from the repository ? And finally, when deploying the final application, how do I get the DLLs to end up in the correct place ? (Is it possible to pack the DLLs into my JAR file ? Any input would be of great help! Thanks! Regards Arne Styve