Hi Dawn,
I did find that page, and the repository element in it, but I can´t
figure out how to set a password for it. It only says how to use
passwords for servers, but that´s not what I need right now.
Philippe
On Sun, 2007-01-21 at 19:26 -0800, dawn.angelito wrote:
Hi! You may refer to:
Hi,
My local projects(installing it only to my local repository) has to be
built on a user-dependent way where-in the user specifies the version
for the dependencies he is interested in, in his settings.xml file. And
when I install my local project into my local maven repository, I want
the pom
2007/1/19, Mick Knutson [EMAIL PROTECTED]:
I am still using XDoclet 1 and want to create an entry for
hibernate-properties-ProviderHistory.xml but am not sure where to put that
file to get picked up during a merge...
Can anyone please help ?
What is hibernate-properties-ProviderHistory.xml
I have a plugin I wish to define at a parent pom so that all child
projects can share the configuration.
At the parent level it is loaded as
plugin
groupId..
artifactIdsample-plugin/artifactId
..
configuration
namevalue/name
/configuration
/plugin
so that the child projects can invoke
Hi Maven users,
I want to write a plugin but I don't know if I got the correct approach.
Maybe someone can help me to do this correctly.
I've got a network drive where all local builds are stored.
It consists of multiple build maps. The names of the maps are generated
with the build
On Friday, January 19, 2007 16:16, fy wrote:
Hi fy,
If you noticed, it downloaded the pom, which is a different file from a jar.
If you want it to be downloaded from your repository, you have to install the
pom file as well.
- Henry
- Downloading:
Hi All!
Once again I encountered an error when trying to start Archiva. This time, it
builds perfectly (with -U option to be up-to-date), but does not start with
mvn jetty:run, because there is a verify error in class
org.codehaus.plexus.xwork.ConfigurationPhase. There, a final method is
Hi all,
I have a project with several sub-projects.
When I execute mvn clean package, the clean and the package phases of the
base-project are executed first and then the clean and package phases of the
sub-projects.
Is there a way to define tasks or plugins in the base-project, which can be
Having performed many releases with Maven recently I have found my
current procedure to be increasingly inefficient. I come here seeking
either improvements or pointers to plugins to assist me.
Here is what I have currently:
A number of web apps that each depend on the SAME service artifact,
Alex Schwartz wrote:
My first attempts to configure wagon-scm were not successful.
[...]
-- Alex
--
View this message in context:
http://www.nabble.com/-m2--subversion-repository-upload-using-webdav-tf3039813s177.html#a8487111
Sent from the Maven - Users mailing list archive at
Hi,
Yes it works, Thank you for your response.
Elid.
On Tuesday 16 January 2007 17:04, Attila Mezei-Horvati wrote:
Eli,
you need to specify them as extra arguments. Like
this:
mvn release:prepare -Darguments=-P myProfiles
mvn release:perform -Darguments=-P myProfiles
You need to
Alex Schwartz wrote:
I assume I did not configured it correctly, or there is a bug in
wagon-scm.
-- Alex
I located a bug in wagon-scm and tried to patch it. I am going to post this
topic to the maven-wagon list.
-- Alex
--
View this message in context:
Good day, Martin M.
If you use an aggregating goal and call it last it your mvn command, that
will run after all modules have been processed.
Also, if you want, you can delcare another module and declare the build that
you want to do in there. And to make sure that it is executed at the very
Good day to you, Niels,
Care to share the buid logs of your console so that we can have a look at
it? :-)
Thanks
Franz
Niels Gylling wrote:
I have a plugin I wish to define at a parent pom so that all child
projects can share the configuration.
At the parent level it is loaded as
Good day to you, Dirk,
IMO, create two issues: one in archiva and another in plexus. Then just link
the archiva issues to the plexus issue.
Just my 2 cents worth,
Franz
Dirk Jablonski wrote:
Hi All!
Once again I encountered an error when trying to start Archiva. This time,
it builds
Hi,
this directory structure:
main project (pom)
module jar
module webapp
The webapp module has a dependency to the jar module.
If i change the classes in the jar module i have to go into the jar
module (mvn install) then i have to go into the webapp module and call
mvn package or so -
I'm experiencing a java.lang.OutOfMemoryError during my build ,when it get
to generating a checkstyle report as shown below:
[INFO] Working directory:
/app/maven/MAVEN-WORK/continuum/working-directory/86/eportal-webservices/src
[INFO] Generate Developer Activity report.
[INFO] Using existing
Hi Everyone,
I have the following project structure.
Project
|_ reuseable-1 jar
|_ reusable-2 jar
|_ subproject pom
How do configure this in continuum so that they test, compile and
install all the sub module and sub project. Each of the sub
wagon-scm works also fine with cvs btw.. Using it in my custom version of
continuum. It is working
great for us.
Mvgr,
Martin
Carlos Sanchez wrote:
i have used wagon-scm (only implemented with subversion) although I'd
say is alpha/beta quality, never tried wagon-webdav for svn
On 1/19/07,
Don't worry - I fixed it already ;)
On 22 Jan 2007, at 10:05, Dirk Jablonski wrote:
Hi All!
Once again I encountered an error when trying to start Archiva.
This time, it builds perfectly (with -U option to be up-to-date),
but does not start with mvn jetty:run, because there is a verify
Using it in my custom version of continuum, what have you customized in
your custom version. If you don't mind sharing!
Pratik
-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]
Sent: Monday, January 22, 2007 8:09 AM
To: Maven Users List
Subject: Re: [m2] subversion
You could define a build number in your profile and write a script which
increments that build number. Then, you could reference that build
number as a property in your pom.xml, for your versions.
This message (including any attachments) contains confidential information
intended for a
A couple of things :
- Authentication is left to another system (our portal)
- Implemented group security (so a member of group x only see projects that
belong to x), This is
also dynamically mapped to our portal
- We use cvs, so adding projects to continuum is kind of a PITA (we don't have
a
I've faced the same problem.
It seems to be a bug in the checkstyle plugin.
I've noticed it happens only if there are too many checkstyle errors.
My suggestion is to decrease this number to about 1 (hopefully most of them
are tab related).
It should work. Do not ask me why :-)
Dário
yes , you could read this issue : http://jira.codehaus.org/browse/MSITE-189
to coordinate the efforts of several users to write a Dashboard Plugin for
Maven 2
and i have release a snapshot version of my dashboard plugin :
http://mojo.codehaus.org/dashboard-maven-plugin/
a newer version will be
you could read this issue : http://jira.codehaus.org/browse/MSITE-189
which coordinate the efforts of several users to write a Dashboard Plugin
for Maven 2
and i have release a snapshot version of my dashboard plugin :
http://mojo.codehaus.org/dashboard-maven-plugin/
a newer version will be
Hi,
I'm http://www.nabble.com/file/5835/TraceLogEar.txt TraceLogEar.txt
http://www.nabble.com/file/5836/pom.xml pom.xml
I working on a project, having ejb, web and java project. I want to package
then as a ear but i'm facing the given in the TraceLogEar.txt file. Also i
get the same error
Hello gyus,
this time a very simple question: Is there a way to execute a plugin only
for the submodules you have and not for the present pom.xml. For instance: I
have a parent pom.xml which has several modules. Each of the modules makes
an assembly so I place the common code:
build
Hi Andrew!
Don't worry - I fixed it already ;)
That's great, but I already opened the issues in JIRA (for both projects)
*sigh*. Many thanks for fixing my problem this soon!
Regards,
Dirk
--
Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen:
It isn't possible.
The only thing you can do is build toplevel - Maven will skip certain
steps (like compile) if your projects haven't changed.
Tom
On 1/22/07, Sebastian Breit [EMAIL PROTECTED] wrote:
Hi,
this directory structure:
main project (pom)
module jar
module webapp
The webapp
I just notice you are using ${project.version}. This particular var is your
current pom's version.
which may explain why it no longer work after install. Try a different
variable name.
-D
On 1/22/07, Balasubramanian, Ravi Shankar [EMAIL PROTECTED] wrote:
Hi,
My local projects(installing it
I believe u can specify those params in ur settings.xml and have the pom
pick it up..
On 1/22/07, Balasubramanian, Ravi Shankar [EMAIL PROTECTED] wrote:
Hi,
I just want to be running mvn install and the pom that gets installed
for my project should have the property names replaced with their
Hi, i hav a question...
I Hav a lot of repository entry in my settings.xml, why maven use just a few
of repositories?
And what is the difference between repository in settings.xml and repository
in pom.xml? Maven will search first in repositories declared on pom?
--
Paulo Cesar Silva Reis
I want to install a custom plugin manually using the following:
mvn install:install-file -Dfile=custom-plugin-1.0-SNAPSHOT.jar
-DgroupId=com.foo.mojo -DartifactId=custom-maven-plugin
-Dpackaging=maven-plugin -Dversion=1.0-SNAPSHOT
The jar file is installed in the local repository but not the
If I put in the url for the repository location into the pom.xml it
appears to tie it to one particular branch / trunk.
If I branch off the trunk, what am I meant todo about the scm url ?
Update it manually ? Is there anyway to have the url independent of
the pom file ?
Thanks
I have a property defined in a profile. I have 3 modules in a parent
project. When I build the parent project the modules build correctly,
where the modules correctly resolve the property defined in the profile.
When I build the modules individually using the profile, the property
from the
composite-id
key-property
name=providerIdentifier
type=long
column=PROVIDERIDENTIFIER/
key-property
name=historyCreateUser
type=java.lang.String
column=HISTORYCREATEUSER/
key-property
name=historyCreateDateTime
From the XDoclet generated hbm.xml file:
!--
To add non XDoclet property mappings, create a file named
hibernate-properties-ProviderHistory.xml
containing the additional properties and place it in your merge
dir.
--
/class
On 1/22/07,
Sounds like a great question for the XDoclet Users list. Apparently no
one in Maven land can help.
Wayne
On 1/22/07, Mick Knutson [EMAIL PROTECTED] wrote:
From the XDoclet generated hbm.xml file:
!--
To add non XDoclet property mappings, create a file named
I have a large, multiple module project that I need to create a repository
assembly for. I have no problems creating the binary, including the
dependencies. However, I can't seem to create a repository. I'm running the
assembly in the project's top level pom, of course, but from what I can
tell,
One more update.
On the build machine with the common repository:
1. remove the com/trovix/jsec directory
2. run mvn clean install on my jsec project
On the development machine
1. remove everything in my local repostory
2. run mvn compile on the project that depends on jsec.jar
SUCCESS!
On
This actually is more a Maven thing than XDoclet I think.
How and where does Maven links a merge directory to the xdoclet plugin.
On 1/22/07, Wayne Fay [EMAIL PROTECTED] wrote:
Sounds like a great question for the XDoclet Users list. Apparently no
one in Maven land can help.
Wayne
On
The XDoclet plugin itself should specify, among other things, where it
looks for the default merge directory etc.
You may have to dig into the XDoclet M2 plugin code to find this if it
has not been properly documented. Also, you may be able to specify it
in the configuration section in the
Do you use jdk 1.4 ?
Eman Ali al-Maktari ha scritto:
Hi every one..
I'm using the StatScm plugin, which generates statistical charts for
the SCM changes(Commits and so on)...
The problem is that when I execute the site:site goal I got a null
pointer exception caused probably by this
Mick Knutson wrote:
I am still using XDoclet 1 and want to create an entry for
hibernate-properties-ProviderHistory.xml but am not sure where to put that
file to get picked up during a merge...
Can anyone please help ?
If you specify mergedir=${project.build.sourceDirectory} inside your
I've made it using wget: http://www.gnu.org/software/wget/
Aurelien.
http://aurelien.barbier-accary.info
-Message d'origine-
De : Alauddin [mailto:[EMAIL PROTECTED]
Envoyé : dimanche 21 janvier 2007 08:24
À : users@maven.apache.org
Objet : How to download Maven repository was 5.8G.
I had the same problem.
A solution is to copy the settings.xml in ...\Documents And Settings\...\.m2
Just be careful when modifying this file to copy it in the other location...
Aurelien.
http://aurelien.barbier-accary.info
-Message d'origine-
De : Morgovsky, Alexander (US - Glen Mills)
Hi,
I use Hibernate3 in my project. Hibernate3 needs cglib/cglib as
dependent jar. This was a problem for us because cglib/cglib use asm/asm
1.5.3 as dependent jar.
So, we decide to exclude cglib/cglib form Hibernate3 dependencies and
add cglib/cglib-nodep. This works fine but sometimes
mvn -X site out.txt
Then scan out.txt in a file editor for cglib references. At the top,
it will show all your dependencies, and all their transitive
dependencies, and all THEIR transitive dependencies etc in a little
text tree. You'll probably see that one of those has cglib/cglib as a
I would try adding the xml fragment to a profile in your parent pom and then
activate the profile only in the sub modules. The activation could even be
controlled by the presence of a java property that is defined when maven is
invoked.
Petar Tahchiev wrote:
Hello gyus,
this time a very
I have a conundrum with dependencies.
We have many modules we include in an EAR. Because of this, those
modules typically have their dependencies defined as optional so things
like webapps don't package them because we put everything in the root of
our EAR.
The issue is, there are many
Hi Martin,
Thanks for sharing.
Pratik
-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]
Sent: Monday, January 22, 2007 9:03 AM
To: Maven Users List
Subject: Re: [m2] subversion repository upload using webdav
A couple of things :
- Authentication is left to
Hi,
I want to be able to build a project in several different working areas
(based on different Subversion branches) on my machine. How do I
prevent artifact version clashes in my repository cache?
For obvious reasons I don't want to touch the version declarations in
the poms.
I also
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 have Maven 2 working with Junit 4.1 using the surefire 2.3-SNAPSHOT.
The only thing that isn't working as expected is that the test classes
need to have a name that ends in Test (e.g. MyAppTest.java). Having
names like MyAppTest1.java or MyApp.java means that Maven can't seem to
recognize that
Lageson,Thomas M wrote:
I have Maven 2 working with Junit 4.1 using the surefire 2.3-SNAPSHOT.
The only thing that isn't working as expected is that the test classes
need to have a name that ends in Test (e.g. MyAppTest.java). Having
names like MyAppTest1.java or MyApp.java means that Maven
Hello,
I know that profiles get discussed here all the time, but I just wanted to
confirm that the feature I want really doesn't exist. I want to create two
mutually-exclusive profiles. To build the project successfully, you must
activate one of these profiles. Therefore they should be in the
On 1/22/07, pjungwir [EMAIL PROTECTED] wrote:
Does maven give me any way to do what I want? This seems like such a basic
and obvious requirement.
The POM for the shale-apps module[1] in Shale[2] has an example of exactly
the scenario you describe, showing the way we decided to approach
Ok,
Got subproject with source of class A,
and got subproject with source of class B,
Here are examples of the two classes:
import org.pack.B
publica class A{
private B;
...
}
import org.pack.A
publica class B{
private A;
}
As you can see, both are inter-dependent, but rest
Ah, thank you. The key is right here:
activation
property
name!jsf/name
/property
/activation
I didn't know you could activate a profile based on an *unset* property. But
that gives me just what I need.
Thanks again,
Paul
--
View this message in context:
Hi All
I have multi module projcte like
Project
|_ ejb_project
|_pom.xml
|_ java_project
|_pom.xml
|_ web_project
|_pom.xml
|_ ear
Hi I am trying to get maven2 archiva proxy server on a linux box but
getting this error
STATUS | wrapper | 2007/01/22 13:11:48 | Launching a JVM...
INFO | jvm 1| 2007/01/22 13:11:49 | WrapperSimpleApp: Unable to
locate the class org.codehaus.plexus.classworlds.launcher.Launcher: jav
It isn't supported because it isn't a standard cvs protocol.
If you have docs about the CVSROOT format for this protocol, file an issue
and we'll look at it.
All docs about sspi are welcome.
True, it's not supported in CVS. However, it is supported in CVSNT, which is
also licensed under the GPL.
You don't. You need to do some refactoring (extract interfaces) or
something so you have a very clear A-B or B-A dependency.
Wayne
On 1/22/07, fernando da Motta hildebrand [EMAIL PROTECTED] wrote:
Ok,
Got subproject with source of class A,
and got subproject with source of class B,
Here are
Daniel, I'd like suggest that you go ahead and fix up maven-cvs-provider to
support sppi
and send in the patch.
-D
On 1/22/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote:
It isn't supported because it isn't a standard cvs protocol.
If you have docs about the CVSROOT format for this
On Monday 22 January 2007 13:13, Barbier-Accary Aurélien wrote:
I've made it using wget: http://www.gnu.org/software/wget/
And doing so is likely to get your IP address banned from being able to access
repo1.maven.org.That would definitely not be cool for you.
If you NEED to create a
Jörg,
We'll see. I've reinstalled everything except the operating system,
including my network equipment. I'll update you all when I have answers.
Take care,
Jeremy
On 1/22/07, Jörg Schaible [EMAIL PROTECTED] wrote:
Hi Jeremy,
Jeremy Whitlock wrote on Sunday, January 21, 2007 9:05 PM:
On 1/22/07, Sharma, Rohit [EMAIL PROTECTED] wrote:
Hi I am trying to get maven2 archiva proxy server on a linux box but
getting this error
STATUS | wrapper | 2007/01/22 13:11:48 | Launching a JVM...
INFO | jvm 1| 2007/01/22 13:11:49 | WrapperSimpleApp: Unable to
locate the class
-- Forwarded message --
From: fernando da Motta hildebrand [EMAIL PROTECTED]
Date: 22/01/2007 17:12
Subject: Subproject recursive dependency
To: Maven_users users@maven.apache.org
Ok,
Got subproject with source of class A,
and got subproject with source of class B,
Here are
In a JAR project, when declaring a dependency with type zip, the generated
manifest class-path excludes the zip dependency. Further, when generating
the eclipse artifacts, the .classpath also excludes the zip dependency.
This seems to occur because the ArtifactHandler isAddedToClasspath is
Hi again,
I have a build and I want to make it JDK dependent. For instance if you are
triggering maven with a java that is older than 1.4 then a message is
displayed Upgrade your java and try again.
Is this possible?
I tried with the prerequisites tag, but the only inner element that it
Would be like:
pak.a
public interface A1{
...
}
pak.b
public interface B1{
...
}
import pak.B1
publica class A{
private B1;
...
}
import pak.A1
publica class B{
private A1;
}
?
Could you send some examples?
2007/1/22, Wayne Fay [EMAIL PROTECTED]:
You don't. You
You cannot :-(
Arnaud
On 1/22/07, fernando da Motta hildebrand [EMAIL PROTECTED]
wrote:
Ok,
Got subproject with source of class A,
and got subproject with source of class B,
Here are examples of the two classes:
import org.pack.B
publica class A{
private B;
...
}
import org.pack.A
I did some investigation, and it seems that the maven-cvs-provider does
execute cvs.exe. I'm not sure why it doesn't support sspi already.
As for fixing it myself and submitting a patch, I'll have to see if I can
get approval.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
this is your starting point
http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/AbstractCvsScmProvider.java
where sspi is not in a list of transports to check
On 1/22/07,
In short, no, that is not right. In your example, you have not
eliminated the circular dependency. You still have A {B} and B {A}.
This is not acceptable.
In short, decide if A builds upon B or if B builds upon A; you cannot
have both. Then change your code to implement A-B or B-A, depending
on
Since my other question remains unanswered (regarding repository assembly
and multi-module projects), I'm using the brittle route, which is to create
a sub module and include in the pom all the dependencies to build the
repository.
I have a lot of xxx-1.0-SNAPSHOT dependencies. Some of these get
What's the best way to specify versions for Maven Plugins. In the AppFuse
project, we're distributing archetypes that have plugins pre-defined in the
pom.xml files.
Should we:
1. Have no version
2. Use the latest version in the Maven repo
3. Use versionLATEST/version
4. Use
On 1/23/07, mraible [EMAIL PROTECTED] wrote:
What's the best way to specify versions for Maven Plugins. In the AppFuse
project, we're distributing archetypes that have plugins pre-defined in the
pom.xml files.
Should we:
1. Have no version
2. Use the latest version in the Maven repo
3. Use
I always lock down all plugin versions in my production at release time
and use snapshots, if needed, during development time. The draw back is
that the release date is heavily depent on all snapshot plugins to be
released first.
Lucky, i have internal repo to deploy a known snapshot. For your
Hi all
i have been using maven 1.0.2 for java build and deployment in
jboss server .
my question is that, Is any build tool like maven available to build .net
project and deployment
or there is version available of maven for .net
Regards Thanks
Neeraj
I prefer to hardcode the version because that way everybody uses the
same one and you ensure reproducibility and tracing.
On 1/22/07, mraible [EMAIL PROTECTED] wrote:
What's the best way to specify versions for Maven Plugins. In the AppFuse
project, we're distributing archetypes that have
On 1/23/07, Carlos Sanchez [EMAIL PROTECTED] wrote:
I prefer to hardcode the version because that way everybody uses the
same one and you ensure reproducibility and tracing.
Yes, I often have to remind people here if something unexpected occurs to run
mvn -cpu -U
and make sure you have the
Good day to you, Petar,
You may want to make a feature request about that by filing a Jira Issue.
In the meantime, try the maven-antrun-plugin.
Cheers,
Franz
Petar Tahchiev wrote:
Hi again,
I have a build and I want to make it JDK dependent. For instance if you
are
triggering maven
-- Forwarded message --
From: Neeraj Bisht [EMAIL PROTECTED]
Date: Jan 23, 2007 10:07 AM
Subject: Maven in .NET
To: Maven Users List users@maven.apache.org
Hi all
i have been using maven 1.0.2 for java build and deployment in
jboss server .
my question is that, Is
Good day to you, Eric,
Since you've already generated the site documentation, go to the project
dependencies report again and look at the dependency tree. You can see there
which direct dependency depends on cglib/cglib.
After you've located that dependency, use the exclude tag to exclude
On 1/22/07, mraible [EMAIL PROTECTED] wrote:
What's the best way to specify versions for Maven Plugins. In the AppFuse
project, we're distributing archetypes that have plugins pre-defined in
the
pom.xml files.
Should we:
1. Have no version
2. Use the latest version in the Maven repo
3. Use
On 1/22/07, Dário Luís Coneglian Oliveros [EMAIL PROTECTED] wrote:
I've faced the same problem.
It seems to be a bug in the checkstyle plugin.
I've noticed it happens only if there are too many checkstyle errors.
My suggestion is to decrease this number to about 1 (hopefully most of them
Hi,
It seems that assembly plugin version 2.1 has issues with includes /
excludes for module sets. Specifically, unless I'm mistaken, includes
seems to be ignored and excludes are only working on directories.
That's how it turned out from my tests.
However, 2.2 with the fileSets seems to work
89 matches
Mail list logo