It seems to me that in a Maven dependency, scopeprovided/scope and
optionaltrue/optional have incredibly similar semantics (though
there is an implied difference in meaning to humans).
Is there actually any circumstances where one vs. the other produces
differing behaviour?
Max.
Yang Zhang wrote:
For some reason, Maven is pulling in classes from the jar of a
dependency and putting them into my target/test-classes/ directory,
causing mvn test to fail (since extra Test* classes from that package
are getting picked up). Why are these classes being copied? Thanks in
Sipungora wrote:
I need provided transitive scope. Scope provided isn't transitive. Is
there a solution for it?
Jaikiran wrote:
From what i understand of the table here
http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-transitive.html
transitive dependencies for a
dkowis wrote:
I've searched the mailing lists and they don't quite get far enough on this
subject for me.
I've got a project, incidentally it's the rxtx.org package, that uses the
rxtxSerial.dll. I then have another project that uses that project:
Project A
|
| - Project b
|
Martin Gainty wrote:
this is a good solution
Is there a way to uniquely identify the jar using conventional plugin label
attributes:
artifactId
groupId
version
(this way projects will be able to reference the installed plugin from
repository)
You'll be the one creating the jar, you get
Jordi Txor Casas Ríos wrote:
Dear community.
I have a project on Ubuntu that is compiled with maven 2 (version 2.0.8), it
compiles and builds perfectly, creating the correct jars.
The problem comes when I try to do the same in a chrooted environment, with
pbuilder. The maven instalation is
Michael Guyver wrote:
Hi there,
I'm experiencing some very very strange behaviour in my project. The
mvn compile goal is somehow generating/unpacking the following files
into my target/classes directory:
javax/servlet/ServletRequest.class
javax/servlet/RequestDispatcher.class
Lorenzo Bigagli wrote:
Dear all,
our policy requires different artifacts (jars, sources, javadocs, etc.)
to be deployed to possibly different repos.
I guess this is possible through deploy:deploy-file, but I would
actually like to encode such policy in profiles, so that everything is
more
Bernhard David wrote:
in maven 2.0.8 I can put the following in a pom to execute first
cargo:start then cargo:deploy in the pre-integration-test phase. In
2.0.9, maven executes deploy first, which breaks the build.
VUB Stefan Seidel wrote:
AFAIK, the execution of plugins in the same phase is
Sahoo wrote:
A/c to http://docs.codehaus.org/display/MAVEN/Versioning,
1.4.1-ea-SNAPSHOT results in a qualifier=ea-SNAPSHOT. Is this still
considered a SNAPSHOT? What I mean by that is, if a new binary is posted
in repository, will maven still download it just like it does for a
SNAPSHOT
Dan Fabulich wrote:
I'm on Windows XP. Using cygwin tar 1.18, I find that I can't untar
archiva; I get A lone zero block at 49260. I've filed it as MRM-671.
IIUC, A lone zero block is merely a warning, not an error.
Cause is PLXCOMP-38. (I'd comment in the issue, but JIRA is seems
Dennis Lundberg wrote:
There is a JIRA project for reporting repository errors:
http://jira.codehaus.org/browse/MEV
Wherein this is already reported:
http://jira.codehaus.org/browse/MEV-530
Any chance it could be fixed?
(And if someone's doing that one, maven-2.0.7.pom, MEV-536 too)
Wayne Fay wrote:
If you have a parent-child (multimodule) project set up, and insert
the module configuration in the parent pom, then inherited=true means
run this plugin with this config in all children modules.
Though AFAICS, inherited=true is the default value, so presumably anyone
writing
thebugslayer wrote:
Hi,
I understand this problem is more of Eclipse related, but it also
involves Maven setup, so I thought maybe one of users here would have
come across the same problem and give me some help.
I have a webapp project setup in Eclipse Europa with Tomcat6.0, and I
am using
Barrie Treloar wrote:
On 8/10/07, Max Bowsher [EMAIL PROTECTED] wrote:
Try configuration combine.children=append - not tested, but I think
that'll do what you want.
Is this an undocumented feature as it is not listed in the
http://maven.apache.org/ref/current/maven-model/maven.html
It's
Zarick Lau wrote:
Dear users and developers,
I have a module with this files
/src/main/resources/META-INF/persistence.xml
/src/main/resources/log4j.xml
In the pom, I have set indextrue/index for the maven-jar-plugin
After package as a jar, the log4j.xml is listed but
Barrie Treloar wrote:
With mvn 2.0.7 and maven-clean-plugin:2.1.1
In my parent plugin
build
pluginManagement
plugins
plugin
artifactIdmaven-clean-plugin/artifactId
inheritedtrue/inherited
configuration
filesets
nicolas de loof wrote:
Hello
Lot's of my old projects use maven1, and new one start with maven2.
To avoid downloading multiple copy of same jars, I'd like to share the local
repository between m1 and m2.
Is there any way to make maven2 use legacy repository layout ?
No.
I believe one of
Eric Redmond wrote:
testResources files get copied to the testOutputDirectory. Using surefire,
the testOutputDirecotry files should take precedence.
Actually, no. In Maven 2.0.7 and below, the main output directory takes
precedence. In Maven 2.0.8-SNAPSHOT, this has been fixed.
Compare the
Plotnicki, Grzegorz wrote:
Hi,
I'm curious if it would be possible/feasible/in-line with maven
philosophy to be able to specify in the parent/ tag ONLY
relativePath/ tag or at least, if the relativePath/ is present be
able to skip the version/ tag?
It would be impossible, because the
Harish Kachoria wrote:
I mean to say, If I wants to use maven then I have to use in this way, I have
to maintain version, but for my project maintaing of version is not a
problem. and Management won't like Idea to have directory for each module.
So if Maven is enough flexible then adoptation
javijava wrote:
Hi,
I visited the URLhttp://maven.apache.org/scm/plugins/add-mojo.html
but i don't have any example to see the rigth usage of scm
Someona can write a simple example to add files from maven to an
subversion repository??
mvn scm:add -Dincludes=foo.txt
However, I can't
John Casey wrote:
I'm spending a little time here and there to try to debug a few of the
bigger issues for 2.2-beta-2 right now, but it's kind of slow going. We're
probably going to have to do at least a -beta-3 before this is over, so we
can get -beta-2 out the door more quickly and get some
Moe, Vidar wrote:
Hi!
We would like to have the settings.xml file in a custom location to
easily being able to have it under source control. We can control the
placement of the settings.xml file by the
-Dorg.apache.maven.user-settings
but it is cumersome for developers to add this
Graham Leggett wrote:
We eventually opted to wrap the JNI DLLs / .so files inside a jar, and
publish the jar in the repository, including a classifier to show both the
platform (windows / linux / solaris) and architecture (x86, amd64, etc).
From that point on we only needed to worry about the
Adrian Herscu wrote:
Hi all,
In a multi-project P, child #1 (cP1) runs before child #2 (cP2).
In cP1 the build uses the maven-antrun-plugin:1.1 and in cP2 the build
uses maven-antrun-plugin:1.1-INTERNAL (which patches version of 1.1 in
order to use ant-1.7.0 instead of ant-1.6.5).
When
Grant Ingersoll wrote:
From what I can tell, it uses the Prompter interface from the Plexus
interactivity component, but how I would initialize it is beyond me.
I'm guessing it uses the IoC stuff, but I am not familiar w/ the setup
of all of that. Any pointers people have would be greatly
A. Kevin Baynes wrote:
I recently installed Maven 2.0.6 and downloaded the Apache FTP project.
After running 'mvn clean install' in the main directory I get this
strange error :
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Rule 0:
A lot of projects where I work use the following idiom:
* jar-plugin is configured with addClasspath=true
* assembly-plugin is used to collect together all the needed jars with
a dependencySet
* shell script then invokes java -jar on the main jar, to run the
program.
We're
Crossley, Jim wrote:
Hi all,
I'm currently digging the Maven release plugin, but I'd like to be able
to run it in batch mode, accepting the default values it suggests for
version, scm tag, etc.
Unfortunately, CVS doesn't seem to like dots '.' in a tag name. Is
there any mechanism I can
rking999 wrote:
Hi,
Why does the following command update all my POM files to the next reveision
and then commit them to SVN?
mvn release:prepare -Ddryrun=true -Dlive --batch-mode
I thought that the whole idea of a dry run was to test what the POM file
would look like if the release
Phill Moran wrote:
This could be a dumb questions but why does maven SCM default to checkout to
/target/checkout? I would expect it to go to a dir under src/java. It also
seems
that the SCM plug-in does not allow this to be overridden. I have tried
setting
sourceDirectory and the others to
hibernatedoclet tag, then you put your .xml file in the same directory
as the .java file it relates to.
--
Max Bowsher [EMAIL PROTECTED]
http://www.mxtelecom.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
-archiver (just
tweaked the dependency in the POM), and deploying both to our internal
repository.
--
Max Bowsher [EMAIL PROTECTED]
http://www.mxtelecom.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
I've created a new wiki page:
http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Jetty
and put the results of my own experiences there, as well as moving the
relevant content from [Archiva FAQ] to that page.
Max.
Beyer,Nathan wrote:
Given a set of versions for a JAR in a repo (1.0, 1.2, 2.0-alpha-1) and
a version range of [1, 2), should version 2.0-alpha-1 be picked? This
seems to be the state of affairs for Maven 2.0.4.
I can understand why the algorithm is picking this, since 2.0-alpha-1 is
franz see wrote:
Good day to you, Beyer,
Though I haven't experimented on it myself, you may want to play with the
classifier / tag of the dependency elment ( see [1] ).
They are easily confusable, but a classifiers and qualifiers have little
to do with each other.
Max.
Currently, the health report treats the condition of Artifact's
dependency does not exist in the repository as a failure.
For central, this condition is actually an important issue, but for any
institutional repository, it's entirely normal, since the institution's
artifacts are almost certain to
Does anyone have a working configuration of Archiva deployed on Jetty,
for which they'd be willing to share the Jetty config files?
(I'm referring to deployment on a standalone Jetty, here, rather than
testing via maven-jetty-plugin).
I've tried to get this working myself, but only succeeded by
)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at
org.jpox.AbstractPersistenceManagerFactory.lookupDataSource(AbstractPersistenceManagerFactory.java:171)
... 73 more
Max Bowsher a écrit :
Does anyone have a working configuration of Archiva deployed on Jetty
Emmanuel Venisse wrote:
with datasources, jdbc driver must be in jetty lib and not in WEB-INF/lib
Oh. Why does the derby jar get put into WEB-INF/lib, then?
Max.
Max Bowsher wrote:
I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'.
Archiva as expected allows me to create an admin user, but having logged
in with this admin user, it is as if the 'admin' user does not actually
have admin rights! I've seen this on two different computers
Joakim Erdfelt wrote:
One future feature for archiva is to manage the pom internal
repositories to point to itself.
In other words, if archiva is told to proxy central, and a pom gets
pulled down pointing to a new repository of say ...
repository
idsf.net/id
I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'.
Archiva as expected allows me to create an admin user, but having logged
in with this admin user, it is as if the 'admin' user does not actually
have admin rights! I've seen this on two different computers now - has
anyone else
Wendy Smoak wrote:
On 11/27/06, Max Bowsher [EMAIL PROTECTED] wrote:
I'm doing a clean 'mvn install cvs archiva-webapp mvn jetty:run'.
Archiva as expected allows me to create an admin user, but having logged
in with this admin user, it is as if the 'admin' user does not actually
have admin
Mark Donszelmann wrote:
Hi
updating the docs this week. Please mail me in a week if I have not put
them yet.
That's excellent news!
Thank you very much,
--
Max Bowsher [EMAIL PROTECTED]
http://www.mxtelecom.com
* sort of overview of its philosophy and feature set before I
attempt that.
Thanks,
--
Max Bowsher [EMAIL PROTECTED]
http://www.mxtelecom.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Karl Uppiano wrote:
WebLogic 9.2 does not like the manifest entries…
Extension-Name:
Specification-Vendor:
Implementation-Vendor:
Implementation-Title:
Implementation-Version:
…in the manifest unless I implement the WebLogic SSPI interfaces, which
is not on our schedule. I would
Markus KARG wrote:
I have added a dependency to FOP-0.20.5 (from the maven main repository)
to my project, using compile scope.
I can compile and package my jar.
But in the jar there is no Class-Path: fop-0.20.5.jar entry created by
mvn, so at runtime java -jar my.jar will fail since it
Nicolas De Loof wrote:
Hello,
I'd like to use the jibx plugin (jibx.sourceforge.net)
This maven2 plugin declares dependencies to jibx 1.0-RC1. I'd like to
override this to use jibx 1.1 on plugin execution.
I've added a dependencies element in my plugin configuration, to
override jibx-run
--
Max Bowsher [EMAIL PROTECTED]
http://www.mxtelecom.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jörg Schaible wrote:
Hi Max,
Max Bowsher wrote on Tuesday, September 05, 2006 10:38 AM:
Lakshman Srilakshmanan wrote:
Hi Max,
Page 58, in Better builds with Maven explains how to achieve this.
Essentially you have to do the following.
dependencies
dependency
: 2.2)
Must I make a custom version of the jar plugin too, to convince it to
use a custom maven-archiver?
Thanks in advance for any insight.
--
Max Bowsher [EMAIL PROTECTED]
http://www.mxtelecom.com
-
To unsubscribe, e-mail
Max Bowsher wrote:
Is it possible to use POM elements to configure the standard
maven-jar-plugin to use a custom version of maven-archiver?
I am attempting to use:
build
plugins
plugin
artifactIdmaven-jar-plugin/artifactId
dependencies
dependency
54 matches
Mail list logo