Hi there:
I have a maven web project which produces a war
artifact, say foo-1.0-SNAPSHOT.war
This war file contains a java properties file,
foo.properties, specifying the default,
deployment-specific configuration variables to be used
in production:
db.host=production.foo.com
db.name=product
It's twice as hard then simply replicating a file system. Try in a
large organization getting DBAs and the sysadmins synced up. It's just
easier replicating the filesystem. Less moving parts equals better.
On 11-Apr-08, at 12:39 PM, Nick Stolwijk wrote:
I know Archiva is run on a JCR (JackRab
Thanks for the replies. I was able to configure a pluginRepository for
the codehaus snapshots and then Maven installed the jboss-maven-plugin
snapshot. However, I needed to give a specific version number:
1.3.2-20080125.002731-6 to get it.
Now, if the jboss-maven-plugin worked, I would be happie
I would doubt that maven.compile.classpath has the runtime-scoped deps
in it. So you might want to try maven.runtime.classpath or something
(unsure of the exact term).
But as Michael already stated, you'll want to add it as
runtime when you declare the dependency.
Wayne
On 4/11/08, Michael <[EMA
Hi Jerome,
Thanks again for your reply.
I split my project up into smaller projects (core, webstart, and web
application). The core project contains all of the domain, manager, and
service objects. The webstart project contains only those classes for the
webstart application, and the same for
Krishnamurthi, Venkat wrote:
I want this dependency as a run-time dependency. I'm using the antrun
plugin to launch the application.
Define it as a runtime dependency in Maven.
--
OOXML - Say NO To Microsoft Office broken standard
http://www.noooxml.org
--
I want this dependency as a run-time dependency. I'm using the antrun
plugin to launch the application.
Thanks,
Venkat
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Friday, April 11, 2008 5:18 PM
To: Maven Users List
Subject: Re: Using antrun plugin
You should prob
You should probably just add the jar as a dependency in your pom, just
like any other dependency, and then it will be included in the compile
classpath assuming you set the scope properly.
Wayne
On 4/11/08, Krishnamurthi, Venkat <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to append an addit
Hi,
I'm trying to append an additional jar to "maven.compile.classpath"
while using the antrun plugin.
How do I add a maven snapshot build jar (or any other external) to this
classpath?
Than
Could you not set a generic dns-backed server name eg svn.corp.com and
then things just work when you move servers? This would be my
approach.
Wayne
On 4/11/08, Clifton <[EMAIL PROTECTED]> wrote:
>
> Should I be concerned after relocating our SVN server after a couple of
> releases? We just moved
VELO wrote:
>> On the build process itself, it has no meaning to parallelize it as you
>> properly pointed out.
>>
>>
>
> May this is true on Java...
>
> But on flex is not. Flex compilation always use 100% on a single core
> computer and never use more them 50% on multi core.
>
> Well, if we
Should I be concerned after relocating our SVN server after a couple of
releases? We just moved our svn server to another physical machine which of
course changes the URLs. My limited knowledge of the release plugin suggests
this could be a potential uh-oh if we want to release an earlier version.
On Fri, Apr 11, 2008 at 9:39 PM, Nick Stolwijk <[EMAIL PROTECTED]> wrote:
> I know Archiva is run on a JCR (JackRabbit) repository. I've setup a
> Jackrabbit cluster on a clustered oracle database. (So twice clustering, one
> for the repo, one for the db). I think it shouldn't be too hard to implem
I know Archiva is run on a JCR (JackRabbit) repository. I've setup a
Jackrabbit cluster on a clustered oracle database. (So twice clustering,
one for the repo, one for the db). I think it shouldn't be too hard to
implement this with Archiva also.
Hth,
Nick S.
Jason van Zyl wrote:
Not Archiva
Thanks. Right after I posted that I found this as well:
http://docs.codehaus.org/display/MAVENUSER/Profiles
On Fri, Apr 11, 2008 at 3:19 PM, Matt Campbell
<[EMAIL PROTECTED]> wrote:
> I've found a little documentation and a blog posting that may be of help to
> you.
>
> http://maven.apache.org/
I've found a little documentation and a blog posting that may be of help to
you.
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
http://techpolesen.blogspot.com/2007/08/maven-profiles-activation-by-property.html
On 4/11/08, Trevor Torrez <[EMAIL PROTECTED]> wrote:
>
> I
>
> On the build process itself, it has no meaning to parallelize it as you
> properly pointed out.
>
May this is true on Java...
But on flex is not. Flex compilation always use 100% on a single core
computer and never use more them 50% on multi core.
Well, if we got downloads and tests multith
Is there documentation available on the specifics of profile
activation? I think I read somewhere that
stage
!test
will activate a profile if the "stage" property does NOT have the
value "test", but I can't remember where.
Thanks
-trevor
I'll be glad to submit an issue and I'll look at assembly:single. Thanks
for the response and suggestion.
Brad
> -Original Message-
> From: John Casey [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 11, 2008 1:05 PM
> To: Maven Users List
> Subject: Re: assembly:assembly failure
>
> Ye
Yeah, it looks like we need to improve the validation of descriptors. None
of the assembly mojos should really work without an assembly id.
Would you mind filing an issue at:
http://jira.codehaus.org/browse/MASSEMBLY? That way, you can
watch/vote for the issue, and see when it gets
corrected.
Als
Not Archiva but Nexus where the disk uses Raid 5 which is then a
network mount. The data and artifacts are shared between two instances
of Nexus and they sit behind a VIP. If the primary goes down then the
VIP flips over to the second instance that's running. With Nexus it's
simple disk rep
This is another classic example of why using a repository manager is a
good thing. You can specify repositories in one central place, and
with Nexus you can order, group, and route which means you can get
certain artifacts from particular repositories if you so choose. Using
Nexus will also
On Fri, Apr 11, 2008 at 12:33 PM, <[EMAIL PROTECTED]> wrote:
> This is a very common pitfall Maven users can fall in.
>
> You are using a local repository as remote repository. I thought there was
> some information on the maven site about the differences between remote and
> local repositories
On 10-Apr-08, at 12:16 PM, Jan Torben Heuer wrote:
Hi,
Is it possible to embed the maven engine in a java program?
Yes, but it is based on the trunk work. So many changes have been made
in 2.1 to better enable embedding that it's not possible to easily
backport it to the current release
The best description of why repository managers exist and why you
should use one is here:
http://www.sonatype.com/book/reference/repository-manager.html#
On 11-Apr-08, at 8:38 AM, Peter Horlock wrote:
Hi,
could anyone explain to me the difference between maven archiva and a
regular maven rep
Hi Dana,
you are absolutely right, but there are a few things Maven could do to
improve speed : using multiple threads/cpus :
- Maven downloads stuff. Now, since the network exists, it exists
latency, and all net applications work best when multithreaded. Is maven
currently parallelizing the jar do
Ah, thanks.
I've since found that "mvn assembly:attached" works, both from the
command line and when run as part of a maven build lifecycle [with the
same assembly descriptor.]
Is the assembly id being inferred or derived from the project then, when
running the 'attached' goal?
I suggest that th
This is a very common pitfall Maven users can fall in.
You are using a local repository as remote repository. I thought there was some
information on the maven site about the differences between remote and local
repositories, but the most important one is:
A local repository stores snapshots di
> What's "snapshot purging"???
If you have an internal development team which uses the repository and you make
a new release of a component, most of the time the snapshots for that component
are no longer needed. Archiva can delete the snapshots for a specific version
or after a specific amount
What's "snapshot purging"???
"access control (who may read/write), search for artifacts" - do you define
this for each file, or just general "read" access vs general "write" access?
>Archiva works as a mirror proxy, so each artifact you look up on the
archiva repository, which isn't found, Archiva
Well, we've got Maven running on a remote server, and I set this as our
maven remote server.
As far as I know we don't have additional proxy or so running.
So I still don't know why I would need archiva.
Peter
You could try LinuxHA, or a commercial solution like ServiceGuard or
SteelEye.
On Apr 11, 2008, at 11:52 AM, Matthew Tordoff wrote:
Hi all,
Does anyone have experience in setting up Archiva in a highly
available manner? What is the best considered approach for doing
this? Is it possible
Hi,
I'm binding cargo deployment goals to the deploy phase, but when I do
this, the default deploy plugin is still runs deploying the artifact
to a remote repository. I don't want this behavior. As far as I
understand, I need to override the existing execution binding by
specifying the same execu
Hi all,
Does anyone have experience in setting up Archiva in a highly available manner?
What is the best considered approach for doing this? Is it possible to
replicate deployments to a server across all other servers in a cluster? Are
there any options for automatic failover?
Any advice or p
What do you mean by a "regular repository"?
If you are using a filesystem on a server and deploying to there with mvn
deploy, you virtually have an inhouse repository like archiva offers, without
the management like snapshot purging, access control (who may read/write),
search for artifacts. Al
We a few things written about this at:
http://maven.apache.org/repository-management.html
Peter Horlock wrote:
Hi,
could anyone explain to me the difference between maven archiva and a
regular maven repository?
The explanation I found on the site was pretty short -
"With Archiva, you can sh
if you have a maven repo, you have a LOCAL repo only. Now if you have a
team, and want to setup a central repo and not use all the other external
repo's (maven, codehaus, apache, jboss etc...), then you can have a central
remote repo yourself with maven-proxy, or archiva.
On Fri, Apr 11, 2008 at
Hi,
could anyone explain to me the difference between maven archiva and a
regular maven repository?
The explanation I found on the site was pretty short -
"With Archiva, you can share artifacts with other developers..."
Isn't that exactly what the regular maven repository does?
So why / when / w
You need to specify assembly-name inside your assembly
descriptors.
-john
On Apr 10, 2008, at 8:34 AM, Harper, Brad wrote:
Anyone have thoughts on what's behind the following error?
...
[ERROR] BUILD FAILURE
[INFO] --
[INFO] The assembly id null is used more than onc
How you secure it depends on what you use to run your repo. If it's one of the
repo managers, then you would configure security there. If it's something
simple like apache, then you would add one of the many authentication modules.
-Original Message-
From: Mike Leonardo [mailto:[EMAIL PR
Doubled in what context? 30 seconds to 1 minute or 30 minutes to 1 hour?
The plugins in 2.0.9 have default versions now, if you haven't locked
down your versions, then you potentially also upgraded several plugins
at the same time. One of those could be the culprit. I wrote about this
aspect of 2.0
Hi,
I'm installing the standalone distribution of archiva and I'm trying to
separate the base from the installation (as suggested in the admin guide
at
http://maven.apache.org/archiva/docs/1.0.2/adminguide/standalone.html).
By doing so, I'm unable to start archiva, whereas I have no problems
when
Please don't email project members directly. Use the
users@maven.apache.org mailing list instead. See
http://maven.apache.org/users/getting-help.html
This plugin currently only supports the scp protocol for the target
repository. I had a look at the docs, and it seems that this bit is
missi
Yes it is. Read more at
http://maven.apache.org/plugins/maven-changes-plugin/usage.html
There are also a ton of new features for the JIRA report in the upcoming
2.0 version. Stay tuned.
Guillaume Boucherie wrote:
Hi,
It's possible to generate maven site report for changelog and roadmap fr
Using the following targets, my total build time has doubled between
maven 2.0.8 and 2.0.9:
release:clean clean release:prepare release:perform --batch-mode
Am I the only one? Any ideas?
-
To unsubscribe, e-mail: [EMAIL PROTECT
General instructions for using snapshot plugins can be found here:
http://maven.apache.org/guides/development/guide-testing-development-plugins.html
In your case you would need to replace the url of the repo to
http://snapshots.repository.codehaus.org/ because the plugin you want is
not in th
My mistake, only on seeing it in html on the forum do I see I have left out
the http://
Glynbach wrote:
>
> Hi
>
> I added the jboss repository to my POM to add a jta dependecy. But running
> mvn test gives an error retrieving the jta jar. The error shows maven is
> trying to get the jar from
Hi
I added the jboss repository to my POM to add a jta dependecy. But running
mvn test gives an error retrieving the jta jar. The error shows maven is
trying to get the jar from the maven repository (which exists but has no jar
in it) rather than the jboss repository. Can I stipulate which reposi
With Archvia-1.0.2 running in tomcat, I am getting "too many open files"
errors at least twice a day, forcing a reboot of archiva to fix the
issue. When I run "lsof", I see that the database files are open more
than once so I suspect a resource leak. Is anyone else seeing this?
Hi,
in your parent project, define the pluginManagement:
org.codehaus.cargo
cargo-maven2-plugin
... (your configuration)
redeploy
Hi,
It's possible to generate maven site report for changelog and roadmap from
jira ?
Thanks
Guillaume B.
I missed that one, and I think that is the best short term solution. Delicious
tagged for future reference. ;)
With regards,
Nick S.
-Original Message-
From: Dirk Olmes [mailto:[EMAIL PROTECTED]
Sent: Fri 4/11/2008 10:03
To: Maven Users List
Subject: Re: How can I let Maven run a class
[EMAIL PROTECTED] wrote:
You could bind a plugin to the process classes phase [1] which is a phase after
compile but before packaging. If your class doesn't run as a plugin, you have a
few options:
1) Make a plugin, which runs your class. [2]
2) Use the antrun plugin to fire of your class [3]
But that seems such a basic functionality of the plugin that is hard to
believe it's a bug and no one ever noticed... I'm going to wait to see of
somebody else had the same problem, if not I'll do like you said.
Thanks for your response.
On 10/04/2008, Brian E. Fox <[EMAIL PROTECTED]> wrote:
>
>
Hi,
for basic auth just put a element [1] with the same id as your
repository definition in your settings.xml. If you want more security
than just basic auth, there is a guide [2] describing authentication
with client certificates over https on the maven homepage.
-Tim
[1] http://maven.apache.
Thanks. antrun plugin can solve my problem.
Nick Stolwijk wrote:
>
> You could bind a plugin to the process classes phase [1] which is a phase
> after compile but before packaging. If your class doesn't run as a plugin,
> you have a few options:
>
> 1) Make a plugin, which runs your class. [2]
Hi,
there is a project called maven-embedder [1] for integrating maven in
other application (IDE's ...).
You also may want to have a look at two other projects that might
provide what you are looking for. First there is POMStrap [1], its an
application bootstrapper working with pom files. And se
You could bind a plugin to the process classes phase [1] which is a phase after
compile but before packaging. If your class doesn't run as a plugin, you have a
few options:
1) Make a plugin, which runs your class. [2]
2) Use the antrun plugin to fire of your class [3]
Hth,
Nick S.
[1] http:/
58 matches
Mail list logo