Hi!
I'm trying to install archiva 1.0.1 on Linux as a standalone application
as running in JBoss gives various errors.
The archiva admin guide for standalone installation [0] says
| However, the best way to use this installation technique is to separate
| the configuration from the installation
Hi all,
This question may in fact be generalized to Maven, but I'm wondering if
there is any reverse lookup mechanism for jar artifacts. For example,
I have this mystery dependency called foo.jar. Is there a way to
query a Maven-compliant repository to search on the checksum to
determine the
On Feb 17, 2008 11:59 PM, Pahwa, Sunita [EMAIL PROTECTED] wrote:
Which file I need to change in the data folder of archiva to flip the
validated bit?
You would need to use a client like Squirrel SQL to connect to the
database and edit it using SQL statements.
The quickest way to fix this is
On Feb 18, 2008 7:33 AM, Brown, Carlton [EMAIL PROTECTED] wrote:
This question may in fact be generalized to Maven, but I'm wondering if
there is any reverse lookup mechanism for jar artifacts. For example,
I have this mystery dependency called foo.jar. Is there a way to
query a
We store Mac OS X jnilib artifacts in our unmanaged maven
repository. During our transition to a standalone archiva 1.0.1
instance running on linux (RHEL5), I was able to deploy our jnilib
artifacts, but I was not able to download them as a dependency in a
different project. I received
I am using archiva 1.0.1 standalone version. I am trying to deploy my
artifact to archiva 'internal' repository using 'mvn: deploy'.
1) I have done following changes to my artifact's POM:
-added repository and snapshotRepository sections under
distributionManagement element with appropriate id and
Hi,
Currently, I am having an issue with maven while using an internal
archiva repository. Our development repository is hosted on a local
server and in any project poms, we include the repository like this:
repositories
repository
idinternal/id
The doc could well be a bit wrong in step 2 - please file a bug for that :)
I do use it successfully with the following script to start it though:
#!/bin/sh
version=1.0.1
PLEXUS_BASE=$HOME/Library/Application\ Support/Archiva
On 19 Feb 2008, Brett Porter wrote:
The doc could well be a bit wrong in step 2 - please file a bug for that :)
Ok, done that: http://jira.codehaus.org/browse/MRM-701
I do use it successfully with the following script to start it though:
#!/bin/sh
version=1.0.1
Ah, I see. You shouldn't move the original configuration (specifically
the classworlds configuration). I just copy the 3 XML files to the new
conf directory.
Also, you are write - the PID file is written to the installation
(which is probably a bug - we should make sure that is addressed in
Hi Brett!
Thanks for you help so far.
On 19 Feb 2008, Brett Porter wrote:
Ah, I see. You shouldn't move the original configuration (specifically
the classworlds configuration). I just copy the 3 XML files to the new
conf directory.
Ok, so this is an issue in the mentioned documentation
yeah - the application expands itself so the whole directory
(services, apps, bin) need to be writeable even if you use an
alternate base. I suspect this is what is needed.
It won't be an issue once MRM-688 is finished for a future version :)
Cheers,
Brett
On 19/02/2008, Martin Hoeller [EMAIL
Brett,
MRM-703. The patch drops the maximum length constraint.
Cheers,
Jim Jackson
On Feb 18, 2008, at 3:23 PM, Brett Porter wrote:
Thanks Jim!
Would you mind putting this in JIRA as an attached patch? Also, I'd
suggest just dropping the maximum length constraint altogether - I
don't see
On 19 Feb 2008, Brett Porter wrote:
oops - you need to edit plexus.xml too.
Which one, a find -name plexus.xml gives me this:
./archiva-data/conf/plexus.xml
./apache-archiva-1.0.1/conf/plexus.xml
./apache-archiva-1.0.1/apps/archiva/conf/plexus.xml
I assume it's either the first or the second
On 19 Feb 2008, Brett Porter wrote:
${appserver.base} should work, but if not you can hardcode it
YES! Finally got it working! Many thanks again to you Brett!
I'll go and file an issue with the updated documentation.
- martin
--
Martin Höller | [EMAIL PROTECTED]
*x Software
I've found a solution: a variation of the %1 %2 %3 ... notation that I've
never come across before: %* which passes all the command line parameters in
one chunk.
A perfect workaround, but there nevertheless appears to be a shortcoming in
Continuum in that double quotes get stripped out where
So how did the demo go on friday?
Any news when we can get our hands on Nexus?
On Feb 13, 2008 8:26 PM, Yoav Landman [EMAIL PROTECTED] wrote:
You might also want to try out Artifactory. It has auto snapshots cleanup + a
range of other advanced features. See:
It seems to work for me. Whenever a new SNAPSHOT version(1.0.0-SNAPSHOT) is
deployed to the reposiroty maven stores it with timestamp witn in the
1.0.0-SNAPSHOT folder. As I can see the artifact-1.0.0-SNAPSHOT.jar keeps on
getting updated corresponding to the latest deployed jar.
So in the
What is the maven way of doing this? Suppose a library you're
writing requires Spring. You write your library against an older
version of Spring (2.0) and you define it as a dependency. Now, when
other projects want to use your library, spring-2.0.jar will be
included in their classpath as a
scopeprovided/scope
On Feb 16, 2008 7:05 PM, James Carman [EMAIL PROTECTED] wrote:
What is the maven way of doing this? Suppose a library you're
writing requires Spring. You write your library against an older
version of Spring (2.0) and you define it as a dependency. Now, when
other
maven-antrun-plugin
unless you're using maven 1.x!
On Feb 16, 2008 6:45 AM, Samavedula, Ravi (GE Healthcare, consultant)
[EMAIL PROTECTED] wrote:
Hi all,
i want to delete files using maven not using ant is there any tag for
doing this.
Thanks in Advance
Ravi S
Hi all,
i want to delete files using maven not using ant is there any tag for
doing this.
Thanks in Advance
Ravi S
You may configure the maven-clean-plugin.
Samavedula, Ravi (GE Healthcare, consultant) wrote:
Hi all,
i want to delete files using maven not using ant is there any tag
for doing this.
Thanks in Advance
Ravi S
-
To
I am using archiva 1.0.1 standalone version. I am trying to deploy my
artifact to archiva 'internal' repository using 'mvn: deploy'.
1) I have done following changes to my artifact's POM:
-added repository and snapshotRepository sections under
distributionManagement element with appropriate id and
I'm not sure what either of you mean here.
Normally, your lib's pom just declares a dependency on the recommended
version of the lib you want (Spring in this case), eg
version2.0.4/version
When a project depends on your lib but doesn't otherwise use Spring,
then your recommended version is
James Carman wrote:
What is the maven way of doing this? Suppose a library you're
writing requires Spring. You write your library against an older
version of Spring (2.0) and you define it as a dependency. Now, when
other projects want to use your library, spring-2.0.jar will be
included in
does maven has plugin to support subversion?
can it support the feature like subversion copy?
BR//Rex
It's the SCM plugin
http://maven.apache.org/scm/plugins/
There's no copy but you can create branches or tags.
You can also automate your process to release your project or to create a
branch with the release plugin :
http://maven.apache.org/plugins/maven-release-plugin/
Arnaud
On Feb 18, 2008
Hello,
I would like to know what is the current status/plans of the various
javascript handling plugins out there. Few months ago there has been
some discussions on this topic and some talks about merging
projects. I am currently using jstools plugin, with jsunit for test
execution, and would like
On 18 Feb 2008, Sunita Pahwa wrote:
I am using archiva 1.0.1 standalone version. I am trying to deploy my
artifact to archiva 'internal' repository using 'mvn: deploy'.
1) I have done following changes to my artifact's POM:
-added repository and snapshotRepository sections under
Hi All,
We've been using maven for a while now and would now like to create a
template for jumpstarting new projects specific to our products.
I've had a look at the guide to creating archetypes:
http://maven.apache.org/guides/mini/guide-creating-archetypes.html
but this seems a bit
You can look at the jslint report that will check for some structural rules
(
http://mojo.codehaus.org/javascript-maven-tools/javascript-report-maven-plugin/index.html
)
Not sure, but syntactic errors should be detected also.
2008/2/18, Insitu [EMAIL PROTECTED]:
Hello,
I would like to know
Insitu wrote:
Hello,
I would like to know what is the current status/plans of the various
javascript handling plugins out there. Few months ago there has been
some discussions on this topic and some talks about merging
projects. I am currently using jstools plugin, with jsunit for test
-Original Message-
From: Dan Fabulich [mailto:[EMAIL PROTECTED]
Sent: 15 February 2008 22:52
To: Maven Users List
Subject: Re: Surefire 2.4.1 classpath order
Ben Lidgey wrote:
We are running tests using Surefire 2.4.1 and Maven 2.0.8.
[...]
[snip]
I'm not 100% certain you're
Yes, Eclipse 3.3
On 2/17/08, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Do you have eclipse 3.3 ??
On Feb 17, 2008 6:28 PM, deckrider [EMAIL PROTECTED] wrote:
On Feb 15, 2008 10:59 PM, Wendy Smoak [EMAIL PROTECTED] wrote:
On Feb 15, 2008 9:09 PM, deckrider [EMAIL PROTECTED] wrote:
This new plugin seems to be a great improvement and I welcome the further
development.
However, i'm not sure if it was intended to be picked up by the whole maven
user population?
This is because:
- There is no backwards compatability, suddenly maven no longer works as it
used to
- The
I fill a block like this:
mirrors
mirror
mirrorOf*/mirrorOf
/mirror
/mirrors
I don´t need to fill the other mirror parameters?
Thanks, Marcelo
On Feb 15, 2008 6:29 PM, Wendy Smoak [EMAIL PROTECTED] wrote:
On Fri, Feb 15, 2008 at 1:26 PM, Marcelo Alcantara [EMAIL PROTECTED]
Hi,
Trial and error sorted this out
In the pom I declared the dependency with typeejb-client/type
In the assemble.xml I have
includecom.xxx.cml:cml-trigger-ejb/include
This creates cml-trigger-ejb.jar in the dist but only including the
client classes.
Not exactly what I was after
This is indeed a buggy feature: the retrieved snpashot dependency, in
the case of a war module for example, is sometime included as
mydependency-1.0-SNAPSHOT.jar, and sometimes as
mydependency-1.0-TIMESTAMP.jar. If a mvn clean is not done, a dependency
can also be included twice as
Manos Batsis [EMAIL PROTECTED] writes:
Is there something you need beyond a jslint report for syntax
errors/best practices in general? You can get a jslint report from
jstools see [1] for an example. Nicolas' javascript plugin over at
codehaus also offers jslint checking.
Thanks for your
Hi Olivier,
It works well. Thanks (again).
But (for information) it seems that it not deploy yet (the
2.1-alpha-2-20080216.004105-7 version does not include this improvement, cf.
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2-SNAPSHOT/).
If it is just about the file names, you can configure those with
outputFileNameMapping${artifactId}${classifier}.${extension}/outputFileNameMapping
where ${classifier} here denotes client in case of ejb-client or
nothing in case of ejb.
Stefan
Richard Featherstone wrote:
Hi,
Trial and
___
Cellent Finance Solutions AG
Firmensitz: Calwer Straße 33, 70173 Stuttgart
Registergericht: Amtsgericht Stuttgart, HRB 720743
Vorstand: Thomas Wild
Vorsitzender des Aufsichtsrats: Rudolf Zipf---BeginMessage---
Hi all,
is it possible to access the
Hi,
I think it should be possible to use the includes/excludes and
outputFileName configuration elements for the plugin in conjunction
with multiple executions during an appropriate phase, e.g.
generate-test-resources for your purpose.
regards,
Stefan
simon wrote:
Hi,
I want to create
On Feb 15, 2008 11:24 AM, Jakub Kozisek [EMAIL PROTECTED] wrote:
I played some more with Continuum and found something interesting - this
exception is thrown only when sending validation emails. If I build a
project and with mail notification configured, everything is working like a
charm.
Of course you have to fill the other mirror parameters. Please read
the page linked by Wendy.
Wayne
On 2/18/08, Marcelo Alcantara [EMAIL PROTECTED] wrote:
I fill a block like this:
mirrors
mirror
mirrorOf*/mirrorOf
/mirror
/mirrors
I don´t need to fill the other mirror
On Feb 18, 2008 4:35 AM, Martin Hoeller [EMAIL PROTECTED] wrote:
On 18 Feb 2008, Sunita Pahwa wrote:
I have followed all the steps specified at
http://maven.apache.org/archiva/docs/1.0/userguide/deploy.html but it is not
working.
Unfortunately this documentation is somewhat inconsistent
Hi,
Related jira issue : http://jira.codehaus.org/browse/MWAR-145
--
Olivier
2008/2/18, Rémy Sanlaville [EMAIL PROTECTED]:
Hi Olivier,
It works well. Thanks (again).
But (for information) it seems that it not deploy yet (the
2.1-alpha-2-20080216.004105-7 version does not include this
BTW - is maven 2.1 (SNAPSHOT) considered relatively stable at the
moment? I am considering using it now to get around my JDK 1.6 issues.
My projects are relatively simple. I will give it a try, but wanted to
know if I should expect any major issues.
On Feb 17, 2008 10:27 PM, Andrew Robinson
Hi,
Our Mavenide seems to be maven 2.0.4, is there a way to put the latest
stable into the NB plugin?
TIA
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable to
exercise control over the content of information in E-Mails. Any views and
opinions expressed may be
On Feb 18, 2008 10:31 AM, Papapara Tudu [EMAIL PROTECTED] wrote:
I'm using Archiva 1.0.1 and Maven 2.0.8.
My Maven settings.xml are the default ones, no changes (on both machines).
My pom.xml has the following entry:
...
repositories
...
No pluginRespositories ? You'll need to
Having some major plug in execution issues. Two developers, same version of maven (2.0.8), same codebase, same POM, using the same internal repository (archiva-based) that proxies/mirrors everything.From the command line, I can build perfectly, all tests pass, no problem. From eclipse (0.12 Maven
Hi,
Currently, I am having an issue with maven while using an internal
archiva repository. Our development repository is hosted on a local
server and in any project poms, we include the repository like this:
repositories
repository
idinternal/id
Wayne Fay wrote:
What software are you using to run your internal repository? And how
did you get the plugin there (mvn deploy; manual copy of files;
something else)? Make sure the metadata is present for the Eclipse
plugin in your repo.
I'm using Archiva 1.0.1 and Maven 2.0.8.
My Maven
Here's some code to test in ResourcesMojo to try and sniff binary files
out from text without looking at extensions...
Have a play, let me know if it is useful.
Regards,
John
private void copyFile(File from, final File to, boolean filtering)
throws IOException {
If the company superpom is not in a repository that your continuum
server or the user under which that server runs (via settings.xml)
knows about, then it will not find it. One solution is to import the
superpom separately and build it within continuum, because then it
will be in the
Errr, let me modify that a little. Looks like the other developer is
not using the same code/pom, we'll resolve that shortly.
My issues still persist, but I can get around the error in Eclipse by
removing the wagon extension from the POM.
Coleman
On Feb 18, 2008, at 12:31 PM, John
only by upgrading to the latest trunk (daily builds at
http://deadlock.netbeans.org/hudson/job/mevenide/)
that one use the latest (January/February) 2.1-SNAPSHOT.
Unfurtunately there's no way to put pre-2.1 stable releases as
embedded version (due to design problems on 2.0.x branch) Please not
What is the difference between arguments and commandLineArgs? I would
guess, based on the descriptions, that the former affect the class while
the latter affect the JVM, the command line being java. Yet elsewhere in
the documentation it says that this runs within the same JVM and you must
use
I have the exact same problem. This is pretty frustrating. Is there a way to
revert to the old plugin version until this is resolved?
kroe wrote:
The -DremoteRepositories solution looks good, but I can't get it to work.
The archetype plugin doesn't seem to be respecting the
Hi Wendy!
On 18 Feb 2008, Wendy Smoak wrote:
On Feb 18, 2008 4:35 AM, Martin Hoeller [EMAIL PROTECTED] wrote:
On 18 Feb 2008, Sunita Pahwa wrote:
I have followed all the steps specified at
http://maven.apache.org/archiva/docs/1.0/userguide/deploy.html but it is
not
working.
Please don't cross-post to multiple lists - pick one that is most
relevant to your problem.
If you are specifying the version in your POM then you should be
getting the same version of the hibernate plugin every time. You can
confirm that by -X.
I think you should talk to the authors of that
Thanks Jim!
Would you mind putting this in JIRA as an attached patch? Also, I'd
suggest just dropping the maximum length constraint altogether - I
don't see that it adds anything?
Thanks,
Brett
On 19/02/2008, Jim Jackson [EMAIL PROTECTED] wrote:
We store Mac OS X jnilib artifacts in our
Hello Benjamin
Can you explain a little more, or post example in the differences when you
run it offline or not.
Regards
Johann Reyes
I responded on the users@maven.apache.org list since this was cross-posted.
On 19/02/2008, Benjamin Scribner [EMAIL PROTECTED] wrote:
Hi,
Currently, I am having an issue with maven while using an internal
archiva repository. Our development repository is hosted on a local
server and in any
This has been posted probably 10 times in the last week...
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ...
That will allow you to use the old archetype plugin while the issue
with the new plugin is being resolved.
Wayne
On 2/18/08, Mike Cantrell [EMAIL PROTECTED]
Thanks for the reply, Brett.
I do not think that this is a hibernate plugin issue because my build is
working and tests are passing when I am in offline mode. The plugin that
is installed in my computer's repository works fine. I suspect that
there is a corrupt library somewhere on our local
On Mon, 2008-02-18 at 23:08 +0100, Stamer, Jan wrote:
Hi all,
is it possible to access the version of a dependency via a property?
Detailed problem description:
I have the following pom.xml:
dependencies
dependency
groupIdmyGroupId/groupId
Hi all,
is it possible to access the version of a dependency via a property?
Detailed problem description:
I have the following pom.xml:
dependencies
dependency
groupIdmyGroupId/groupId
artifactIdmyArtifactId/artifactId
version41/version
/dependency
Can anyone explain why I am getting the following error when running sh
bootstrap.sh and how to rectify it?
[INFO]
Exception in thread main java.lang.Exception: Error executing Maven: exit
code = 1
at
Hello list,
Is there way I can pass System Property on command line instead of pom xml
to the programming run by exec:java plugin?
Thanks,
Zemian Deng.
Ben Lidgey wrote:
property value=
C:\Documents and Settings\benl\.m2\repository\junit\junit\4.2\junit-4.2.jar;
[more jars]
c:\Development\Projects\Inuk\Inuk\ResidentialFramework\BroadbandGateway\target\classes;
Hi Hi,
This is the error I am getting which is causing my sites to build/behave
badly. The model file path is wrong in the log below, and the project is
unknown... not sure why any of this is happening
[INFO] [site:site]
[INFO] Unable to load parent project from a relative path: Could
Dan -
Do you know if that bug was introduced in 2.0.7 (or some other earlier
release)? My team is using 2.0.4 and we encountered a problem with the
classpath ordering recently that caused builds to that were previously
working to suddenly start failing.
Thanks,
Ken
On 2/15/08, Dan Fabulich
This is a known issue:
http://jira.codehaus.org/browse/MSITE-261
On Feb 19, 2008 9:36 AM, Andrew Hughes [EMAIL PROTECTED] wrote:
Hi Hi,
This is the error I am getting which is causing my sites to
build/behave badly. The model file path is wrong in the log below, and the
project is
There is something strange going on here.
When you build and are NOT offline, maven will copy things it needs from the
remote repo it is using to your local repo and then use them.
If you are using several remote repos (e.g. your local repo server and maven
central) it gets more complex. But,
Are you using this in the parent pom?
module../module-1/module
As I remember, this works if done some ways.
You can build if you issue 'mvn' from /parent mostly
You can build if you issue mvn -f parent/pom.xml from the folder above all
the project folders mostly
You can build if you issue 'mvn'
Sad ... replying to myself.
I noticed one thing when I read the Jira issue Andrew linked to.
When doing the site you have to do install site to make it work unless
you did an install since the last change to the parent pom.
-- lee
On Feb 18, 2008 6:10 PM, Lee Meador [EMAIL PROTECTED] wrote:
Ken Liu wrote:
Do you know if that bug was introduced in 2.0.7 (or some other earlier
release)?
I talked about two JIRA issues; their interactions are complex.
SUREFIRE-61 is listed as affecting 2.0 (2.2 plugin); that means it has
probably been around for a long time. MNG-3118 is an
Hi Lee,
I think by default the relative path is ../pom.xml which is ok unless you
have a flat (eclipse friendly) structure like we do. So you probably don't
need it set.
Yes I most certainly have modules in my parent.
From the logs tho, it is using the parent ${basedir} even when it is within
a
Is parent's pom in repository? I too had faced similar problem(not with
site), then after help from user list I installed the Parent's pom as well
in the repository(local/remote) with install/deploy.
It solved the problem for me after that.
Regards,
Amit
On Feb 19, 2008 9:18 AM, Andrew Hughes
My maven will try to download all the dependency jars including source-code
and javadoc. There are many errors for downloading source-code and javadoc.
How can disable maven to download them?
--
View this message in context:
Hi Simon,
ok that would work but only given that I do not use version intervals (which I
do).
If I do it like you said:
dependencies
dependency
...
version${myArtifactIdVersion/version
/dependency
/dependencies
properties
myArtifactIdVersion[1.0,2.0)/myArtifactIdVersion
Hi,
I just started learning Maven. Few days back I executed the command to build
a project.
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
It executed by itself created the pom.xml and the directory structure.
Recently when I executed the same command I got a menu to select
On 19 Feb 2008, Martin Hoeller wrote:
On 19 Feb 2008, Brett Porter wrote:
oops - you need to edit plexus.xml too.
Which one, a find -name plexus.xml gives me this:
./archiva-data/conf/plexus.xml
./apache-archiva-1.0.1/conf/plexus.xml
oops - you need to edit plexus.xml too.
If you could file one bug that captures all the problems with this
given document (preferably with a patch ;) it would be much
appreciated.
- Brett
On 19/02/2008, Martin Hoeller [EMAIL PROTECTED] wrote:
Morning!
On 19 Feb 2008, Brett Porter wrote:
86 matches
Mail list logo