BTW,
installing archiva on one machine considered as common repository takes
only 5-10 minutes
http://archiva.apache.org/docs/1.2/quick-start.html
On Thu, May 7, 2009 at 3:38 PM, fachhoch fachh...@gmail.com wrote:
1 we do not have a common repository , so every user who wants to work with
Possible, but I checked the ${M2_HOME}/conf/settings.xml and the
repositories have valid username/passwords on the associated servers.
Credentials for scp wouldn't be resolved differently from within the
release plugin, would they?
FWIW, I've reverted from 2.1.0 back to 2.0.8 and get the same
Try this ( could be a solution if not too much jars to add )
-create a maven project containing all your jars ( for example put them in
src/main/lib )
-create one execution by needed jar
-each developer will have to run it once (mvn validate is enought) or you
can add this project to the reactor
Hi,
After inheritance, the war dependency tree looks like this:
foo.bar:b:war:0.0.1-SNAPSHOT
+- org.apache.velocity:velocity:jar:1.6.2:test
\- foo.bar:a:jar:0.0.1-SNAPSHOT:compile
+- org.apache.velocity:velocity:jar:1.6.2:test
\- org.apache.velocity:velocity:jar:1.6.2:compile
So the
Hi. I am a bit confused about the licensing for the maven ant tasks, as
I see what appears to be conflicting details.
The ant-tasks project pages seem to indicate that
1) The Maven Ant tasks are part of Maven
(http://maven.apache.org/ant-tasks/index.html)
2) The license for the ant tasks is
Ok, I managed to get this to work (mostly).
What I did initially that wasn't working was this:
1) I created a new maven project and set it up the way I wanted it to be.
2) I then used archetype:create-from-project to create a new archetype.
3) I went under /target/generated-sources/archetype in
2009/5/7 Harper, Brad brad.har...@fiserv.com
Possible, but I checked the ${M2_HOME}/conf/settings.xml and the
repositories have valid username/passwords on the associated servers.
Credentials for scp wouldn't be resolved differently from within the
release plugin, would they?
Depends
Hi
I am getting following error on AIX.64 platform and Java 6.
I am not facing this, If my JAVA_HOME is pointing to java 1.5.
Anyone faced this issue ?
K downloaded
[INFO]
[ERROR] FATAL ERROR
[INFO]
This issue is fixed in IBM JDK 1.6 SR2.
Thanks
-Venkat
-Original Message-
From: Subramanian, N.Venkata
Sent: Monday, May 11, 2009 3:22 PM
To: users@maven.apache.org
Subject: Maven error on AIX.64/java 6
Hi
I am getting following error on AIX.64 platform and Java 6.
I am not facing
Wendy Smoak-3 wrote:
It could go on
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
.
Can you open a JIRA issue if there isn't one, and possibly suggest a
patch?
Done, cf. http://jira.codehaus.org/browse/MNGSITE-86
-- Thorsten
--
View this message in
Hi Doug,
Please raise a jira for the xNl instead of xMl.
One can configure the create-from-project mojo to have the file
unfiltered by default using:
-DarchetypeFilteredExtentions=unknownExtension
which sets the file extension for files that will be filtered. by
default there is java, js, xml
Thank you! That was extremely helpful!
I used -DarchetypeFilteredExtentions as you recommended and was able to
create my archetype and generate based on this and my new project was setup
perfectly (or so it seems right now).
I've logged the Jira ticket as your requested for the xNl file
2009/5/11 Doug Hughes d...@doughughes.net:
Thank you! That was extremely helpful!
I used -DarchetypeFilteredExtentions as you recommended and was able to
create my archetype and generate based on this and my new project was setup
perfectly (or so it seems right now).
I've logged the Jira
Hi all,
I'm trying to use sonar light with my non maven project. When I do a mvn
clean install, I get the following error. I've pasted my pom.xml after
the error. I'm using mvn 2.1.0, java 1.5 and sonar 1.7. Any help is
highly appreciated
[INFO]
The way I've done this in the past is to use the assembly plugin to
generate a distribution zip/tar.
The unpacked structure looks like:
/bin
/lib
/conf
/log
In the bin directory, you would add a shell script that sets up the
runtime environment and invokes the mule runtime. The lib directory
We have a codebase with about 28 active java modules. This code
pre-dates maven 1.X, but was adapted to maven 1.0 and then 1.1, and I've
recently created / updated pom.xml files to get it building under maven
2.X. So far so good. The interesting thing is that our products are more
than just
Are there many cases where you want something for compilation
that isn't needed at runtime? I don't see them as being separate.
Really? I am surprised. Yes there is a relation between compile and
runtime. However, there is a different relation between compile and
test. Scope has multiple
you may have a valid reason for so doing, but maven is no
medium and cannot ask a higher plain what you wanted to do.
It doesn't need to. Maven has all the information. If a transitive
dependency has compile scope it should never get demoted to test scope.
However, you do want it to get
2009/5/11 Todd Thiessen thies...@nortel.com
Are there many cases where you want something for compilation
that isn't needed at runtime? I don't see them as being separate.
Really? I am surprised. Yes there is a relation between compile and
runtime. However, there is a different relation
2009/5/11 Todd Thiessen thies...@nortel.com
you may have a valid reason for so doing, but maven is no
medium and cannot ask a higher plain what you wanted to do.
It doesn't need to. Maven has all the information. If a transitive
dependency has compile scope it should never get demoted to
I created a maven project which has three sub projects one for ear , one for
war and one for jar.War has dependency to jar and ear has dependency to
war. When I try to install project i get this error
Reason: Failed to copy file for artifact[active project artifact:
artifact =
Hi List,
In order to achieve automatic testing of my projects, I use Cargo to
automatically deploy newly generated war files to a Tomcat server.
All the specifics to the automatic testing (depedencies, plugin
configuration, etc) are contained inside of a super pom.
Because I have multitudes of
I think the answer here is that nobody had a good example at the
time!
And even when you do, you can use exclusions which you interesting
mention in your next response ;-). So if you want a particular compile
transitive dependency to be included only as test, exclude it and add it
to your local
2009/5/11 Todd Thiessen thies...@nortel.com
I think the answer here is that nobody had a good example at the
time!
And even when you do, you can use exclusions which you interesting
mention in your next response ;-). So if you want a particular compile
transitive dependency to be included
Hi Bocalinda,
On Mon, May 11, 2009 at 10:28 AM, Bocalinda bocali...@gmail.com wrote:
In order to achieve automatic testing of my projects, I use Cargo to
automatically deploy newly generated war files to a Tomcat server.
All the specifics to the automatic testing (depedencies, plugin
Hi,
I'm working to create a new project which would have no Java sources or
tests in it. The project actually is made up of ColdFusion code. I can't
figure out how to get Maven to zip this up.
I started by creating a new project and removing the java and test folders.
I added a folder
Hi Jesse,
Glad I'm not the only one who is trying such thing.
Great solution you just gave me, I hope this works for me as well.
Big thanks!
2009/5/11 jie...@gmail.com
Hi Bocalinda,
On Mon, May 11, 2009 at 10:28 AM, Bocalinda bocali...@gmail.com wrote:
In order to achieve automatic
Hi Bocalinda,
On Mon, May 11, 2009 at 11:28 AM, Bocalinda bocali...@gmail.com wrote:
Glad I'm not the only one who is trying such thing.
Great solution you just gave me, I hope this works for me as well.
Big thanks!
You picked up on it, but, just to clearly state it this time (as I
didn't
Hi Jesse,
What exactly do you mean by attachment to a life cycle phase?
You mean like this:
executions
execution
idstart-container/id
phasepre-integration-test/phase
Hi Pieter,
On Mon, May 11, 2009 at 11:47 AM, Bocalinda bocali...@gmail.com wrote:
What exactly do you mean by attachment to a life cycle phase?
You mean like this:
executions
execution
idstart-container/id
you could use the maven-assembly-plugin:
src/main/assembly/cfml.xml
assembly
xmlns=http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi List,
Stating from the Maven Definitive Guide:
Activations can contain one of more selectors including JDK versions,
Operating
System parameters, files, and properties. A profile is activated when all
activation
criteria has been satisfied.
Unfortunately, it seems that is is not possible to
Will,
Thanks. It was particularly nice of you to include some XML form me to
review. I'll give it a shot.
Thanks,
Doug Hughes, President
Alagad Inc.
dhug...@alagad.com
888 Alagad4 (x300)
Office: 919-550-0755
Fax: 888-248-7836
On Mon, May 11, 2009 at 12:08 PM, Will Hoover
2009/5/11 Brian Fox bri...@infinity.nu:
At face value the logic seems to make sense, but I haven't thought through
all the ramifications. I thought Mark Hobson mentioned some cases where the
opposite was desired. At this point your best bet is to prepare a proposal
on
Just created http://jira.codehaus.org/browse/MNG-4156
Regards,
Stevo.
On Mon, May 11, 2009 at 6:40 PM, Mark Hobson markhob...@gmail.com wrote:
2009/5/11 Brian Fox bri...@infinity.nu:
At face value the logic seems to make sense, but I haven't thought
through
all the ramifications. I
I'd like to include the default implementation and specification
entries to the source and javaoc jars.
I've checked the documentation for maven-jar-plugin and Maven
Archiver, and followed the instructions. The manifest entries are
added OK to the binary jar, but nothing seems to work with the
Ok, this worked, pretty much. However, there are a few minor problems I'm
still researching how to resolve.
First off, the zip file always has the name of the assembly appended to the
name of the zip file. IE: ModelGlue-1.0-SNAPSHOT-cfml-resources.zip, where
cfml-resources is the ID of the
Doug Hughes schrieb:
If there's any documentation you can recommend on how to do this, that'd be
great. I'm really just getting started with Maven and I'm using it for a
fairly non-standard language. As such, the learning curve is a bit steep.
Thanks,
Maybe something like this ?
For the Sources Plugin, see this issue:
http://jira.codehaus.org/browse/MSOURCES-42
that was fixed in the recently released 2.1 version.
For the Javadoc plugin, I'm not sure if it has been implemented or
reported in JIRA.
sebb wrote:
I'd like to include the default implementation and
there is some good documentation for the plugin here:
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
-Original Message-
From: Doug Hughes [mailto:d...@doughughes.net]
Sent: Monday, May 11, 2009 2:45 PM
To: Maven Users List
Subject: Re: Creating a zip of non-java files
Hi,
I have Cobertura plugin configured in my pom.xml. Hudson renders the results
from coverage.xml and reports the coverage results classified as
Packages,Files, Classes,Methods,Lines,Conditionals
Why am I not seeing BranchRate,LineRate,PackageLineRate etc ? I am not using
Maven Genertate Site
I don't actually need to zip these up. A jar would be just fine. If I
change the packaging to jar then I DO get a jar, it just doesn't have any of
my CFML code in it. It'd be really great if I could find a way to put
everything from the src/main/cfml directory into the root of the jar.
Any
On 11/05/2009, Dennis Lundberg denn...@apache.org wrote:
For the Sources Plugin, see this issue:
http://jira.codehaus.org/browse/MSOURCES-42
that was fixed in the recently released 2.1 version.
Ah, I see now, thanks.
I had assumed that the maven-jar-plugin was used to create all the
I have found several issues like:
http://jira.codehaus.org/browse/MOJO-1118
But I am NOT able to find a working solution.
The basic fact is that as soon as I add the
artifactIdmaven-dashboard-plugin/artifactId and try to run
dashboard:dashboard, I get this error:
*These will use the artifact
Only ignorance :)
I'm still learning quite a bit.
Doug Hughes, President
Alagad Inc.
dhug...@alagad.com
888 Alagad4 (x300)
Office: 919-550-0755
Fax: 888-248-7836
On Mon, May 11, 2009 at 4:06 PM, Wayne Fay wayne...@gmail.com wrote:
I don't actually need to zip these up. A jar would be just
Plugin Management has:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
version2.0-beta-7/version
/plugin
The change to this site plugin version was on 11/17/08 so it
This should look familiar
---
[INFO] Failed to resolve artifact.
No versions are present in the repository for the artifact with a range
[2.1,)
commons-collections:commons-collections:jar:null
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Path to
Version ranges in maven are very buggy, use with caution.
Dave
- sent via G1
On May 11, 2009 4:23 PM, KurtG ku...@serent.com wrote:
This should look familiar
---
[INFO] Failed to resolve artifact.
No versions are present in the repository for the artifact with a range
[2.1,)
KurtG schrieb:
This should look familiar
---
[INFO] Failed to resolve artifact.
No versions are present in the repository for the artifact with a range
[2.1,)
commons-collections:commons-collections:jar:null
from the specified remote repositories:
central
Hi Maven users,
Can I set environmental variable value for child pom's parent
version tag?
Something like below.
In Child pom..
parent
artifactIdartifact-parent/artifactId
groupIdab.cd.ef/groupId
version ${env.variable}/version !--Can I set environmental variable
here ? --
/parent
If
Is there a way to detect when the dependencies of two war artifacts are
inconsistent with respect to packaged jar versions?
E.g. a war depends on artifact abc-1.0.0.jar. An overlay is performed
where an inconsistent dependency on abc-1.0.1.jar is also defined.
The resulting war will
Hi,
I am doing deploy (mvn deploy) of timestamped multi-module build.
It puts nice timestamped versions of all those modules in my repo,
updating maven-metadata.xml accordingly.
Modules in that build depend on each other (say moduleA depends on
moduleB) - using version${pom.version}/version.
I
Hello
I was trying to build Maven source (apache-maven-2.1.0-M1-src.zip) with
Maven 1.0.10 Maven installed in the machine.
With Harmony Development Kit, building is failed with the following error.
Please let me know whether i can build Maven using Harmony Development Kit
(HDK)
*HDK Version: *
53 matches
Mail list logo