Re: howto configure svn access with maven2 using ssh connection

2008-02-06 Thread Ulrich Metzger
Thanks for the quick reply,
but maybe this is not what i want.

as far as i know, the svn repository access is configured in the 
section.
I want to acces a subversion source repository not a maven artifact
repository.
So i configured something like the following to access the server's
subversion repository using ssh:



scm:svn:svn+ssh://[EMAIL 
PROTECTED]/path/to/repository/<http://scm//[EMAIL 
PROTECTED]/path/to/repository/>


scm:svn:svn+ssh://[EMAIL 
PROTECTED]/path/to/repository/<http://scm//[EMAIL 
PROTECTED]/path/to/repository/>

HEAD


Which does not work.
I wonder where the password for the ssh connection should be stored, and how
the correct subversion db path could be located (maybe throught the HEAD
tag)?

hope someone knows more about this type of scm configuration.

Uli

2008/2/5, Simon Kitching <[EMAIL PROTECTED]>:
>
>  Ulrich Metzger <[EMAIL PROTECTED]> schrieb:
> > Hi list,
> > i tryed to configure the scm settings in a maven 2 pom.xml using ssh to
> > access the remote svn repository.
> > But i could not find any example or documentation how to manage this.
> > Does anybody know if this is possible and if yes, how to set up this
> kind of
> > repository access, when a username and password is required for ssh
> login on
> > the remote machine.
> > I would be interested in a solution which works with Windows and Linux
> > client systems.
>
> I have this in ~/.m2/settings.xml:
>
> 
>   
> 
>   server1
>   user1
>   pwd1
> 
>
> 
>   server2
>   user2
>   pwd2
>   /home/user2/.ssh/somekey
> 
>   
> 
>
> where the ids match the id properties of the repository definitions in the
> pom.xml file.
>
> Regards,
> Simon
>


howto configure svn access with maven2 using ssh connection

2008-02-05 Thread Ulrich Metzger
Hi list,
i tryed to configure the scm settings in a maven 2 pom.xml using ssh to
access the remote svn repository.
But i could not find any example or documentation how to manage this.
Does anybody know if this is possible and if yes, how to set up this kind of
repository access, when a username and password is required for ssh login on
the remote machine.
I would be interested in a solution which works with Windows and Linux
client systems.

Thanks
Uli


Repository browsing does not work

2007-11-06 Thread Ulrich Metzger
Hi list,
i've installed the Beta3 version of archiva, and changed the path of the
default "internal" repository to point to  an existing  m2 repository.
After scanning, the report shows the number of found files, but when i tryed
the "Browse"  function, there is allways an empty  page. All other
functions under the menu "Find" did not find anything.
How do I get the Browse funktion to work?
Is there something like an enduser documentation?

Uli


Re: Maven 1.x to run SQL scripts

2007-02-28 Thread Ulrich Metzger

i use the maven sql plugin with maven 1.0.2 :

http://www.codeczar.com/products/maven-sql-plugin/

Uli

2007/2/27, Build Admin <[EMAIL PROTECTED]>:


How to run SQL scripts using maven 1.x? Is there any plugin to use?
Frenz, I am looking for your help in this.
Thanks in Advance.



RE: deploying jars without version information

2007-02-14 Thread Ulrich Metzger

I searched the mail archives because of the following problem:

Hi,



Does anybody know if you can have Maven deploy the jars that end up in
webapp/WEB-INF/lib without the *version* *information* in the filename?



Thanks,

Jpl


Ok, i found a solution which works for me with maven 1.
In your maven.xml file define a pregoal for the war plugin:

   




   
   
   
   

   
   

this removes the version part when copying the files.
Hope this will help, or give you a new idea how to find a solution

Uli


Re: SCM problems

2007-02-01 Thread Ulrich Metzger

Hi,
i had to solve the same problem.
To put the .cvspass file containing the cvs login information in the
homedirectory of the user running continuum solved the problem for me.

Uli

2007/2/2, Eric Rose <[EMAIL PROTECTED]>:


Hi,

I am trying to get continuum working to see if it will do a better job
than
our current cruisecontrol setup. The version of continuum I am using is
1.0.3
and I cannot get a reliable build from it.

The POM contains a SCM connection string like the following:

scm:cvs:pserver:[EMAIL PROTECTED]:2401/path/to/module

which works fine for Maven.

When I added the project and triggered a build, it failed with the error
that
a password was needed. According to the FAQ, the SCM URL should be changed
to :anonymous:@cvsserver: so I did this and the build worked. So far so
good...

I then triggered another build and it failed again with the initial error.
Going back to check the project info, I notice that the original SCM URL
has
replaced my modified version. Has anyone else seen, and hopefully found a
reason for, this lacy of persistence of a project configuration?

A second issue is that the port number in my URL causes problems, and I
end up
with messages in wrapper.log like the following:

INFO   | jvm 1| 2007/02/02 10:36:04 | 2007-02-02 10:36:04,122
[Thread-2]
DEBUG ScmManager -
cvsRoot: :pserver:[EMAIL PROTECTED]:24012401/path/to/module

If I remove the port number from the configuration, I run into the first
issue
where the changes aren't persisted to further builds.

Thanks for any pointers,

Eric

--
Eric Rose  | "Sed quis custodiet ipsos custodes?"
[EMAIL PROTECTED]   | Juvenal (Satires, VI.347-8)

***
This message contains privileged and confidential information intended
only for the use of the addressee named above.  If you are not the
intended recipient of this message you must not disseminate, copy or
take any action in reliance on it.  If you have received this message
in error please notify the sender immediately.  Any views expressed in
this message are those of the individual sender, except where the
sender specifically states them to be the views of another (including
a Body Corporate).

If you wish to opt out from future messages, send an email to
[EMAIL PROTECTED] with the subject UNSUBSCRIBE






Re: converting m1 pom to m2 pom

2006-12-15 Thread Ulrich Metzger

That would be better than converting manually when you have more
projects. So the question is how to use the converter. Is there a main
class, which is called with parameters? The archiva webapp does not
seem to support  pom conversion.

Uli

2006/12/14, Carlos Sanchez <[EMAIL PROTECTED]>:

that's archiva-converter, but only for poms

On 12/14/06, Ulrich Metzger <[EMAIL PROTECTED]> wrote:
> Hy,
> I saw that there is an archiva-converter project. Does anyone know if
> it is possible to convert maven 1 pom (project.xml, maven.xml project
> properties) to maven 2 pom?
>
> Uli
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride



Re: Error when trying to add admin user (java.lang.IllegalStateException: The security policy has not yet been set)

2006-12-14 Thread Ulrich Metzger
teAdapter.java:148)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)

at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)

at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)

at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)

at java.lang.Thread.run(Thread.java:595)



Thanks in advance!





Eric R. Medley

The Palantir Corporation


Eric R. Medley
(847) 571-6013

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Monday, December 11, 2006 3:57 PM
To: archiva-users@maven.apache.org
Subject: Re: Error when trying to add admin user
(java.lang.IllegalStateException: The security policy has not yet been set)

what version? what stacktrace? is this to add a 2nd admin?

On 12/11/06, Ulrich Metzger <[EMAIL PROTECTED]> wrote:
> I have the same problem. The problem occurs with jetty or tomcat als JSP
engine.
>
> Uli
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride




converting m1 pom to m2 pom

2006-12-14 Thread Ulrich Metzger

Hy,
I saw that there is an archiva-converter project. Does anyone know if
it is possible to convert maven 1 pom (project.xml, maven.xml project
properties) to maven 2 pom?

Uli


Re: Build fails on Linux 64Bit

2006-12-14 Thread Ulrich Metzger

Here is the contents of the test output file:

---
Test set: 
org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest
---
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.278
sec <<< FAILURE!
testChecksumArtifactReporterSuccess(org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest)
Time elapsed: 0.049 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<0> but was:<1>
   at junit.framework.Assert.fail(Assert.java:47)
   at junit.framework.Assert.failNotEquals(Assert.java:282)
   at junit.framework.Assert.assertEquals(Assert.java:64)
   at junit.framework.Assert.assertEquals(Assert.java:201)
   at junit.framework.Assert.assertEquals(Assert.java:207)
   at 
org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest.testChecksumArtifactReporterSuccess(ChecksumArtifactReporterTest.java:72)

#

2006/12/11, Emmanuel Venisse <[EMAIL PROTECTED]>:

We need the ChecksumArtifactReporterTest report saved in 
target/surefire-reports directory

Emmanuel




Error when trying to add admin user (java.lang.IllegalStateException: The security policy has not yet been set)

2006-12-11 Thread Ulrich Metzger

I have the same problem. The problem occurs with jetty or tomcat als JSP engine.

Uli


Re: Build fails on Linux 64Bit

2006-12-11 Thread Ulrich Metzger
64M
[INFO] 

hope this will help to trace it down
Uli




2006/12/7, Carlos Sanchez <[EMAIL PROTECTED]>:

well, you'd need to post the test result

On 12/7/06, Ulrich Metzger <[EMAIL PROTECTED]> wrote:
> There is at least one test which fails on Linux 64Bit with
> jrockit-R26.4.0-jdk1.5.0_06 JDK installed.
>
> Running 
org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.261
> sec <<< FAILURE!
> Running 
org.apache.maven.archiva.reporting.processor.DuplicateArtifactFileReportProcessorTest
> artifact = groupId:artifactId:jar:1.0-alpha-1
>
>
> On Windows the build passes. Does anyone know how to get this fixed?
>
> Uli
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride



Build fails on Linux 64Bit

2006-12-07 Thread Ulrich Metzger

There is at least one test which fails on Linux 64Bit with
jrockit-R26.4.0-jdk1.5.0_06 JDK installed.

Running org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.261
sec <<< FAILURE!
Running 
org.apache.maven.archiva.reporting.processor.DuplicateArtifactFileReportProcessorTest
artifact = groupId:artifactId:jar:1.0-alpha-1


On Windows the build passes. Does anyone know how to get this fixed?

Uli


How to change Project-Group in version 1.0.1

2005-11-30 Thread Ulrich Metzger
Hello,

who knows, how to change the projects group entry. If you update the
Project information, the group entry is missing in the updateform.

Where does the initial value come from?

 

Uli