I'm the process of setting up a new repository and I want to understand
whether I should use 2 repositories, release and snapshots or just one for
both. I know maven has the central repo and then one for snapshots, but is
this really required? Th following are questions I hope others can help
I saw a message from the list where someone on 12/06/2006 (IIRC) had the
same problem as below while building archiva. Can someone shed some light
on why maven is barfing? I do have the javax.activation:activation jar,
version 1.0.2, installed in the local repository.
[INFO] Building Archiva
Is there an api for turning a java.io.File, which represents the path of a
jar into the local repository, into a maven Artifact object? Or do I just
need to reverse the process used in the DefaultRepositoryLayout.pathOf()
method? I'm working on a plugin that will dynamically add dependencies to
I have a mojo that computes the jars needed for an osgi bunlde and I need to
add the list of jars to the project so that they will be available for the
compile phase. Is there a plugin doing this or some documentaion on pulling
this off? The jars can't be added to the pom because it is not
I also agree, m2 is orders better than m1 IMHO. I did start a new project
and was brave (i.e. stupid) enough to use the alpha releases on it. Now that
we are in the beta's I haven't had to use snapshot builds as the betas now
cover 95+% of what I need and the rest I can wait until the next beta.
Where can I find a good document or an example of how to use profiles to
control the plugins that are activated in a specific phase? I have the
following build element:
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
I had a the exact same problem however it went away when I updated to m2b2
and blew away my local repo allowing m2 to recreate it. Since then, it has
all work fine.
Wb
On 10/5/05, Allison, Bob [EMAIL PROTECTED] wrote:
I am trying to build my first plugin and having a problem.
I wrote a
Another thing to do especially since some devs keep steering people to
use commons-exec and then other devs say not to use it is to use the
command line execution functionality in plexus-utils.
1. Add the following dependency to your pom:
dependency
What the solution for dealing with supposedly duplicate files. We get
the following error
INFO - Caused by: org.apache.maven.reporting.MavenReportException:
Some files are duplicates in the site directory or in the
generated-site directory.
INFO - Review the following files for the Default
then that's great. I just want to know how to get the
streams together. Any other pointers/example that will help in this matter?
Wb
On 9/21/05, Trygve Laugstøl [EMAIL PROTECTED] wrote:
On Tue, 2005-09-20 at 22:20 -0500, Wendell Beckwith wrote:
I checked out the source for commons-exec
John is basically stating the very thing that I'm against in the statement
below. I have a 3rd party command line utility from
www.agitar.comhttp://www.agitar.com,
that basically does unit tests against our code. I want to write (and have
started writing) an M2 plugin to execute the java command
, Vincent Massol [EMAIL PROTECTED] wrote:
-Original Message-
From: Wendell Beckwith [mailto:[EMAIL PROTECTED]
Sent: mardi 20 septembre 2005 19:15
To: Maven Users List
Subject: Re: [m2] reasons for sticking with maven
John is basically stating the very thing that I'm against
:
|
|-Original Message-
|From: Wendell Beckwith [mailto:[EMAIL PROTECTED]
|Sent: mardi 20 septembre 2005 19:15
|To: Maven Users List
|Subject: Re: [m2] reasons for sticking with maven
|
|John is basically stating the very thing that I'm against in the
statement
|below. I have a 3rd party
I just re-read you email and I'm confused by your comment, please clarify if
possible. But isn't what I've been hopefully explaining is the creation of a
mojo that wraps a command line process. I have written the mojos (agitate
and dashboard) an users only need to reference the plugin in their
-java-plugin. You're after more of a main() support API than an
actual java-plugin, since you're writing the plugin yourself. Correct?
- -john
Wendell Beckwith wrote:
| I just re-read you email and I'm confused by your comment, please
clarify if
| possible. But isn't what I've been hopefully
(and plexus,
actually), then it'll be suitable.
- -john
Wendell Beckwith wrote:
| True, it is a java main() call because the use ZeroG's LaunchAnywhere.
| LaunchAnywhere creates a native executable that reads a config file that
| lists the classpath, args and the main class to execute. However
I checked out the source for commons-exec and built the
commons-exec-1.0-SNAPSHOT.jar. I added this jar as a dependency to my m2
plugin project and wrote a simple Foo app to verify that everything was
working. The app just writes the current time into a file and all is well
with this. What's
will be improved post-beta-1 now that we have promised not to change
anything :)
- Brett
On 9/18/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
I started the thread and still haven't figured out what is wrong. I
believe
there is a step missing from the tea leaves one has to read to get
I also have a need for a maven-java-plugin that can be used to execute a
java process that is not tied to a jar. So the capability to execute a jar
or simply a class on the classpath would benefit all.
Wb
On 9/19/05, Kristian Nordal [EMAIL PROTECTED] wrote:
On Sep 19, 2005, at 5:58 PM,
That's basically what I need also. I'm writing a plugin to execute a 3rd
party's java command line, so a simple maven-java-plugin would save a *A
LOT* of work. This would allow me to concentrate on handling/validation the
configuration and I then pass the command and classpath to the java
I started the thread and still haven't figured out what is wrong. I believe
there is a step missing from the tea leaves one has to read to get it to
work. It has been my hope that someone would solve it before I got back
around to trying to deal with it. It would be great if a dev wrote the
I want to try and use the antrun plugin and I have the followin build
element:
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
version1.0-alpha-1-SNAPSHOT/version
executions
execution
configuration
tasks
echo message=Hello Ant Run/
/tasks
maven-plugin is another.
On 9/12/05, Matthew Smalley [EMAIL PROTECTED] wrote:
What's the different possible values for packaging in the POM? I've seen
examples of jar, war, ear - any others?
-
To unsubscribe, e-mail:
I'm now trying to write a maven 2 plugin to execute a 2rd party's tools
command line class. The class is written is java. The tool also has an ant
task which just uses the Java task in ant to invoke the command line tool in
a forked jvm. Does m2 already provide such functionality and I just
://mojo.codehaus.com's
sanbox
yet, since i dont see a demand for it yet.
-D
On 9/7/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
I'm now trying to write a maven 2 plugin to execute a 2rd party's
tools
command line class. The class is written is java. The tool also has an
ant
task which just
, still in my local diskspace, which can
invoke any
native executable. I have not proposed to check it into
mojo.codehaus.comhttp://mojo.codehaus.com's
sanbox
yet, since i dont see a demand for it yet.
-D
On 9/7/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
I'm now trying
organization. Should not be diffrent
for m2.
-D
On 9/2/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
When using the site:site goal how do I configure the copyright message
that's added to all the pages (we're using APT)? This is important
since
management and legal get
file could not be
found remotely.
The code has been rewritten recently (it now doesn't use plugins.xml but
maven-metadata-*.xml). What SVN rev is your m2 build from?
- Brett
On 9/5/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
Also here is a copy of a run using the groupId and using
. Do you have a file called
com/intervoice/maven/plugins/plugins.xml in the local repository? What is
it's contents?
- Brett
On 9/4/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
Doh!
Anyway here is the settings.xml, which I have in my .m2 directory:
settings
pluginGroups
]
E:\dev\workspace\runtime
Wb
On 9/4/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
Yes, the com/intervoice/maven/plugins/plugins.xml has the following:
metadata
groupIdcom.intervoice.maven.plugins/groupId
plugins
plugin
prefixhello/prefix
artifactIdmaven
in settings.xml yet.. but if you really post you
settings.xml, it would help ;-)
-D
On 9/2/05, Wendell Beckwith [EMAIL PROTECTED] wrote:
I really hate to be dense, but I have created a settings.cml file with
the
following content and placed it in my .m2 directory, and the project
I really hate to be dense, but I have created a settings.cml file with the
following content and placed it in my .m2 directory, and the project itsself
to no avail. I simply can't execute my plugin by the prefix. I looked at
test it0031 and this provides no clues (for me at least) on how to
When using the site:site goal how do I configure the copyright message
that's added to all the pages (we're using APT)? This is important since
management and legal get the willies just using open source let alone having
that open source what is built as copyrighted by the Apache Software
Thanks to help from Brett and the ability to hit my head against the wall
without giving up, I now have my plugin at least installing and working.
However it only works when I execute it with the groupId:artifactId:goal
formula. How do I set the prefix for it? I noticed a plugin.xml in my
the command line then all is well. So
am I just missing something in m2 or is this a bug?
Wendell Beckwith
This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the person(s) to
whom it is addressed. Any use, copying
New Image
~~~
I'm using maven version 2.0-alpha-3 on windows XP with the jdk 1.5.0_03.
If you have a project that works that you can part twith then that would
be a big help, as I could verify if it works on my setup.
Wendell Beckwith
on the real plugin and I wanted to
be sure I had the development cycle down. So what's the magic word to
get this to work.
Wendell beckwith
This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the person(s) to
whom
Is it possible to compile jdk 1.5 code with maven2? I have added a
pom.xml and a project.properties file to my project and set
maven.compile.source=1.5 in the properties file, but I still get the
following error when compiling.
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.5/source
target1.5/target
/configuration
/plugin
/plugins
/build
Cheers
Hugo
Wendell Beckwith wrote:
Is it possible to compile jdk
39 matches
Mail list logo