Hi,
I have read the Guide to creating archetypes but I am not sure about a
few things:
I assume that we create the archetype as a maven-plugin. Then it needs a
pom.
Do I include the archetype ... /archetype in the archetype plugin's
pom.xml?
Do I also need to define
Hi,
is it possible to instruct a custom archetype to create an empty folder?
I tried with
sources
sourcesrc/main/java//source
/sources //raises an error
and
sources
sourceDirsrc/main/java//sourceDir
/sources //didn't work
I was not able to find an example in the maven archetype plugins.
, please correct it.
Cheers
-Alexander
.apt file is below
--
Guide to Creating Archetypes
--
Jason van Zyl, Alexander Hars
--
26 October 2005
--
Guide to Creating Archetypes
Creating an archetype is a pretty straight forward process. An
archetype
Hi,
I need to obtain the individual .jar files from the dependency list and
place each of them into a folder target/lib (for further processing).
Combining all of the dependencies in one .zip or .jar file does not help.
Can I do this with the assembly plugin, e.g. through some special
The assembly mechanism has a small problem: It can not be used to just
copy plain files plus dependencies into some target directory structure
(without compressing/zipping/packing or changing the copied files in any
way).
In my case, I need this because I am using an unsupported packaging
Hi,
The assembly:directory goal can be used to simply copy files and
dependencies into some target directory without packing into a jar or zip.
This is useful when we have custom plugins that need to do some special
processing on certain files/directories.
However, in the current version of
custom plugins. Lots of examples on how to copy files
in the other plugins.
-- Kenney
On Sun, 6 Nov 2005, Alexander Hars wrote:
Hi,
The assembly:directory goal can be used to simply copy files and
dependencies into some target directory without packing into a jar or zip.
This is useful when we have
Hi,
Two weeks ago I wrote a significantly expanded Guide to Creating
Archetypes. It was immediately posted to CVS, but it is still not
available on the website.
Is there some reason why the Maven2 site is not updated regularly (last
update was 10/21). Shouldn't it be very easy using Maven2?
Hi,
Are there any special requirements for the description tag of the pom?
I have tried using a description consisting of several lines but this
leads to a conflict with the jar plugin: When trying to launch the jar
(i.e. on windows by double-clicking), java reports a corrupt jar file
Hi,
Thanks for releasing the latest version of the Maven2 website (version
dated: November 8).
Unfortunately, for some reason, after less than 12 hours of being up,
the Maven2 web site has now reverted to the old October 21 version again.
Is that intentional?
- Alexander
are again not available on the site.
- Alexander
Rik Bosman wrote:
Alexander;
The URL maven.apache.org/maven2 http://maven.apache.org/maven2 is dated
oct 21st.
The URL maven.apache.org http://maven.apache.org is dated nov. 9th.
Hope this helps.
2005/11/9, Alexander Hars [EMAIL PROTECTED
Thanks, I now found out that for a good time I have been looking at an
invalid website, because I had bookmarked
http://maven.apache/org/maven2/ two weeks ago (Two weeks ago, that site
was the official maven2 site).
Unfortunately, there is no way to realize this mistake for anyone who
to the wiki
page from the original documentation. I am sure that we could greatly
expand the Maven-related knowledge
this way.
I certainly would be willing to work on the necessary changes to get
this rolling if you think this is a good idea.
- Alexander Hars
Hi,
Is it possible to reference project properties in an .apt file?
It tried something like ${project.version} but the site plugin did not
pick it up.
Is there any other way?
Thanks
- Alexander
-
To unsubscribe, e-mail:
message is below).
Has anyone been successful at using the site plugin with a different
template?
Thanks
- Alexander Hars
...
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [site:site]
[INFO] Generate Continuous Integration report.
[ERROR
Jason,
Thank you for setting up the mavenusers space on confluence. While this
solution is certainly better for integrating the documentation with
Maven, it has the disadvantage that it significantly raises the bar for
anyone who wants to contribute.
For example, unregistered users can't
Hi,
I am trying to use the site plugin with several languages.
Unfortunately, the site plugin copies all its css files and image
resources into each locale. This is inefficient, furthermore I run into
a problem when I use my own css files or image resources to override the
default maven
Hi,
I am getting a strange error when I try to create the simple Maven
Hello Plugin example. When compiling it, I get the message: Cannot
read file: GreetingMojo.java (Detailed error message is below).
I don't get any error when I just change the packaging from
maven-plugin to jar.
Any
Dennis,
Thanks for your quick response. I found the problem:
The error occurs when the paths contains unusual characters. In my case:
it was quite a long path that was c:\.\vc#\..\temp\...
It is the '#' character that throws qdox of.
-Alexander
Dennis Lundberg wrote:
This works fine
Hi,
If you are successful at doing that, could you post your solution?
Thanks,
Alexander
Sebastien Pennec wrote:
ok, I'll try that.
Thanks!
Edwin Punzalan a écrit :
filtering is the same as processing variables into their values.
What I'd do is create a folder where the unfiltered xdocs
Hi,
I am trying to specify multiple source locations for the compiler-plugin
(goal: test-compile). How do I accomplish that?
I have tried to set the compileSourceRoots in the configuration of the
compiler plugin:
configuration
Hi,
Is anybody using Maven2 for a PHP project? Are there any best practices
to start out with (e.g. directory layout etc.)?
I would like to use Maven for a new PHP project but all I found so far
was a Php Plugin for Maven1.
Thanks,
Alexander
Hi,
When I use the javadoc plugin, the package description that is contained
in package-info.java does not show up on the generated javadoc.
Am I doing something wrong?
I thought that maybe a doclet from an older JDK is being used, and
tried to set the doclet explicitly:
plugin
In my opinion, Maven2 is great and has clear immediate benefits - even
if it can not do everything that may be needed for everyone.
However, there are many small problems. I have found that whatever I
start in Maven that is not 100% standard, I run into problems that cost
me hours. Basic
24 matches
Mail list logo