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...
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
-
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 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
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
, 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
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
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
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
?
-
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
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
-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
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
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
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
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:
) 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
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
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
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
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
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
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
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
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
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 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
]
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
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
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
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
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
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
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'
]
-
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
,
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
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
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
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
! :-)
//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
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 :
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
?
(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
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
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
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
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
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
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
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
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:
51 matches
Mail list logo