Using Continuum 1.0.3 on Unix, I messed up yesterday by restarting Continuum
but I was logged in under the root user - it normally runs under a different
user. Then when started using normal user the Derby would only start in
READ ONLY mode. So rather then mess around we restored the :-
/usr/lo
I found it in apps/archiva/webapp/WEB-INF/classes
-Original Message-
From: Jason Chaffee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 26, 2008 10:52 PM
To: [EMAIL PROTECTED]
Subject: RE: archiva-1.0.2 eta?
Yep, that is what causing it to manifest. However, I would like to
change th
assuming you are using the tar.gz distribution, it's in
apps/archiva/WEB-INF/classes
On 27/02/2008, Jason Chaffee <[EMAIL PROTECTED]> wrote:
> Yep, that is what causing it to manifest. However, I would like to
> change the log4j.xml to use a RollingFile base on file size and not a
> DailyRollin
I found the fault in the pom of the war module.
It uses a path "src\main\webapp" that should be "${basedir}/src/main/webapp"
Bart
I have a maven project containing 7 modules. In short there's 3 jar modules,
a module to
On 27/02/2008, Jason Chaffee <[EMAIL PROTECTED]> wrote:
> I have not. Is that configured in the plexus.xml?
No, log4j.xml - but it seems like the problem is just too many
exception messages? Is that what is filling the log so fast?
- Brett
--
Brett Porter
Blog: http://blogs.exist.com/bporter/
Just wanted to thank for the reply, it was just what I needed.
I thought that there would be more hidden properties.
Bart
---
the closest explanation I've seen to date is here
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
Yes, RAD 6 is based on Eclipse 3.2.1-xx and it honors WTP 1.5 resources.
RAD 7 provide backward compatability for RAD 6 projects, so by that
definition RAD 7 can also work with WTP 1.5 resources.
If memory serves me, WTP 1.0 resources are for the older Eclipse v2.x (?)
versions. Now I'm not s
I'm honestly unsure as to which solution is "right" and "as above", it
just got confusing for me.
I believe version ranges in dependencyManagement is the "right"
solution in these cases. Also it is important that your developers
keep consistent APIs across say 1.2.x series and bump versions to
1.3
I have what seems like a simple task but is getting out hand. We deploy
servlet war webapps from a multi-module Maven2 build to a central Tomcat 5.x
server. I want to customize the deployment of webapps to a central server
for each developer. Right now I have two profiles setup, dev and staging.
T
I'm telling you... you should code for more than 16 hours straight!! =p
Thanks Olivier, sorry guys for such a basic error on the list.
Regards,
Rodrigo
On Wed, Feb 27, 2008 at 3:04 AM, Olivier Dehon <[EMAIL PROTECTED]> wrote:
> Does extensions/pom.xml define myapp/pom.xml as its parent in the
>
Does extensions/pom.xml define myapp/pom.xml as its parent in the
section?
-Olivier
On Wed, 2008-02-27 at 02:57 +, Rodrigo Madera wrote:
> I have a project layout like this:
>
> myapp
> pom.xml (packaging = pom, name = MyApp Parent)
>
> api
> pom.xml (packag
I have a project layout like this:
myapp
pom.xml (packaging = pom, name = MyApp Parent)
api
pom.xml (packaging = jar, name = MyApp API)
core
pom.xml (packaging = jar, name = MyApp Core)
extensions
pom.xml (packaging =
Sorry to reply to your question with another question, but
does RAD6 really supports WTP 1.5 ?
I was under the impression that RAD7 only supported that version.
-Olivier
On Tue, 2008-02-26 at 12:38 -0800, Salman Moghal wrote:
> Hello:
>
> I'm using maven-eclipse-plugin v2.4 to generate WTP 1.5
I had to resolve a similar issue when trying to compile RAD projects
with Maven. RAD comes with WebSphere runtime JARs in a specific
directory (which would be provided on the WebSphere server). By default,
RAD uses those runtime libraries without the need to specify the
dependency in the .classpath
You should probably ask the OGCE guys what properties to use, as they
are the experts when it comes to OGCE, right? Unless someone on this
list is randomly an OGCE developer, you're unlikely to have much
success on this list with this kind of question.
Come back and ask us when you have Maven-spec
Dennis Lundberg wrote:
> ...
> There is an issue for this in JIRA already:
>
> http://jira.codehaus.org/browse/MANTRUN-68http://jira.codehaus.org/browse/MANTRUN-68
>
I see that issue is more than a year old, and is still "open".
Until this is fixed, is there a recommended "work-around"?
-Marsh
Hello,
I am installing an instance of OGCE which uses maven 2. Under the install
documentation
it says the following:
Edit the at the top of pom.xml. You should should minimally edit
and
If I am installing OGCE for testing purposes on my machine what should I enter
in? For instance
should
On Wed, 27 Feb 2008 07:41:16 Wayne Fay wrote:
> This simply is not a feature that currently exists in Maven, and for a
> lot of reasons, I don't see it being a feature that will be
> implemented any time soon.
>
> Your best bet is the "list all artifacts as dependencies in a pom, and
> depend on it
Great topic. Thanks.
On Mon, Feb 25, 2008 at 3:52 AM, Andrew Hughes <[EMAIL PROTECTED]> wrote:
> Thanks Graham!
>
> I works this out just as I got your email :)
>
> To explain this to others... taking a multi module maven project either
> out
> of svn/cvs (Q: outside eclipse only?) or creating on
Stephen,
thanks a lot! i owe u a beer... let me know when u r around LOndon :)
really, it saved me lot of time!
thanks again and regards
marco
On Tue, Feb 26, 2008 at 8:33 PM, Stephen Connolly <
[EMAIL PROTECTED]> wrote:
>
> ...
> war
>
>
>maven-war-plugin
>
> <*archiveClasse
Wayne Fay wrote:
> The easiest solution would be to "build" your own internal pom for
> maven-antrunner-plugin and specify the ant 1.7 artifacts as
> dependencies, then declare that plugin version number in your pom
> where you need to run the ant 1.7 version. Your version would be
> something like
Wayne Fay wrote:
> The easiest solution would be to "build" your own internal pom for
> maven-antrunner-plugin and specify the ant 1.7 artifacts as
> dependencies, then declare that plugin version number in your pom
> where you need to run the ant 1.7 version. Your version would be
> something like
Hello:
I'm using maven-eclipse-plugin v2.4 to generate WTP 1.5 resource for Eclipse
3.2.x / RAD v6.x environment. The goal of this exercise is to take advantage
of Eclipse 3.2 / RAD v6.x
integrated development, debugging, and hot code deployment features. The
runtime environment is WebSphere
Hi Stefan,
Thanks for your attention.
After you mentioned the pluginManagement, I decided to look at this
tag/config, and found out that it was the problem.
>From the POM reference, I could notice that what is below pluginManagement
does not work by itself. And that you shoud also define the sam
...
war
maven-war-plugin
<*archiveClasses>false***
On Tue, Feb 26, 2008 at 8:13 PM, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> Stephen,
> thanks a lot! it was exactly what i was after
> any chances u can share your pom.xml?
>
> thanks in advance and regards
> mar
Stephen,
thanks a lot! it was exactly what i was after
any chances u can share your pom.xml?
thanks in advance and regards
marco
On Tue, Feb 26, 2008 at 8:26 AM, Stephen Connolly <
[EMAIL PROTECTED]> wrote:
> We have developed a lot of web apps with Maven and IDEA.
>
> The war plugin builds
Compile directly with javac, set your classpath manually with -cp, and
use -verbose so you know what class (and line?) it quits on. Its also
possible (likely?) that a similar verbose setting may exist in plexus
compiler, but I'm just not sure and I haven't looked, so you might be
able to get the sa
That makes sense actually - thanks. However, it doesn't give me much hope...
Question: how were you able to find the piece of code that was triggering
this error? We have a mixed dev environment and it's pretty unrealistic that
everyone is going to update their JDK (and to do it on our servers) jus
The easiest solution would be to "build" your own internal pom for
maven-antrunner-plugin and specify the ant 1.7 artifacts as
dependencies, then declare that plugin version number in your pom
where you need to run the ant 1.7 version. Your version would be
something like 1.1-SCHOR.
Grab the sourc
This simply is not a feature that currently exists in Maven, and for a
lot of reasons, I don't see it being a feature that will be
implemented any time soon.
Your best bet is the "list all artifacts as dependencies in a pom, and
depend on it" option that I suggested earlier. This in combination
wi
Wayne Fay wrote:
1.7.0 is merely a strong suggestion to Maven.
[1.7.0] will fail the build if it is unable to acquire
this artifact
Further investigation shows these dependency statements added ant to the
"compile" - I think this has nothing to do with what ant-run
uses. I tried adding run
Hello,
If you want to ensure that no other jar's get included in your
application withour going to the internal QA process I would suggest
installing a local repository manager (Archiva or Artifactory). That
way you can configure the repository manager to never connect to a
central repository and
I want to take a single directory of ~50 jars and specify that as a
single dependency.
I'm explicitly trying to avoid specifying them as 50 separate
dependencies in a pom file, or breaking them out in 50 different module
subdirectories under an internal Archiva repository. It sounded to me
as
1.7.0 is merely a strong suggestion to Maven.
[1.7.0] will fail the build if it is unable to acquire
this artifact.
As for the missing 1.7.0 jar files, please ask the Ant team to upload
them, or move them to a shared sync directory etc (depends on how they
have set this up).
Wayne
On 2/26/08, Ma
We need to have the maven ant run plugin to run ant at version 1.7.0.
How should this be specified?
We tried putting in the POM:
maven-antrun-plugin
org.apache.ant
ant
1.7.0
I guess we don't understand what you want/need, as it sounds a lot
like what we're suggesting. You can manage the artifacts themselves by
using Archiva etc rather than asking Maven to download direct from the
Internet.
An alternative is to unzip each jar into a shared directory and then
re-jar all
These approaches both involve resolving each jar as an individual
separate dependency, a large amount of manual effort for a couple of
reasons. I'd have to specify 50 new dependencies in the POM, and then
I'd have to stage these artifacts separately in our internal repository.
This jar collection
Hello,
We are using com.sun.xml.rpc:jaxrpc-impl:1.1.3_01 in the following ant
task. I was wondering if there was a plugin that would be better,
that would still produce the mapping?
Thanks!
maven-antrun-plugin
process-classes
The difference is where the plugin finds the jar. In remote repos,
snapshots are stored using the timestamp. If you install it locally, it
will only have the -SNAPSHOT ending. This is just how maven works. You
can use the stripVersion flag to dump the version from the file
altogether.
-Origina
Brown, Carlton wrote:
Hi all, newb question here...
Somewhere long ago, an internal dev project started depending on
foo-corp/lib/**/* of a 3rd-party framework, which ends up being a random
collection of 50 jars or so. What's the Maven best practice for
representing a "big bag o' jars" as a sin
Just make a project with type pom and specify these dependencies.
Then, depend on this project in your other projects, and it will bring
in those dependencies transitively.
If you're certain about those versions, you can lock them down with
[1.2.3].
Wayne
On 2/26/08, Brown, Carlton <[EMAIL PROTE
Hi all, newb question here...
Somewhere long ago, an internal dev project started depending on
foo-corp/lib/**/* of a 3rd-party framework, which ends up being a random
collection of 50 jars or so. What's the Maven best practice for
representing a "big bag o' jars" as a single dependency?
I kn
Effectively Wendy, I forget this -Dmaven.repo.local argument.
Nevertheless, reproducibility is the way to go.
For the moment, I found that it is difficult to be 100% sure without
cleaning the local repository.
It's possible for instance to just do it once by night (and not for all
build).
We can
Apache commons has a "parent" pom[1] used by the 34 or so components
that are part of that project.
We had some configuration for the maven-compiler-plugin in the
build/plugins section, but this has been moved to the
build/pluginManagement/plugins section [2] and I'm wondering what the
implication
>I had similar problem with a webapp I developed few months ago, so I
used this war filtering >feature to add build number and deploy time
and other informations to jsp files as comment >tags filtered by
maven.
Could you tell us how you do that ?
It's really simple to changes web.xml contents wit
The problem is when you don't have that time to time.
Once you implement one, its very hard for you to get time to implement
another one.
Specially since there is no such thing as fail-safe plugin installations.
Not to mention the learning curve each one requires.
IOW: For a business, its better
Hi,
I could be totally wrong, but I remember something like tomcat scanning
the JARs in java.class.path for JSP tag libraries. As maven does not set
java.class.path to the test class path, this could be the problem. In
your test, try invoking the method presented in
http://markmail.org/messag
The war-package process source scripts and place them in the packaging
folder used by the war plugin to create the exploded war, before archivaing
a .war.
Nico
2008/2/26, Adrian Herscu <[EMAIL PROTECTED]>:
>
> Harlan, thanks for your fast reply. It works!
> However, I am not sure what the war-pac
Hi,
why do you use pluginManagement within a profile? Also, you can always
define the plugin outside the profile in pluginManagement without the
executions and within the profile with the executions.
Have you tried "mvn cargo:start -Pjboss" anyway?
Stefan
Marcelo Alcantara wrote:
Hi,
I am
Yes, that client was just because from within an Maven execution the
classpath would give me the -client.jar first, but I needed the jar
without client.
Stefan
Alexander Klimetschek wrote:
Thanks Stefan, nice hack ;-) I didn't know that you can get the Jar file
via the class resource URL, but
Thanks Stefan, nice hack ;-) I didn't know that you can get the Jar
file via the class resource URL, but it makes sense.
FYI, I made a useful method out of this (I removed the special -
client.jar replacement):
/**
* Returns the path to the JAR file that a certain class is located
in. Thi
Anybody?
Thanks in advance!
Marcelo
On Mon, Feb 25, 2008 at 4:45 PM, Marcelo Alcantara <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to use cargo based on the pom.xml profile configuration.
>
> When executing "mvn cargo:start" it says it cannot find the plugin with
> this prefix (cargo).
>
>
I am looking for a solution to that too. My workaround was until now to
pick specific classes whose JAR files I needed and do
_class.getResource("/" + _class.getCanonicalName().replace(".", "/") +
".class").toString().replaceAll("-client.jar!",
".jar!").replaceFirst("jar:file:([^!]+).*", "$1")
Hi Petr,
is seems to me that you're trying to work around maven mechanisms, which
is usually not a good idea. In this case, although I haven't completely
understood what you are trying to do, I can share some experience about
EJB3 and Testing.
I have one artifact P where the JBoss embedded con
Hi guys,
I'm trying to solve this issue for a few days and haven't been able to
crack it so far. The scenario is following:
I have a parent project that includes sub-modules, each having their own
pom.xml. Each of these modules produces an ejb3 package. I want to be
able to run unit/integra
Hi Simon,
somewhere in the company there is a group creating something, let's say for
batch import/export.
not all projects need this, but most do.
this [application,component,set of libraries] may be used in at least two
ways:
1.) you include the 15 dependencies from this [application,component,
On 26/02/2008, Kees van Dieren <[EMAIL PROTECTED]> wrote:
>
> Hi Folks,
>
> Can you please add the latest version of jdom (version 1.1) to the maven
> repository?
FYI, the usual process is to raise a new upload request:
http://jira.codehaus.org/browse/MAVENUPLOAD
rather than post to the mail
Hi Folks,
Can you please add the latest version of jdom (version 1.1) to the maven
repository?
GroupId / Artifact: http://repo1.maven.org/maven2//jdom/jdom/
Jdom sources / binaries:
http://www.jdom.org/dist/binary/
http://www.jdom.org/dist/source/
Thanks!
Best regards,
Kees van Dieren
--
Sq
Hi,
Got it resolved. Actually I was using jboss-sar packaging for my project and
addition to that I was also using copy-dependencies, which was not required
since jboss-sar plugin also copies the dependencies to lib folder.
This was creating the problem.
I had removed copy-dependencies now and it
Hi,
Got it resolved. Actually I was using jboss-sar packaging for my project and
addition to that I was also using copy-dependencies, which was not required
since jboss-sar plugin also copies the dependencies to lib folder.
This was creating the problem.
I had removed copy-dependencies now and it
Have you been doing a build clean?
If you don't do a clean build then artifacts from the previous build can end
up hanging around
-Stephen
On Tue, Feb 26, 2008 at 7:11 AM, amit kumar <[EMAIL PROTECTED]>
wrote:
> Hi,
> Now this is a new problem, I am seeing the dependency getting packaged as
> d
Harlan, thanks for your fast reply. It works!
However, I am not sure what the war-package does (as in the
example here:
http://mojo.codehaus.org/javascript-maven-tools/guide-webapp-development.html)
Adrian.
Harlan Iverson wrote:
The javascript plugin is currently sandboxed, so following th
We have developed a lot of web apps with Maven and IDEA.
The war plugin builds an exploded war file in target/${
project.build.finalName}
There is a configuration option for the war plugin that controls whether it
packages up the classes in the war module as a jar file and puts that in
WEB-INF/li
Take a look at Archiva or Artifactory. That way you can run your own
repositories. Deploy releases and snapshots in seperate inhouse repositories.
Deploy third party libraries that are for the moment not on central into a
third party repository. Will also mirror central for your development team
all these tools are not ready, in my opinion, but it is worth to take a
look at them
from time to time.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sent: Sunday, February 24, 2008 02:45 AM
To: users@maven.apache.org
Subject: Mevenide vs. M2Eclipse, Q for Ec
Hi,
i'm very new to maven2.
I have a question about "private" libraries which I would use in my
projects. The problem is how to bind them in maven.
Are there any suggestions to do that?
thanks
66 matches
Mail list logo