That's nice to hear...
Ever since we started using beta-1, we kind'a missed the speed of
alpha-3. Now we can have peace of mind, that the next release will be
as fast as alpha-3.
:D
Brett Porter wrote:
This is only from the current dev version of Maven, and will probably
be turned off f
Brett Porter wrote:
> I tested this out and it works fine with the latest code from SVN.
> Maybe a bug in 2.0-alpha-3 - haven't tried to reproduce it there.
>
I just retested with the latest from SVN and you're right now it works,
so it must be a bug in alpha-3 which has been fixed recently - I tr
This is only from the current dev version of Maven, and will probably
be turned off for the next release until we get the metadata in the
repository sorted out.
Basically, it makes sure that we can still change released metadata
for POMs which we are not yet sure of the quality. You should not be
Using a version from svn.
Periodically during build I get these messages:
updating metadata due to status of 'deployed' or updating metadata due to
status of 'none', although depenancy jars come from Maven2 repository
Which become anoying after some time, as build time increases greatly.
Also,
Change to
axis
axis
1.2.1
On 8/24/05, Levitt, David, Bookspan <[EMAIL PROTECTED]> wrote:
>
> With the property commented out, it just complains:
>
> Attempting to download apache-axis-1.2.1.jar.
> WARNING: Failed to download apache-axis-1.2.1.jar.
>
> Maybe my dependency is incorrectly de
Thanks John,
I guess what would be most helpful would be a list of what properties
one can access. One can figure out types by trial-and-error -- the
compiler will let you know. But there is really no guessing the
property names. Although I gather that the Model (the hierarchy of XML
elements) is t
Plugins can be referenced for a project the same way other dependencies
are. If you want to specify the plugin version; site for example:
maven
maven-site-plugin
1.6.1
plugin
Of course you have to include the remote repository in your repository
list, where the plugin resides.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
If you're looking to retrieve only a particular dependency of a plugin
(the dependencies of the plugin project are what form the plugin's
classpath), then you might do well to use ${plugin.artifactMap}. This
Map instance is keyed by an artifac
Unfortunately Continuum does not yet support Maven 1 projects with
inheritence except to check out the root directory of the multiproject
- is that what you were trying that doesn't work?
- Brett
On 8/24/05, Kahn, Peter <[EMAIL PROTECTED]> wrote:
> I am trying to get a simple multiproject maven p
You can set an env property in the home directory of the user doing
it, or if all you need is the username and host name, you can use
${user.name} and invoke InetAddress to get the hostname. That would
mean putting that knowledge in the build script which might not be as
useful as just setting the
It's simply ease of use to be able to drop them into a container as
Craig suggests. Far more people would complain about a version in the
target directory and having to setup a context file :)
So are you saying it is un-maven-like to be user friendly? :)
Basically the rule is you can do whatever
On 8/23/05, Leck, William C (Bill) <[EMAIL PROTECTED]> wrote:
> bar.jar works for me on 1.0.
>
> Bill
>
> -Original Message-
> From: Alex Wood [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 3:47 PM
> To: Maven Users List
> Subject: Maven and Versionless Jar Files
>
> Hi,
>
>
Thanks Chris. I filed this yesterday as I was doing my investigation
so if you could attach it back to MNG-777 that'd be great.
Cheers,
Brett
On 8/24/05, Chris Berry <[EMAIL PROTECTED]> wrote:
> Actually, it does work when using . My mistake...
> I will add an optional parameter to AntRun that al
To get the artifacts that's relative only to your plugin, you can use
${plugin.artifacts}.
Its the same as ${project.artifacts} except the "project" object is your
plugin.
Chris Berry wrote:
Thanks much for your answer.
When a plugin is called, I'm confused as to what Classpath the plugin
Try updating m2 from SVN... its working on my side. :D
Ilyevsky, Leonid (Equity Trading) wrote:
To skip tests, Erick Dovale and Emmanuel Venisse suggested to do "m2
-Dmaven.test.skip=true install".
Does not work for me, still running the test.
I am using the latest alpha-3. What is the secret
What version of m2 are you using? For beta, is deprecated and
replaced it.
Erick Dovale wrote:
Hi there,
I just noticed that when adding reports to my pom.xml file my
validator does not recognize the reporting tag; it recognizes the
reports though but, when using the reports tag m2 spi
Thanks much for your answer.
When a plugin is called, I'm confused as to what Classpath the plugin
itself gets. I see the project gets what I would expect, the
from the POM -- at least that is what I see in
project.artifacts.
But the plugin doesn't seem to get it's ... When I print
System.getProp
On Aug 23, 2005, at 12:27 PM, Levitt, David, Bookspan wrote:
And the repository line in the project.properties file should specify
the repository?
maven.repo.remote=http://www.ibiblio.org,http://maven-
plugins.sf.net/mav
en,http://www.apache.org/dist/java-repository/
I have this, and maven 1
On Tue, Aug 23, 2005 at 05:52:59PM -0500, Chris Berry wrote:
> Greetings,
> I am trying to figure out how to pass on the Classpath to Ant. I know
> how to do this programmatically in Ant (e.g. project.setProperty) .
> What I am trying to work out is how pass on the Classpath from the
> *plugin*. By
Greetings,
I am trying to figure out how to pass on the Classpath to Ant. I know
how to do this programmatically in Ant (e.g. project.setProperty) .
What I am trying to work out is how pass on the Classpath from the
*plugin*. By trial and error, I see that ${project.artifacts} results
in a HashSet
bar.jar works for me on 1.0.
Bill
-Original Message-
From: Alex Wood [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 3:47 PM
To: Maven Users List
Subject: Maven and Versionless Jar Files
Hi,
I'm setting up Maven 1.1-beta-1 for a project I'm working on. I'm using
a couple of
You should rename them adding a version number to the jar file
-whaetever or -unknown or something like that.
On 8/23/05, Alex Wood <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm setting up Maven 1.1-beta-1 for a project I'm working on. I'm using
> a couple of jar files provided to me by a third-party
Hi,
I'm setting up Maven 1.1-beta-1 for a project I'm working on. I'm using
a couple of jar files provided to me by a third-party vendor. These jar
files don't have version numbers, so I'm not quite sure how to list them
as dependencies in project.xml. Right now I have for 'bar.jar'
I have integration tests that use DBUnit for testing our persistence
layer. If a developer runs the tests, I want it to execute against a
certain database (we'll call it "dev"). We also have a continuous
integration build server that we also want to run these tests, but
this time against a separate
I am trying to get a simple multiproject maven pom to build under
continuum and I'm have no luck. I either fail with the error below or
something about how extend cannot be used.
java.lang.NullPointerException: The scm url cannot be null.
at
org.apache.maven.scm.manager.DefaultScmManage
I don't know how to make that work for my issue:
in Jboss, I have a Jndi datasource of "java:jdbc/MyDS" and in WAS 5.1, I
have to use "jdbc/MyDS".
So I want to not have to modify source, just the build.properties when I
want to switch the target build.
Thank You
Mick Knutson
Sr. Java/J2EE Co
The easiest way is to rename project2's jar file to project2-1.0-SNAPSHOT.jar
and copy it to /.m2/repository/com.mydomain/project2/1.0-SNAPSHOT/
I'm not that familier with maven 2 myself, but i believe you also have to
change the scope to provided for both dependency entries (the project1 entry
Eric,
You need another project and move the common source of both project1
and project2 to this new common project. That will solve your cyclic
dependency
problem.
-D
On 8/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am very new to maven and have decided to start off with Maven 2.
I am very new to maven and have decided to start off with Maven 2.
I have two projects and both projects depend upon each other to compile...
Directory Structure
C:\tmp\project1
pom.xml
src\main\java\com... ClassA.java, ClassB.java
C:\tmp\project2
pom.xml
src\m
OK, I got uberjar to initially work, but I have an issue:
uberjar creates a target jar file empty. Meaning it does not use the
multiproject jars that I created.
How can I have uberjar include my ui.jar, common.jar, and dbservice.jar into
the App-uber.jar, then run a main class that is inside of
You can't invent groupId and artifactId, you have to get them from
where the jar is.
http://www.ibiblio.org/maven/axis/jars/axis-1.2.1.jar -> axis,axis
On 8/23/05, Levitt, David, Bookspan <[EMAIL PROTECTED]> wrote:
> With the property commented out, it just complains:
>
> Attempting to download a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
if not there, the source code for parsing the annotations is in
maven-plugin-tools/maven-plugin-tools-java, and the plugin.xml generator
is in maven-plugin-tools/maven-plugin-tools-api.
Let me know if you need more specifics.
- -john
dan tran wrote
With the property commented out, it just complains:
Attempting to download apache-axis-1.2.1.jar.
WARNING: Failed to download apache-axis-1.2.1.jar.
Maybe my dependency is incorrectly defined. I patterned it on the ones
that worked for log4j & jakarta-commons projects:
apache-axis
apache-ax
Are your proxy settings correct?
You can always copy the jar manually to your local repository. It won't solve
your problem, but its an option if you just want to get it working.
-Original Message-
From: Levitt, David, Bookspan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 2:
You have a problem somewhere. Remove the property and try until you
find where's the bug.
Probably you need http://maven-plugins.sourceforge.net/maven instead
On 8/23/05, Levitt, David, Bookspan <[EMAIL PROTECTED]> wrote:
> I'm still getting the 302 error - and Maven is attempting to download
> fr
I'm still getting the 302 error - and Maven is attempting to download
from
Attempting to download apache-axis-1.2.1.jar.
Error retrieving artifact from
[http://maven-plugins.sf.net/maven/apache-axis/jars/apache-axis-1.2.1.ja
r]: java.io.IOExc
eption: Unknown error downloading; status code was: 30
http://www.apache.org/dist/java-repository/ is synced to ibiblio, you
don't need to add it
The jar you're looking for is there
http://www.ibiblio.org/maven/axis/jars/axis-1.2.1.jar so you have a
problem in your build.
maven.repo.remote=http://www.ibiblio.org/maven,http://maven-plugins.sf.net/maven
http://maven.apache.org/maven2/developers/mojo-api-specification.html ?
;-)
-D
On 8/23/05, Chris Berry <[EMAIL PROTECTED]> wrote:
> Is there any documentation for the Javadoc annotations for m2
> Java-based Mojos?? In particular I am interested in @parameter (and
> it's follow on syntax like; "e
setting maven.test.failure.ignore to true *should* be the answer
On 8/23/05, Hogeweg, Erwin (GE Infrastructure) <[EMAIL PROTECTED]> wrote:
> All,
>
> I am still struggling with the issue below. Please let me know if anyone has
> an answer for me.
>
> Your help is highly appreciated.
>
> Thanks
And the repository line in the project.properties file should specify
the repository?
maven.repo.remote=http://www.ibiblio.org,http://maven-plugins.sf.net/mav
en,http://www.apache.org/dist/java-repository/
I have this, and maven 1.0.2 complains:
Attempting to download apache-axis-1.2.1.jar.
Erro
Is there any documentation for the Javadoc annotations for m2
Java-based Mojos?? In particular I am interested in @parameter (and
it's follow on syntax like; "expression=").
If not, could someone please point me at the appropriate source
project to read the code in... (unfortunately, there are so
All,
I am still struggling with the issue below. Please let me know if anyone has an
answer for me.
Your help is highly appreciated.
Thanks,
Erwin
>
> All,
>
> How do I prevent that a failing JCoverage JUnit test fails
> the multiproject:site goal? Obviously "fixing the test/code"
> is o
Actually, it does work when using . My mistake...
I will add an optional parameter to AntRun that allows one to set echo level.
I'll submit it back as a patch...
Thanks,
-- Chris
On 8/23/05, Chris Berry <[EMAIL PROTECTED]> wrote:
> Thanks Brett. That worked (after updating to the current HEAD fr
Apache projects should release their projects also in the apache maven
repository. You should ask them to upload the jars to
http://www.apache.org/dist/java-repository/.
In case there's some problem or they have any doubts the can contact
me (carlos at apache dot org).
Regards.
On 8/23/05, Levitt
I'm adapting an existing project to Maven [1.0.2 for now]
The build dependencies include several jakarta-commons and apache
projects [log4j, axis], as well as legacy/third party libraries [Dynamo
app server, sun jsse]
Maven was not able to download the recently released Apache Axis 1.2.1
librar
Thanks Brett. That worked (after updating to the current HEAD from SVN
nad building m2 from scratch). I now get the following::
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO] Executed tasks
Although note that I am NOT getting my Ant printed to System.out ???
Even if I try
To skip tests, Erick Dovale and Emmanuel Venisse suggested to do "m2
-Dmaven.test.skip=true install".
Does not work for me, still running the test.
I am using the latest alpha-3. What is the secret?
If you are not an intended recipient of th
From: "Allison, Bob" <[EMAIL PROTECTED]>
The way I get this to work is to set "maven.multiproject.site.goals" to
"multiproject:site" in the sandbox project and to "site" in the
mid-level projects (newproj, otherproj). Actually, I have a goal in the
sandbox project called "gendocs" which has "mu
Seems that the problem is in these lines
Can you debug it a bit more, using
${maven.checkstyle.suppressions.file}
to see the values of the properties and trying to change them and see
if it works? maybe that property shouldn't be set if the value of
maven.checkstyle.suppressions.file is nu
And you should consider using a PropertiesPlaceHolder to externalize those
setting in a properties file and not run a filter directly on an application
context. Your properties file can then be place in your resources folder and
copied to your classpath.
Cheers,
Thomas
On 8/23/05, Kenney West
On Tue, 23 Aug 2005, Mick Knutson wrote:
You're replacing the original source files, after they're copied to
the webapp dir, so this is not going to work.
You want to have a postGoal on war:war-resources, and use
${maven.war.webapp.dir} as a base dir (which is target//)
and replace the files ther
Thanks Kenney, it worked. However, setting MAVEN_OPTS should not be the
way to do it. It seems in Maven1 you could control this feature in
properties file.
Another question: can I put something in pom.xml to just skip the test?
-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROT
On 8/23/05, Craig S. Cottingham <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Aug 23, 2005, at 11:41, Jamie Bisotti wrote:
>
> > Thanks for your response. Sorry, I didn't ask my question clearly
> > enough. I understand what it is doing and that it is doing
On Tue, 23 Aug 2005, Ilyevsky, Leonid (Equity Trading) wrote:
You can't. Java is already running when it reads the pom, and tests
currently cannot be forked.
It's easiest to set the MAVEN_OPTS environment variable ( for instance
export MAVEN_OPTS="-Xmx1024m" ).
-- Kenney
> My test requires big
OK, I found a couple of things, but I need to do the following:
I have an xml configuration file from Spring, that I need to replace a token
in, depending upong the type of build i.e: "maven.target.build=jboss", or
"maven.target.build=was51"
I want to replace this token only when I add it to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Aug 23, 2005, at 11:41, Jamie Bisotti wrote:
Thanks for your response. Sorry, I didn't ask my question clearly
enough. I understand what it is doing and that it is doing things per
the documentation. I guess my real question is why does
'maven
My test requires big memory. When I build the project, the test fails
(actually it does not say why it failed - this is an error reporting
problem, but I just know that memory is the problem).
Where can I specify in pom.xml additional JVM options ?
--
On 8/23/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote:
> On 8/19/05, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-SNAPSHOT.jar
> > and
> > http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-20050809.18
On 8/23/05, dan tran <[EMAIL PROTECTED]> wrote:
> Jamie,
>
> according maven-war-plugin doco,
>
> maven.war.final.name is default to ${pom.artifactId}.war
>
> that is why maven war:war would produce, however when install
> on repos, it must comform to maven filename convention.
>
> Overide mave
I am trying to use the ant replace task function in my Maven build and want
to see if anyone can help me with an example.
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
--
Jamie,
according maven-war-plugin doco,
maven.war.final.name is default to ${pom.artifactId}.war
that is why maven war:war would produce, however when install
on repos, it must comform to maven filename convention.
Overide maven.war.final.name if you like
-D
On 8/23/05, Jamie Bisotti <[EMAIL
When I run 'maven war' on my project, blah, I get target/blah.war.
However, when I run 'maven war:install', I get blah-1.0.war in my
local repository. Is this difference intentional, or is it a bug?
--
Jamie Bisotti
-
To unsubs
if you are using maven-scm-plugin, then scm:status can tell you if any
file have been changed base on some criteria, other wise you can take
a look the actual implementation
http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers
look for change-log command or status command
-D
O
Hi,
Does anybody have ideas how to check that code was changed? Originally I
neet to skip build when nothing has changed in SCM?
P.S. My SCM is subversion...
Thanks,
Vov
_
Express yourself instantly with MSN Messenger! Download
I thinhk we should bounce this off the maven developer list first, but
I'm thinking it is reasonable.
- Brett
On 8/23/05, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
> If I'm not the only one who thinks that filters directly defined at the
> resources is a good idea, I could try to develop a patc
what do the modules do? A packging of POM is appropriate for pom-only
(usually a parent element).
- Brett
On 8/16/05, Rizwan Merchant <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have a project with a number of sub-modules. I need to specify in some of
> the sub-modules that those modules should not b
I tested this out and it works fine with the latest code from SVN.
Maybe a bug in 2.0-alpha-3 - haven't tried to reproduce it there.
- Brett
On 8/22/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> Ok, that's something I can test out tomorrow.
>
> I'm not sure you need to create a subdirectory for
You can look at plexus-compiler-javac [1], or even use that itself,
like the compiler mojo does [2].
- Brett
[1] http://tinyurl.com/aj4ub
[2] http://tinyurl.com/c6v7z
On 8/22/05, Scokart Gilles <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I have a project generates code. In my tests, I want to veri
On 8/19/05, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-SNAPSHOT.jar
> and
> http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-20050809.182002.jar
>
> both have beta5
>
> On 8/19/05, Jamie Bisotti
Hi there,
I just noticed that when adding reports to my pom.xml file my validator
does not recognize the reporting tag; it recognizes the reports though
but, when using the reports tag m2 spits out a message saying that it is
deprecated and suggest to use reporting.
Is this a known bug?? I sear
I believe that the plugin requires the 2.0 beta-1 release of Maven and
will be released alongside it.
Cheers,
Brett
On 8/23/05, Chris Berry <[EMAIL PROTECTED]> wrote:
> Greetings,
> I am trying to get the m2 maven-antrun-plugin to run. I have gotten
> pretty far but now I'm stumped.
>
> First I
Check the MD5 sum?
Martijn
Hugues Pisapia wrote:
Hi there,
Is there a way we can be sure that jar files are not tampered while
transiting from remote repositories to the local repository?
My guess would be to use https, but the repository would have to
support this.
- Hugues
--
> -Original Message-
> From: Thomas Van de Velde [mailto:[EMAIL PROTECTED]
> Sent: mardi 23 août 2005 00:46
> To: Maven Users List
> Subject: Re: How to access default value of property of another plugin
>
> Martin,
>
> This has been documented here:
> http://maven.apache.org/tags.html#
Hi there,
Is there a way we can be sure that jar files are not tampered while
transiting from remote repositories to the local repository?
My guess would be to use https, but the repository would have to
support this.
- Hugues
---
Hello,
I'm new to Maven (cur. using 1.0.2 with MevenIDE and Eclipse). I want
to use Maven to automatically generate Hibernate Data Classes from an
DB.
I understood that middlegen does the job and that there is a plugin for Maven.
But when I download from ibiblio , I just get a 2k file consisting
On 23.08.2005, at 07:53, Carsten Ziegeler wrote:
If I'm not the only one who thinks that filters directly defined at
the
resources is a good idea, I could try to develop a patch. Interested?
+1
Cheers,
-Ralph.
Carsten
Carsten Ziegeler wrote:
Hi Brett,
Brett Porter wrote:
There was so
Arnaud HERITIER schrieb am 23.08.2005 00:52:
Maven:pluginVar is deprecated.
You must use maven:get
http://maven.apache.org/tags.html#maven:get
Thank you very much! That's exactly what I looked for.
Regards
Martin
-
To un
Hi Mick,
Mick Knutson wrote on Monday, August 22, 2005 7:03 PM:
> I have many items I want to combine for a swing application using
> maven. I am just wondering what the best approach is to packaging the
> many libs I will be using.
Have a look at the plugins uberjar or javaapp.
- Jörg
---
78 matches
Mail list logo