Way to customize file names in archetypes?

2010-02-26 Thread Kent Närling
Is there any way to customize the names of the files generated by an archetype? eg I would like to generate a shell file that is installed by the project and naturally this shell file should be named according to one of the archetype properties...

Adding/updating archetype automatically to catalog?

2010-02-17 Thread Kent Närling
I wonder if there is any standard way of automatically updating the archetype catalog when deploying/releasing an archetype? We are using nexus and continuum, but first of all I see no archetype catalog at all on the nexus public repo? Do you have to create it manually? Is there any way of

Re: How to keep the original file name during installation/deployment?

2009-03-12 Thread Kent Närling
- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925 Mail: kent.narl

Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Kent Närling
Anyone give me a pointer regarding this? please? Is it a very stupid question... ? :-( -- Forwarded message -- From: Kent Närling kent.narl...@seamless.se Date: 2009/2/11 Subject: Snapshots repositories, how should they work? To: Maven Users List users@maven.apache.org

Re: Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Kent Närling
Haarlem www.iprofs.nl On Mon, Feb 16, 2009 at 5:44 PM, Kent Närling kent.narl...@seamless.se wrote: Anyone give me a pointer regarding this? please? Is it a very stupid question... ? :-( -- Forwarded message -- From: Kent Närling kent.narl...@seamless.se Date: 2009

Re: Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Kent Närling
, Feb 16, 2009 at 6:03 PM, Kent Närling kent.narl...@seamless.se wrote: I thought legacy layout was standard for snapshot repositories? Is it even possible to use non-legacy layout for snapshots? And it does try to use the correct path, it is just the timestamp/buildnumber that mismatch

Snapshots repositories, how should they work?

2009-02-11 Thread Kent Närling
This might be a newbie question, bit I have tried to find documentation explaining how snapshot repositories should work... can anyone give me a pointer? We have an internal repository (nexus) and a build server (continuum) which works fine with released artifacts etc However I cannot get

Adding pre-release steps...?

2009-01-26 Thread Kent Närling
Just asking to see if anyone wanted to do the same and hints about the best way of doing this: I would like to add some simple standard pre-validation steps before making a release of any project in the company. For instance checking that some standard files (release notes, etc) are present and

Re: Adding pre-release steps...?

2009-01-26 Thread Kent Närling
this with the default empty list (removing my called plugins)? //Kent 2009/1/26 Edelson, Justin justin.edel...@mtvstaff.com Write plugins to perform your validation and add them to the preparationGoals of the release plugin. Justin On Jan 26, 2009, at 7:12 AM, Kent Närling kent.narl...@seamless.se wrote

Re: Sharing (big) parts of source across projects

2009-01-26 Thread Kent Närling
? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925

Re: Getting log4j output from ANT tasks to maven output

2009-01-23 Thread Kent Närling
Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect

Re: How to import multi-module projects in Eclipse through mvn eclipse:eclipse

2009-01-23 Thread Kent Närling
-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925 Mail: kent.narl...@seamless.se www.seamless.se

Re: How can maven be used in a continuous integration situation?

2009-01-23 Thread Kent Närling
Euronext, Inc. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden

Out of memory using docbkx plugin?

2009-01-21 Thread Kent Närling
When I try to build some of our project using the docbkx docbook plugin, I get the following out of memory exception: INFO] Trace java.lang.OutOfMemoryError: Java heap space at org.apache.fop.image.ImageIOImage.loadBitmap(ImageIOImage.java:183) at

Re: Running selective reports causes site/index.html to dissapear?!?

2008-12-16 Thread Kent Närling
2008/12/16 Jörg Schaible joerg.schai...@gmx.de Hi Kent, Kent Närling wrote at Dienstag, 16. Dezember 2008 13:14: I am trying to customize the site generation and only want to generate selected reports... however when I do this as described in the examples: plugins plugin

Trying to deploy site...

2008-12-16 Thread Kent Närling
I am trying to deploy a project site, but it seems that the deployment possibilities are very limited? eg. I am trying this: distributionManagement site idproject-site/id urlscp://localhost/home/admin/test/url /site /distributionManagement But then I get: Embedded error:

Re: Trying to deploy site...

2008-12-16 Thread Kent Närling
) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Tue, Dec 16, 2008 at 10:05 AM, Kent Närling kent.narl...@seamless.se wrote: I am trying to deploy a project site

Running selective reports causes site/index.html to dissapear?!?

2008-12-16 Thread Kent Närling
I am trying to customize the site generation and only want to generate selected reports... however when I do this as described in the examples: plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId

Re: Not happy with maven

2008-11-23 Thread Kent Närling
MAVEN REPOSITORY AS ONLY SOURCE OF DEPENDENCIES I don't see the big issue here , as others have pointed out you can solve this with a system scope. On the other hand, setting up your own repository is actually very simple and gives a lot of advantages (like proper version tracking of the

Possible to resolve non-java dependencies using maven dependencies?

2008-11-13 Thread Kent Närling
Is it possible to resolve non-java dependencies using maven dependencies? For example, if one project has XSD:s that depends on XSD:s in other projects? I can obviously declare the dependent XSD as an artifact with a classifier and then depend on it so that part is pretty natural. However, how do

Fallback strategy for buildnumber plugin?

2008-10-30 Thread Kent Närling
Anyone knows if there is a way to configure a fallback strategy for the buildnumber plugin when a project is not yet in the SCM? The background is this: It makes sense to add a company wide buildnumber strategy to the company POM, ok? However if you create a new project you might want to be able

What is attached and not?

2008-10-28 Thread Kent Närling
I have tried to find out what qualifies a result as being attached and not, but cannot find the answer? More specifically, I am using the rpm-maven-plugin, but simply fail to get the resulting rpm to be considered attached and hence uploaded to the repository when I release the project... Is it

Anone using the rpm-maven-plugin successfully?

2008-10-28 Thread Kent Närling
Is anyone using the rpm-maven-plugin to generate practical rpm:s? My colleague is quite sceptical and prefers us to call a simple rpm-generation script from maven, should I try to concinve him not to? and why? ie. what advantages/disadvantages do we have from using a proper plugin instead of a

More sofisticated resource filtering? extracting substrings from properties etc?

2008-10-28 Thread Kent Närling
Is there anyway of doing string operations when using resource filtering? eg. something like ${project.version?substring(0,2)} or ${project.version?replace(-,.)} ? (freemarker style here) I ask since I want to generate an RPM spec file and then rpmbuild doesn't like dashes (-) in the version (eg

Re: What is the purpose of finalName? really?

2008-10-24 Thread Kent Närling
2008/10/24 Jörg Schaible [EMAIL PROTECTED] Hi Kent, Kent Närling wrote: What IS really the purpose of finalName? It is used to give the resulting artifact a different name locally in your target directory. only locally? a bit limited usefulness, but ok if that is the defined purpose

Re: What is the purpose of finalName? really?

2008-10-24 Thread Kent Närling
You may either use the local file directly for a hot deployment on your developer machine or you can use additional plugins to process the file further. To give Kent an example: Consider a pom for building a WAR. If you set finalNamemycontextpath/finalName and use e.g. the jetty

What is the purpose of finalName? really?

2008-10-23 Thread Kent Närling
What IS really the purpose of finalName? Apparently, the install plugin ignores the artifact name when deploying it to the repository anyway?? We would like to have a version-less filename on the artifact in the repository (the version is in the path anyway), is this possible? If not, what is

Re: What is the purpose of finalName? really?

2008-10-23 Thread Kent Närling
] For us we use it to ensure that the war file in target is always the same, so that other scripts we have can pick it up irrespective of the version. If you are pulling the file out of the repo, you can always specify the name to pull it out of the repo as 2008/10/23 Kent Närling [EMAIL

Re: What is the purpose of finalName? really?

2008-10-23 Thread Kent Närling
of these allow us to control the name. 2008/10/23 Kent Närling [EMAIL PROTECTED] Exactly what we wanted too! But when I do this, the filename in the repository gets the default name anyway!! When running it locally for instance, I get the following message: [INFO] Installing C:\Workspaces

Generating changelog since last release?

2008-10-02 Thread Kent Närling
Is there any simple way of generating a report of SCM changes since last release? The changelog only takes range, date or tag (which doesn't even work with svn) as types... I guess there is no way for maven guess what tag/date belongs to previous releases or even what the previous release number

Generating performance tests/reports?

2008-09-12 Thread Kent Närling
Does anyone have pointers to easily generate performance reports for the tests? with historical comparisons etc? ie. similar to how the eclipse project reports etc (example: http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/performance/performance.php ) Looking at the

Re: How to use ear plugin? Am I stupid??

2008-07-23 Thread Kent Närling
2008/7/23 Stefan Seidel [EMAIL PROTECTED]: Kent Närling wrote: I do understand the dependency and packaging concepts, but I failed to get it working by refering to another artifact even though i ran mvn install on the dependent artifact. (ok, it only installed it in my local repository

Re: How to use ear plugin? Am I stupid??

2008-07-22 Thread Kent Närling
one of [0], [1] or especially [2]. Stefan [0] http://maven.apache.org/guides/introduction/introduction-to-the-pom.html [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html [2] http://www.exist.com/download/BetterBuildsWithMaven.pdf Kent Närling wrote

How to use ear plugin? Am I stupid??

2008-07-21 Thread Kent Närling
Can anyone please enlighten me how to use the EAR plugin? The documentation is (as usual) a bit cryptic... In the documentation it almost seems like the EAR project packaging can contain sub-modules, but if I try to declare modules inside t I just get errors?!? (aggregator projects require 'pom'

Re: Access to e.g. jboss lib

2008-07-17 Thread Kent Närling
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925 Mail: [EMAIL PROTECTED

Re: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
, but it seems to ignore it then! (but not from within Eclipse) 2008/6/25 Kent Närling [EMAIL PROTECTED]: Hi, I still cannot get the assembly plugin to work properly in many situations. There are a lot of situations where a plugin/depenedency depends on something else where it works nicely

Re: Please help with assembly plugin dependency problems! :-(

2008-06-25 Thread Kent Närling
Thanks a lot, this fixed it! :-) 2008/6/25 De Smet Ringo [EMAIL PROTECTED]: Kent, -Original Message- From: Kent Närling Sent: woensdag 25 juni 2008 10:53 To: Maven Users List Subject: Re: Please help with assembly plugin dependency problems! :-( Update to this one

org.apache.xerces.jaxp.SAXParserFactoryImpl not found, anyone have an up-to-date view feedback on this?

2008-06-24 Thread Kent Närling
I get this error when I check out one of our projects into Eclipse (with the m2 plugin), anyone know why? This project also uses jaxb2-maven-plugin to compile XSD files and then put the generated files into target/generated-sources. I have searched the forums etc on this and there is a lot of

Problems creating assembly for project using org.codehaus.xfire modules...

2008-06-23 Thread Kent Närling
Hi, I am trying to build an assembly (with the assembly plugin) of a project using some xfire stuff, however the assembly fails with: Reason: Failed to create assembly: Error retrieving POM of module-dependency: org.codehaus.xfire:bcprov-jdk15:jar:133; Reason: POM

Re: How to make nexus work with thirdparty libraries??

2008-06-11 Thread Kent Närling
! :-) //Kent 2008/6/11 Ed Hillmann [EMAIL PROTECTED]: On Tue, Jun 10, 2008 at 3:58 PM, Kent Närling [EMAIL PROTECTED] wrote: I have read the FAQ on how to upload thirdparty jars to a repository, but cannot seem to get it working? I have tried to upload the jacorb jar to our own local

Good (documented) JAXB compiler plugin?

2008-06-11 Thread Kent Närling
Related to my previous problem with nexu, I have a problem getting the maven-jaxb-plugin (com.sun.tools.xjc.maven2), I beleive that it could be that nexus doesn't support proxy:ing repositories with legacy layout? (can anyone confirm this?) ie I get it working in my own environment by declaring :

Re: How to make nexus work with thirdparty libraries??

2008-06-11 Thread Kent Närling
be logical considering you specify -DrepositoryId etc) tried this too, doesn't work... //Kent 2008/6/11 Kent Närling [EMAIL PROTECTED]: Actually, I got it working if I manually added it to the dependencies... so this seems to be a bug in the M2 maven eclipse plugin, since I could not find

Re: How to make nexus work with thirdparty libraries??

2008-06-11 Thread Kent Närling
? (since a thirdparty hosted repository is already defined in the default nexus setup?) And by the way, why IS there a -DrepositoryId if that is part of the URL anyway? 2008/6/12 Ed Hillmann [EMAIL PROTECTED]: On Wed, Jun 11, 2008 at 4:59 PM, Kent Närling [EMAIL PROTECTED] wrote: Actually, I

How to make nexus work with thirdparty libraries??

2008-06-09 Thread Kent Närling
I have read the FAQ on how to upload thirdparty jars to a repository, but cannot seem to get it working? I have tried to upload the jacorb jar to our own local repository (nexus) with the command: mvn deploy:deploy-file -DgroupId=org.jacorb -DartifactId=jacorb -Dversion=2.3 -Dpackaging=jar

Creating integration tests for a complex project...

2008-06-06 Thread Kent Närling
I already wrote to ask about feedback how to organize a project (thanks for the responses so far), now another question: Let's assume we have a project like this: myproject - EAR-module1 EAR-module2 plugins plugin-module1 plugin-module2

Advice how to structure a project I want to move to maven...

2008-06-05 Thread Kent Närling
We have a project in SVN that is made of several projects, something like this: - core - core project - common - common libraries - pluginA - pluginB ... etc - doc - for documentation) - tools - some command line tools - dist - distribution project which packages all of the above projects

Re: Advice how to structure a project I want to move to maven...

2008-06-05 Thread Kent Närling
Sorry, didn't get what you mean by that? You mean dist should not be a project on its own, or? 2008/6/5 Mick Knutson [EMAIL PROTECTED]: dist should be src/assemble for assemblies. On Thu, Jun 5, 2008 at 2:41 PM, Kent Närling [EMAIL PROTECTED] wrote: We have a project in SVN that is made

Re: Advice how to structure a project I want to move to maven...

2008-06-05 Thread Kent Närling
5, 2008 at 3:01 PM, Kent Närling [EMAIL PROTECTED] wrote: Sorry, didn't get what you mean by that? You mean dist should not be a project on its own, or? 2008/6/5 Mick Knutson [EMAIL PROTECTED]: dist should be src/assemble for assemblies. On Thu, Jun 5, 2008 at 2:41 PM, Kent

Re: Advice how to structure a project I want to move to maven...

2008-06-05 Thread Kent Närling
might have multi-modules if you are creating j2ee apps. On Thu, Jun 5, 2008 at 3:22 PM, Kent Närling [EMAIL PROTECTED] wrote: 2008/6/6 Mick Knutson [EMAIL PROTECTED]: dist is usually going to be an assembly, and you add assembly descriptors into src/assemble/*.xml You do not store

Re: Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-30 Thread Kent Närling
Actually, the include the world problem was me having a bad dependency to some stufff... :-( Does the shade plugin bundle all classes unpacked inside the jar? That usually becomes a bit clumsy... //Kent 2008/5/30 [EMAIL PROTECTED] [EMAIL PROTECTED]: Kent Närling schrieb: Hi! I would

Creating a nice application package with execution bat+sh files... problem with maven-assembly-plugin?

2008-05-29 Thread Kent Närling
Hi! I would like to be able to build a self-sufficient application package from a project into a zip/tar, ie with all dependencies and a prepared scrip to execute it. I have so far tried two approches: A, Using maven-assembly-plugin and creating my own assembly file This has two problems: