Re: Company-wide settings

2010-10-04 Thread Nathan Sowatskey (nsowatsk)
In our project we have a project wide settings.xml in Subversion, and we ask all developers to put that into their ~/.m2 directory. Regards Nathan Nathan Sowatskey (nsowa...@cisco.com) - Technical Leader, ScanSafe - +34-638-083-675 On 4 Oct 2010, at 12:30, Anders Hammar and...@hammar.net

Re: TOC from .confluence files

2010-07-14 Thread nsowatsk
http://jira.codehaus.org/browse/DOXIA-398 (For some reason I am not receiving the Doxia list emails, but I can read the replies in the mail-archives). Regards Nathan -- Nathan Sowatskey (nsowa...@cisco.com) - Technical Leader, ScanSafe - +34-638-083-675 On 14 Jul 2010, at 09:30, nsowatsk

Maven site confluence and {toc}

2010-07-02 Thread nsowatsk
I am using the Confluence plugin for site pages with some success, but I can't get the {toc} to work in a .confluence file. I just get the literal {toc} rendered in the HTML. I am following the guidance here:

Re: Copy Dependencies into target/lib

2010-04-29 Thread nsowatsk
build plugins plugin artifactIdmaven-dependency-plugin/artifactId version2.1/version executions execution idxxx/id phaseprepare-package/phase goals goalcopy-dependencies/goal /goals configuration

Re: Copy Dependencies into target/lib

2010-04-29 Thread nsowatsk
really a luck ... for a test, I set the goal/goal value to asdf, but no error has been thrown, is it possible, that the dependency-plugin is never called??? nsowatsk wrote: build plugins plugin artifactIdmaven-dependency-plugin/artifactId version2.1/version

How can I create a dependency on my dar archive?

2009-10-29 Thread nsowatsk
Hi all Justin explained how to create a new packaging type: http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi ng-type-for-maven So I now have my .dar type. Cool :-) BUT, I also need to create a dependency to that type. As matters stand, it seems that a dependency must

Re: How can I create a dependency on my dar archive?

2009-10-29 Thread nsowatsk
Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Thu, Oct 29, 2009 at 2:09 PM, nsowatsk nsowa...@cisco.com wrote: Hi all Justin explained how to create a new packaging type: http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi

Creating a dar archive

2009-10-27 Thread nsowatsk
Hi all I would like to use Maven to create a new kind of archive. I want this new archive to be called a dar file. I want it to work the same in all other respects as jars/wars/ears, so it is really just the name that differs. As a first stab at this I have created a DARMojo that extends

Re: Creating a dar archive

2009-10-27 Thread nsowatsk
/1427722/how-do-i-create-a-new-packagi ng-type-for-maven Justin -Original Message- From: nsowatsk [mailto:nsowa...@cisco.com] Sent: Tuesday, October 27, 2009 8:53 AM To: Maven Users List Subject: Creating a dar archive Hi all I would like to use Maven to create a new kind

Re: Creating a dar archive

2009-10-27 Thread nsowatsk
:-) Thanks Nathan On 27/10/2009 17:01, Edelson, Justin justin.edel...@mtvstaff.com wrote: It looks like your DARMojo class isn't in this project or that it doesn't have the correct annotations. -Original Message- From: nsowatsk [mailto:nsowa...@cisco.com] Sent: Tuesday, October 27

Re: Creating a dar archive

2009-10-27 Thread nsowatsk
. Thanks Nathan On 27/10/2009 17:01, Edelson, Justin justin.edel...@mtvstaff.com wrote: It looks like your DARMojo class isn't in this project or that it doesn't have the correct annotations. -Original Message- From: nsowatsk [mailto:nsowa...@cisco.com] Sent: Tuesday, October 27

Re: Snippets in .properties files

2009-09-15 Thread nsowatsk
Hi Thanks for the note that it should work :-) No generated file means that there is no HTML generated from the APT file with the %{snippet ...} in it. Thanks Nathan On 15/09/2009 15:38, Lukas Theussl ltheu...@apache.org wrote: It works for me. What's your site-plugin/doxia version? What

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
We use APT as it is easy to use and has features like snippets that allow us to include code in the documents. Of course you can also use html in the resources directory also, so using APT doesn't mean that's all you get. APT also allows you to create .apt.vm files that can contain macros that

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
(plus the things you mention: snippets and .vm macros), but is also more complicated and, for some, harder to read. Cheers, -Lukas nsowatsk wrote: We use APT as it is easy to use and has features like snippets that allow us to include code in the documents. Of course you can also use

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
Hi The list of meta data that you give below is partly addressed in different sections of the pom. Once they are in the pom, they also get processed by the standard Maven report plugin and so appear in various web pages created by that plugin. Also, by using velocity (.apt.vm) you can include

Re: Site documentation format choosing

2009-07-29 Thread nsowatsk
: nsowatsk wrote: Hi APT does support style sheets for Maven sites. We have our own LF for our APT based sites. So how do you write that in apt: p style=color:red; font-size:8px;A small red paragraph/p p style=color:blue; font-size:20px;A large blue paragraph/p ? I have many

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
OK, stay tuned. Thanks Nathan On 23/06/2009 08:07, Lukas Theussl ltheu...@apache.org wrote: I would :) file a patch at http://jira.codehaus.org/browse/DOXIA Thanks! -Lukas nsowatsk wrote: Hi Barrie Thanks for this. That does work, but, as you say, it ends up in a box

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
Hi all I tried. The verbatim flag doesn't appear to make any difference at all, but it has at least given me something to think about. Many thanks Nathan On 23/06/2009 11:57, Lukas Theussl ltheu...@apache.org wrote: I don't think this will do what he wants either. It only means that

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
Yes, #include already exists as a Velocity macro, but I could never get that to work with APT files. This would be like that, but with snippet identifiers, so the word include would have the same semantics, which is good. Thanks Nathan On 23/06/2009 13:34, Barrie Treloar baerr...@gmail.com

Re: Snippets of APT files

2009-06-23 Thread nsowatsk
Not using Appfuse, not sure I see the connection. Regards Nathan On 23/06/2009 13:47, Martin Gainty mgai...@hotmail.com wrote: are you using Appfuse? http://static.appfuse.org/plugins/appfuse-maven-plugin/plugin-info.html if so which Appfuse goal are you executing? please display

Snippets of APT files

2009-06-22 Thread nsowatsk
Hi I'd like to be able to include a snippet of content from one APT file into another APT file, in a similar way to Java snippets. Ideas anyone? Thanks Nathan -- Nathan Sowatskey (nsowa...@cisco.com) - Technical Leader, NMTG XMP - +34-638-083-675

Re: Snippets of APT files

2009-06-22 Thread nsowatsk
, nsowatsk nsowa...@cisco.com wrote: Hi I'd like to be able to include a snippet of content from one APT file into another APT file, in a similar way to Java snippets. Ideas anyone? http://maven.apache.org/doxia/macros/index.html#Snippet_Macro Should be as simple as adding the snippet

Re: Just shoot me now and get it over with

2009-06-06 Thread Nathan Sowatskey (nsowatsk)
The m2eclipse plugin works well. But you need to configure it to use an external Maven install *not* the embedded one. Regards Nathan -- Nathan Sowatskey (nsowa...@cisco.com) - Technical Leader, NMTG, XMP Architecture - +34-638-083-675 -Original Message- From: Sebastian Hoß

RE: Just shoot me now and get it over with

2009-06-06 Thread Nathan Sowatskey (nsowatsk)
and not the embedded one? From: Nathan Sowatskey (nsowatsk) [nsowa...@cisco.com] Sent: Saturday, June 06, 2009 6:18 AM To: Maven Users List; Maven Users List Subject: Re: Just shoot me now and get it over with The m2eclipse plugin works well. But you need to configure

Problem with Tables, Doxia, APT Maven site and PDF/RTF generation

2009-06-04 Thread Nathan Sowatskey (nsowatsk)
Hi all I have a Maven site based on .apt files. I have also created a book descriptor for the same site. When I process the site, I get the error below. I have tried the latest Doxia 1.1.1-SNAPSHOT out of the svn repo today. I have also looked at the iText code. The latest is 2.1.5. Doxia

M2 EJB basics

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
Hi It may be that I too much of a newbie to Maven to be considering M2, but I am trying anyway :-) In the example below I have some EJB code that won't compile as it can't find the EJB jars. What I can't see is how to set the location of the EJB jars though. If this were Maven 1.x I would use

RE: M2 EJB basics

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
/artifactId version2.1/version /dependency And, in my repository I copy the jboss-j2ee.jar to j2ee-2.1.jar and create a pom, like this: G:\nm_poc\ejb\jarls D:\Documents and Settings\nsowatsk\.m2\repository\jboss\j2 ee\2.1 j2ee-2.1.jar j2ee-2.1.pom G:\nm_poc\ejb\jarmore D

RE: M2 EJB basics

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
would I make to my pom.xml for that? Regards Nathan -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 12:25 PM To: Maven Users List; [EMAIL PROTECTED] Cc: Nicolas Chalumeau Subject: Re: M2 EJB basics On 6/9/05, Nathan Sowatskey (nsowatsk) [EMAIL

[m2] FYI - CHECKSUM MISMATCH for maven-ejb-plugin-1.5/4/3/2.jar

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
{remoteRepositories: [[central] - http://repo1.maven.org/maven2]} Downloading: http://repo1.maven.org/maven2/maven/maven-ejb-plugin/1.5/maven-ejb- plugin-1.5.jar 9K downloaded Downloading: http://repo1.maven.org/maven2/maven/maven-ejb-plugin/1.5/maven-ejb- plugin-1.5.jar.md5 0K downloaded

[m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
Hi all Plodding progress. Now that I get the code compiled (see passim), I need to use xdoclet to generate my interfaces and deployment descriptors. A similar subject on the list referred to: http://maven.apache.org/maven2/plugins/maven-ejb-plugin/ejb-mojo.html But there seems to be a checksum

Maven 2.0 - compile - No sources to compile

2005-06-07 Thread Nathan Sowatskey \(nsowatsk\)
Hi I am trying out Maven 2.0 for the first time. At this stage it doesn't see any code to compile. This is the trace: G:\nm_poc\ejb\jarm2 -e compile + Error stacktraces are turned on. [INFO] inventory-service-pom: using locally installed snapshot [INFO]