Error with maven-project-info-reports-plugin

2011-08-03 Thread Alexander Vaysberg
Hi,
I use maven-project-info-reports-plugin and i have a problem. The
configuration for in pom.xml:




org.apache.maven.plugins
maven-project-info-reports-plugin
2.4

   
false




index
summary
license
project-team
mailing-list
scm
cim
issue-tracking
dependencies






...
   
 
org.apache.maven.plugins
maven-site-plugin
2.2


org.apache.maven.doxia
doxia-sink-api
1.1.3


org.apache.maven.doxia
doxia-core
1.1.3




...

and if I call: clean install site, than I have this output:

[INFO] Generating "Portal Dependency Report" report.
[INFO] Generating dependency report.
[INFO] Writing output as XML file.
[INFO] Writing to
[/export/development/doc/daten/dependency-reports/test.test/test/1.0.1-SNAPSHOT/dependencies.xml].
[ERROR] Error writing XML output file.
java.io.FileNotFoundException:
/export/development/doc/daten/dependency-reports/test.test/test/1.0.1-SNAPSHOT/dependencies.xml
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)

In Page for plugin I have not found the information, how I can the
configure the path for this dependencies.xml. Know everybody ?

Alexander Vaysberg


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Problem with properties in Maven.

2011-01-14 Thread Alexander Vaysberg
yes, now i know it. But think this part must be on separate scope. Not
globally for alls, or?
If it's globally, than it any must write, which name of the properties
don't be used, or?
Am 14.01.2011 15:52, schrieb Siegmar Alber:
> Hi Alexander,
>
>
> 2011/1/14 Alexander Vaysberg :
>> I think, that I a one problem with properties in maven found. The
>> problem in pom with properties. If any know any other properties, which
>> worked same. Please say. Thank you.
>>
>> ...
>> 
>>  0.998
>>  4.8.2
>>  bla
>>  
>> ...
> with the "test" property you (accidentally?) set a parameter of the
> surefire-plugin[1]. Remove or rename your property and it should work
> :-)
>
> [1] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#test
>


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Problem with properties in Maven.

2011-01-14 Thread Alexander Vaysberg
Hi,

I think, that I a one problem with properties in maven found. The
problem in pom with properties. If any know any other properties, which
worked same. Please say. Thank you.

 The Problem can you reproduce with maven 2.2.1 and maven 3.0.1 in
plug-in surefire. I create the property test:
...

  0.998
  4.8.2
  bla
  
...
and if I call mvn clean package test don't worked:
on the version 2.2.1

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] No tests were executed!  (Set -DfailIfNoTests=false to ignore
this error.)
[INFO]

[INFO] For more information, run Maven with the -e switch

and 3.0.1

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1.087s
[INFO] Finished at: Fri Jan 14 15:01:48 CET 2011
[INFO] Final Memory: 6M/119M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test)
on project test: No tests were executed!  (Set -DfailIfNoTests=false to
ignore this error.) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

The Output for surefire :

#surefire
#Fri Jan 14 15:00:57 CET 2011
testClassesDirectory=/work/Projekts/test/test/target/test-classes
classPathUrl.3=/work/repo/maven/mockit/jmockit/0.998/jmockit-0.998.jar
classPathUrl.2=/work/repo/maven/junit/junit/4.8.2/junit-4.8.2.jar
useManifestOnlyJar=true
classPathUrl.1=/work/Projekts/test/test/target/classes
reportsDirectory=/work/Projekts/test/test/target/surefire-reports
classPathUrl.0=/work/Projekts/test/test/target/test-classes
dirscanner.0=directoryScannerOptions
providerConfiguration=org.apache.maven.surefire.junitcore.JUnitCoreProvider
testSuiteDefinitionTestSourceDirectory=/work/Projekts/test/test/src/test/java
surefireClassPathUrl.2=/work/repo/maven/org/apache/maven/surefire/surefire-api/2.7.1/surefire-api-2.7.1.jar
requestedTest=bla
surefireClassPathUrl.1=/work/repo/maven/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
surefireClassPathUrl.0=/work/repo/maven/org/apache/maven/surefire/surefire-junit47/2.7.1/surefire-junit47-2.7.1.jar
report.2=org.apache.maven.surefire.report.XMLReporter
useSystemClassLoader=true
report.1=org.apache.maven.surefire.report.BriefFileReporter
report.0=org.apache.maven.surefire.report.ForkingConsoleReporter
isTrimStackTrace=true
dirscanner.0.params=/work/Projekts/test/test/target/test-classes|[**/bla.java]|[]
enableAssertions=true
failIfNoTests=true
dirscanner.0.types=java.io.File|java.util.ArrayList|java.util.ArrayList
includes0=**/bla.java
parallel=false
childDelegation=false



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: copy list of jars into a war

2010-08-30 Thread Alexander Vaysberg

 Am 30.08.2010 17:25, schrieb mdurrani:

I would like to copy all jars from a lib folder into my war file. I can do it
by listing a dependency tag for each of them but I don't want to put 20
dependency tags in my pom. Is there any way where I can just reference a lib
folder and say to copy all these files to the war?

/lib/
 1.jar
 2.jar
 3.jar
 4.jar
 ..
 20.jar


Thanks,

The first you must read more info for Maven(Book for Sonotype). 
Dependencies must be in the pom.xml.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release plugin with extssh

2009-10-01 Thread Alexander Vaysberg

Hi,



we have scm:cvs:ext: using for cvs. For 7 months we change to svn.  But 
with scm:cvs:ext it was working.



Alexander Vaysberg 


Alexander Vaysberg schrieb:


Hi,

look hier:http://maven.apache.org/scm/cvs.html

I think, it's helpfull for you.

Alexander Vaysberg
fflyw schrieb:

Hi

Do anybody know how toconfiguere  connection for extssh?

I did use  
scm:cvs:extssh:${serv}:/shr/csvroot..


and ran mvn release:prepare

but this do not work, it throws problem - unknown transport extssh

I did try use

scm:cvs:ext:${serv}:/shr/csvroot.. instead, but

but it throws

[INFO] Executing: cvs -z3 -f -d :ext:m...@mylex:/shr/csvroot -n -q 
update -d

[INFO] Working directory: C:\projekts\lims\workspace\lims
java.lang.IllegalArgumentException: password argument is null
at
ch.ethz.ssh2.Connection.authenticateWithPassword(Connection.java:307)

even i have setted  and  in plugin configuration

if i ran
mvn release:prepare  
-Dmaven.scm.provider.cvs.implementation=cvs_native build freezes  on 
[INFO] Executing: cvs -z3 -f -d :ext:m...@mylex:/shr/csvroot -n -q 
update -d

[INFO] Working directory: C:\projekts\lims\workspace\lims

why?

can somebody help me?

Thanks
  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release plugin with extssh

2009-10-01 Thread Alexander Vaysberg

Hi,

look hier: 
   http://maven.apache.org/scm/cvs.html


I think, it's helpfull for you.

Alexander Vaysberg
fflyw schrieb:

Hi

Do anybody know how toconfiguere  connection for extssh?

I did use   


scm:cvs:extssh:${serv}:/shr/csvroot..

and ran mvn release:prepare

but this do not work, it throws problem - unknown transport extssh

I did try use

scm:cvs:ext:${serv}:/shr/csvroot.. instead, but

but it throws

[INFO] Executing: cvs -z3 -f -d :ext:m...@mylex:/shr/csvroot -n -q update -d
[INFO] Working directory: C:\projekts\lims\workspace\lims
java.lang.IllegalArgumentException: password argument is null
at
ch.ethz.ssh2.Connection.authenticateWithPassword(Connection.java:307)

even i have setted  and  in plugin configuration

if i ran 

mvn release:prepare  -Dmaven.scm.provider.cvs.implementation=cvs_native 
build freezes  on 
[INFO] Executing: cvs -z3 -f -d :ext:m...@mylex:/shr/csvroot -n -q update -d

[INFO] Working directory: C:\projekts\lims\workspace\lims

why?

can somebody help me?

Thanks
  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: One pom file generating 2 artifacts

2009-09-16 Thread Alexander Vaysberg

Hi,

yes look in jar plugin: - 
http://maven.apache.org/plugins/maven-jar-plugin/usage.html.
It is in "How to create an additional attached jar artifact from the 
project".


Valentin Jacquemin schrieb:

Hi all,

Is it possible to use one pom file that generates 2 artifacts?
I have one pom taking care of creating an ejb artifact but I'd like to
produce also a jar library containing every interfaces declaration of my ejb
to be able to include it in my war file How can I do that?


Thanks in advance,


Valentin Jacquemin

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



WTP and M2 Plugin.

2009-09-11 Thread Alexander Vaysberg

Hi,

i have a problem with WTP and M2 Plugin. The problem is in file:- 
.settings/org.eclipse.wst.common.component. If you I use the project 
(web-project) without "Resolve dependencies from Workspace ..." it's 
work fine, but if i use the project with  "Resolve dependencies from 
Workspace ..." then i have a problem with jars for dependent projects 
which was created from maven or eclipse.

This is a context of the file:<

   
   
   
   
   


The jar created from this file. In this case added the plugin test data 
in jars. The correct was the this data:-

   
   
ignore. This only for test. But it was in jars added. Why?

Alexander Vaysberg




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How can I add path in classpath entry in Manifest file?

2009-09-01 Thread Alexander Vaysberg

Hi,

yes, that right. so you can added the jars to classpath with relative 
directory.


Marco Huber schrieb:

Hi,

I don't know if this is exactly what you are looking for, but I had to 
add a special path to my manifest classpath entry once. The solution 
was the following:



  maven-jar-plugin

  

  true
  


  ../conf/

  
   


This added all the dependencies and the conf path to the classpath.

HTH,
Marco

Alexander Vaysberg wrote:

Hi,

not only. Look heir: - 
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html.


Worts:
Java Sun:

   * Class-Path :

 The value of this attribute specifies the relative URLs of the
 extensions or libraries that this application or extension needs.
 URLs are separated by one or more spaces. The application or
 extension class loader uses the value of this attribute to
 construct its internal search path.


That means you can in Manifest only jars added, but not a classpath. 
The classpath you mast added if you call the java, or added the jars 
to Manifest. That alls.


Alexander Vaysberg

youhaodeyi schrieb:

Hi,

I have read this but this is not what I want. I want to add path on
classpath. This only tells me how to add dependent on classpath.



Alexander Vaysberg wrote:
 

Hi,

you can it's using this tutorial: - 
http://maven.apache.org/shared/maven-archiver/examples/classpath.html.
The jar-plugin has many of the properties. It's heir: - 
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html.


Alexander Vaysberg

youhaodeyi schrieb:
  
I have some resource files which should be defined in classpath 
entry in
Manifest.mf in a jar. I found that I can use jar plugin to add 
dependency

on
classpath but I can't add a customize path on the classpath. How 
can I do

this with maven?

thanks.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How can I add path in classpath entry in Manifest file?

2009-09-01 Thread Alexander Vaysberg

Hi,

not only. Look heir: - http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html.

Worts:
Java Sun:

   * Class-Path :

 The value of this attribute specifies the relative URLs of the
 extensions or libraries that this application or extension needs.
 URLs are separated by one or more spaces. The application or
 extension class loader uses the value of this attribute to
 construct its internal search path.


That means you can in Manifest only jars added, but not a classpath. The 
classpath you mast added if you call the java, or added the jars to 
Manifest. That alls.


Alexander Vaysberg

youhaodeyi schrieb:

Hi,

I have read this but this is not what I want. I want to add path on
classpath. This only tells me how to add dependent on classpath.



Alexander Vaysberg wrote:
  

Hi,

you can it's using this tutorial: - 
http://maven.apache.org/shared/maven-archiver/examples/classpath.html.
The jar-plugin has many of the properties. It's heir: - 
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html.


Alexander Vaysberg

youhaodeyi schrieb:


I have some resource files which should be defined in classpath entry in
Manifest.mf in a jar. I found that I can use jar plugin to add dependency
on
classpath but I can't add a customize path on the classpath. How can I do
this with maven?

thanks.
  
  

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How can I add path in classpath entry in Manifest file?

2009-08-31 Thread Alexander Vaysberg

Hi,

you can it's using this tutorial: - 
http://maven.apache.org/shared/maven-archiver/examples/classpath.html.
The jar-plugin has many of the properties. It's heir: - 
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html.


Alexander Vaysberg

youhaodeyi schrieb:

I have some resource files which should be defined in classpath entry in
Manifest.mf in a jar. I found that I can use jar plugin to add dependency on
classpath but I can't add a customize path on the classpath. How can I do
this with maven?

thanks.
  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



M2Plugin put the test resources in jar.

2009-08-28 Thread Alexander Vaysberg

Hi,

I have a problem with maven. If I use the M2 Plugin with Resolve 
dependencies from Workspace projects, than include the maven in jar the 
test resources. Why? I want the jar without test resources, so same as 
in repository. M2 Plugin is 0.9.8.


Alexander Vaysberg.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



bug on the m2 plugin

2009-08-28 Thread Alexander Vaysberg

Hi ,

i have in April the this problem between M2 Plugin and Maven:- 
http://www.nabble.com/M2-and-Eclipse-td23195404.html.


Can you say, have you any changed?


   Re : Re : Re : Re : M2 and Eclipse

Click to flag this post 

by Julien HENRY <http://www.nabble.com/user/UserProfile.jtp?user=76762> 
Apr 23, 2009; 04:46pm :: Rate this Message: 
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#> 
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#> 
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#> 
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#> 
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#> 
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#> 
<http://www.nabble.com/M2-and-Eclipse-td23195404.html#>- Use ratings to 
moderate (? <http://www.nabble.com/help/Answer.jtp?id=16>)


Reply <http://www.nabble.com/forum/Reply.jtp?post=23198803> | Reply to 
Author <http://www.nabble.com/user/SendEmail.jtp?type=pm&post=23198803> 
| Print <http://www.nabble.com/forum/PrintPost.jtp?post=23198803> | View 
Threaded  | 
Show Only this Message 
<http://www.nabble.com/Re-%3A-Re-%3A-Re-%3A-Re-%3A-M2-and-Eclipse-p23198803.html> 




Good point. According to me, *m2eclipse* should rely on servlet API 
version instead of Java version. Perhaps should you open a bug on 
*m2eclipse* tracker:

https://issues.sonatype.org/browse/MNGECLIPSE

Regards,

Julien



- Message d'origine 
De : Alexander *Vaysberg* <http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=0>>
À : Maven Users List <http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=1>>

Envoyé le : Jeudi, 23 Avril 2009, 15h30mn 44s
Objet : Re: Re : Re : Re : *M2* *and* Eclipse

but, if i have a *project* with 1.5 jdk *and* must using the 2.4 *web* 
server?


Julien HENRY schrieb:
 It seems that if in maven-compiler-*plugin* configuration you have 
1.5 1.5 then the *web* version will be 
2.5.


 See the mapping file here:

http://svn.sonatype.org/*m2eclipse*/branches/raghu/org.maven.ide.eclipse.wtp.*facet*/src/org/maven/ide/eclipse/wtp/*facet*/jst.*web*.properties 
<http://svn.sonatype.org/m2eclipse/branches/raghu/org.maven.ide.eclipse.wtp.facet/src/org/maven/ide/eclipse/wtp/facet/jst.web.properties>


 Regards



 - Message d'origine 
 De : Alexander *Vaysberg* 
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=2>>
 À : Maven Users List 
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=3>>

 Envoyé le : Jeudi, 23 Avril 2009, 15h10mn 19s
 Objet : Re: Re : Re : *M2* *and* Eclipse

 ok, *and* how I can it's management?

 Julien HENRY schrieb:
  
> *Forgot* my previous message.

>
>
> According to [1] it seems it is not based on servlet-api version but 

on compiler version.

>
> [1] : http://docs.codehaus.org/display/*M2ECLIPSE*/Maven+To+WTP 

<http://docs.codehaus.org/display/M2ECLIPSE/Maven+To+WTP>

>
> Julien
>
>
> - Message d'origine 
> De : Julien HENRY 
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=4>>
> À : Maven Users List 
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=5>>

> Envoyé le : Jeudi, 23 Avril 2009, 14h11mn 11s
> Objet : Re : *M2* *and* Eclipse
>
>
> Hi,
>
> Do you have declared servlet-api as a dependency in your pom? If yes, 

which version?

>
> Regards,
>
> Julien
>
>
>
> - Message d'origine 
> De : Alexander *Vaysberg* 
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=6>>
> À : Maven Users List 
<http://www.nabble.com/user/SendEmail.jtp?type=post&post=23198803&i=7>>

> Envoyé le : Jeudi, 23 Avril 2009, 13h55mn 55s
> Objet : *M2* *and* Eclipse
>
> Hi,
>
> i have a Problem with *M2Plugin* in Eclipse. If I generate the 
*project* with  mvn eclipse:*m2eclipse* then the 
org.eclipse.wst.common.*project*.*facet*.core.xml has :

> <*faceted*-*project*>
> 
> 
> 
> 
> 
> But, if I used the in Eclipse "Update *Project* Configuration" than I 

have:

> 
> <*faceted*-*project*>
> 
> 
> 
> 
> 
> The Problem ist jst.*web* version="2.5". I use Tomcat 5.5(Tomcat 
version 5.5 only supports J2EE 1..2, 1.3, *and* 1.4 *Web* modules).. 
Tomcat 5.5 is 2.4. How can I it configuration, that is the same  if  I 
it  "Update *Project* Configuration".

>
> Alexander *Vaysberg*
>


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: property files management: best practices?

2009-07-24 Thread Alexander Vaysberg

Hi,

the maven can it make with many possibility,  the first is separete the 
test configuration from production configuration. For this has maven 
/src/test/resources.


Alexander Vaysberg
florian.cavagn...@ingdirect.fr schrieb:

Hi

I know that by convention the property files of a java maven project are
in src/main/resources.

But in my case, I have a pom which have about 50 modules, each module is
a jar project.

Some property files are common, as connection to database, spring
configuration files, etc...

I want to have theses common files shared by all my modules, available
in their classpath to run tests.

What are the best practices concerning this kind of situation?


Thanks

Florian
-
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: copy\move plugin

2009-07-24 Thread Alexander Vaysberg
yes, but this possibility only for max 2 jars. I think in case of the 
Alexander, it is a solution. That the same as for EJB 2.

Thanks.

Alexander schrieb:
Oh, I found assembly plugin suitable for my needs. Thanks lot to all! 


2009/7/23 Alexander Vaysberg mailto:w...@vaisberg.de>>

I think, it was better the common project, server and  client
project created. But other solution can be a assembling plugin.
The first soluction with project for me was better. I can a
release for common, client and server make. With assembling can I
only default release make but not for client and server, or?

Jonathan Woods schrieb:

Then it might be more naturally 'Maven' to have 3 projects, 2
of them
depending on the common third.
 


-Original Message-
From: Alexander [mailto:the.malk...@gmail.com
<mailto:the.malk...@gmail.com>] Sent: 23 July 2009 10:37
To: Maven Users List
Subject: Re: copy\move plugin

Nope, client looks exactly like server. They have no code
difference. Only some configuration files.

    2009/7/23 Alexander Vaysberg mailto:w...@vaisberg.de>>

   


The simply was create 2 project client and server. You
can it make with multi-project. In this case you have
a separetly you  

client and


server application.

Alexander schrieb:

 Hello,
 


I must distribute different set of resource files\
bat

files\ images


at server and client application. For server I
have to

copy bat files


to register in servers, properties with db
configuration

and so on.


But client don't need them - it only connects to
server.

I want to type "mvn package" and after moment see
two distrinct folders for server and client use.

    2009/7/23 Alexander Vaysberg mailto:w...@vaisberg.de>>



   


The Maven is not same as Ant. The first
question is why  

you need the


same file on different places? If you try make
a project  

for alls,


that the maven, isn't for you.

Alexander schrieb:

 Hello,


 


It seems like it is impossible to copy one
file to several different locations not
under target directory. Sure, I can copy
several different files to one directory
but not otherwise.

2009/7/23 Lewis, Eric mailto:eric.le...@ipi.ch>>





   


No, by specifying outputDirectory, you
can copy  


anywhere you like.
   


See



 


http://maven.apache.org/plugins/maven-resources-plugin/copy-resour
   


ces-mojo.html

Just make sure your files aren't
filtered, for instance


 my_output
 
 
  my_input
  false
 
 


It's really flexible, read the
examples, for instance  

'Including


and excluding files and directories'.

Best regards,
Eric





 


-Ursprüngliche Nachricht-
Von: Alexander
[mailto:the.malk...@gmail.com
<mailto:the.malk...@gmail.com>]
Gesendet: Donnerstag, 23. Juli
2009 09:48
An: Maven Users List
  

Re: copy\move plugin

2009-07-23 Thread Alexander Vaysberg
I think, it was better the common project, server and  client project 
created. But other solution can be a assembling plugin. The first 
soluction with project for me was better. I can a release for common, 
client and server make. With assembling can I only default release make 
but not for client and server, or?


Jonathan Woods schrieb:

Then it might be more naturally 'Maven' to have 3 projects, 2 of them
depending on the common third. 

  

-Original Message-
From: Alexander [mailto:the.malk...@gmail.com] 
Sent: 23 July 2009 10:37

To: Maven Users List
Subject: Re: copy\move plugin

Nope, client looks exactly like server. They have no code 
difference. Only some configuration files.


2009/7/23 Alexander Vaysberg 


The simply was create 2 project client and server. You can it make 
with multi-project. In this case you have a separetly you 
  
client and 


server application.

Alexander schrieb:

 Hello,
  
I must distribute different set of resource files\ bat 

files\ images 

at server and client application. For server I have to 

copy bat files 

to register in servers, properties with db configuration 

and so on. 


But client don't need them - it only connects to server.

I want to type "mvn package" and after moment see two distrinct 
folders for server and client use.


2009/7/23 Alexander Vaysberg 




The Maven is not same as Ant. The first question is why 
  
you need the 

same file on different places? If you try make a project 
  
for alls, 


that the maven, isn't for you.

Alexander schrieb:

 Hello,


  
It seems like it is impossible to copy one file to several 
different locations not under target directory. Sure, I can copy 
several different files to one directory but not otherwise.


2009/7/23 Lewis, Eric 






No, by specifying outputDirectory, you can copy 
  

anywhere you like.


See



  

http://maven.apache.org/plugins/maven-resources-plugin/copy-resour


ces-mojo.html

Just make sure your files aren't filtered, for instance


 my_output
 
 
   my_input
   false
 
 


It's really flexible, read the examples, for instance 
  
'Including 


and excluding files and directories'.

Best regards,
Eric





  

-Ursprüngliche Nachricht-
Von: Alexander [mailto:the.malk...@gmail.com]
Gesendet: Donnerstag, 23. Juli 2009 09:48
An: Maven Users List
Betreff: Re: copy\move plugin

Hello,

You copy files to output (target) directory or to any other? I 
thought resource plugin helps with copying files from 

somewhere 


to output (target) only directory.

2009/7/23 Lewis, Eric 







I do my copying with the resource plugin, which works nicely.

Best regards,
Eric





  

-Ursprüngliche Nachricht-
Von: Alexander [mailto:the.malk...@gmail.com]
Gesendet: Donnerstag, 23. Juli 2009 08:32
An: Maven Users List
Betreff: Re: copy\move plugin

Hello,

I knew about that plugin, but thanks anyway. With that






plugin I could


  


emulate so many maven plugins, you know.. But I'm trying to


  

move to maven
from ant and wondering if I could use some maven kung-fu.

2009/7/23 Dan Tran 







maven-antrun-plugin?



On Wed, Jul 22, 2009 at 11:24 PM,




  

Alexander wrote:






Hello all,


  

Does maven have any plugin that provides simple task as






copy\move files?


  


Sure, I could invoke ant task but really want to do all


  


in *maven style.


  


*I




  

need to juggle with files a little. *
*






  


---


--




To unsubscribe, e-mail: users-unsubscr...@maven.apache.org


  

For additional commands, e-mail: users-h...@maven.apache.org






  


---


--




To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






  

-







To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






  







- To unsubscribe, e-

Re: copy\move plugin

2009-07-23 Thread Alexander Vaysberg
The simply was create 2 project client and server. You can it make with 
multi-project. In this case you have a separetly you client and server 
application.


Alexander schrieb:

Hello,

I must distribute different set of resource files\ bat files\ images at
server and client application. For server I have to copy bat files to
register in servers, properties with db configuration and so on. But client
don't need them - it only connects to server.

I want to type "mvn package" and after moment see two distrinct folders for
server and client use.

2009/7/23 Alexander Vaysberg 

  

The Maven is not same as Ant. The first question is why you need the same
file on different places? If you try make a project for alls, that the
maven, isn't for you.

Alexander schrieb:

 Hello,


It seems like it is impossible to copy one file to several different
locations not under target directory. Sure, I can copy several different
files to one directory but not otherwise.

2009/7/23 Lewis, Eric 



  

No, by specifying outputDirectory, you can copy anywhere you like.

See

http://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html

Just make sure your files aren't filtered, for instance


 my_output
 
  
my_input
false
  
 


It's really flexible, read the examples, for instance 'Including and
excluding files and directories'.

Best regards,
Eric





-Ursprüngliche Nachricht-
Von: Alexander [mailto:the.malk...@gmail.com]
Gesendet: Donnerstag, 23. Juli 2009 09:48
An: Maven Users List
Betreff: Re: copy\move plugin

Hello,

You copy files to output (target) directory or to any other? I thought
resource plugin helps with copying files from somewhere to
output (target)
only directory.

2009/7/23 Lewis, Eric 



  

I do my copying with the resource plugin, which works nicely.

Best regards,
Eric





-Ursprüngliche Nachricht-
Von: Alexander [mailto:the.malk...@gmail.com]
Gesendet: Donnerstag, 23. Juli 2009 08:32
An: Maven Users List
Betreff: Re: copy\move plugin

Hello,

I knew about that plugin, but thanks anyway. With that


  

plugin I could

  

emulate so many maven plugins, you know.. But I'm trying to


move to maven
from ant and wondering if I could use some maven kung-fu.

2009/7/23 Dan Tran 



  

maven-antrun-plugin?



On Wed, Jul 22, 2009 at 11:24 PM,




Alexander wrote:


  

Hello all,


Does maven have any plugin that provides simple task as


  

copy\move files?

  

Sure, I could invoke ant task but really want to do all

  

in *maven style.

  

*I




need to juggle with files a little. *
*



  


-
  
  

To unsubscribe, e-mail: users-unsubscr...@maven.apache.org


For additional commands, e-mail: users-h...@maven.apache.org






-
  
  

To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






-
  

To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org







  

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: copy\move plugin

2009-07-23 Thread Alexander Vaysberg
The Maven is not same as Ant. The first question is why you need the 
same file on different places? If you try make a project for alls, that 
the maven, isn't for you.


Alexander schrieb:

Hello,

It seems like it is impossible to copy one file to several different
locations not under target directory. Sure, I can copy several different
files to one directory but not otherwise.

2009/7/23 Lewis, Eric 

  

No, by specifying outputDirectory, you can copy anywhere you like.

See
http://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html

Just make sure your files aren't filtered, for instance


 my_output
 
   
 my_input
 false
   
 


It's really flexible, read the examples, for instance 'Including and
excluding files and directories'.

Best regards,
Eric



-Ursprüngliche Nachricht-
Von: Alexander [mailto:the.malk...@gmail.com]
Gesendet: Donnerstag, 23. Juli 2009 09:48
An: Maven Users List
Betreff: Re: copy\move plugin

Hello,

You copy files to output (target) directory or to any other? I thought
resource plugin helps with copying files from somewhere to
output (target)
only directory.

2009/7/23 Lewis, Eric 

  

I do my copying with the resource plugin, which works nicely.

Best regards,
Eric



-Ursprüngliche Nachricht-
Von: Alexander [mailto:the.malk...@gmail.com]
Gesendet: Donnerstag, 23. Juli 2009 08:32
An: Maven Users List
Betreff: Re: copy\move plugin

Hello,

I knew about that plugin, but thanks anyway. With that
  

plugin I could
  

emulate so many maven plugins, you know.. But I'm trying to
move to maven
from ant and wondering if I could use some maven kung-fu.

2009/7/23 Dan Tran 

  

maven-antrun-plugin?



On Wed, Jul 22, 2009 at 11:24 PM,


Alexander wrote:
  

Hello all,

Does maven have any plugin that provides simple task as
  

copy\move files?
  

Sure, I could invoke ant task but really want to do all
  

in *maven style.
  

*I


need to juggle with files a little. *
*

  


-
  

To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
  

To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven assembly plugin problem.

2009-07-01 Thread Alexander Vaysberg

Thanks. It's work :)!

Mohan KR schrieb:

Did you try the outputFileNameMapping in the dependencySet descriptor for
assembly?
${artifact.artifactId}-${artifact.baseVersion}${dashC
lassifier?}.${artifact.extension}

Notice the version it is ${artifact.baseVersion} and *not*
${artifact.version}

Thanks,
mohan kr

-Original Message-
From: Alexander Vaysberg [mailto:w...@vaisberg.de] 
Sent: Wednesday, July 01, 2009 2:42 AM

To: Maven Users List
Subject: maven assembly plugin problem.

Hi,

I have a problem with assembly plugin. I have a standalone application 
and I make  for this app a jar with manifest. In manifest set  I a 
Main-Class and all dependencies for this app with jar plugin. That work 
fine. Than, I create with assembly the zip and get the all dependencies 
in lib. But I have a problem with SNAPSHOT jars. I have 5 SNAPSHOT jars. 
3-Jars copy the assembly as so:- db-1.0.0-SNAPSHOT.jar, but for 2 -jars 
so same as: - firm-db-data-0.0.122-20090623.122812-2.jar. That is a date 
and time. For Deploying use I the Archiva.


 The jar plugin write in Manifest firm-db-data-0.0.122-SNAPSHOT. But the 
assembly put the dependency as firm-db-data-0.0.122-20090623.122812-2. I 
need the solution for this problem. 


Alexander Vaysberg

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



maven assembly plugin problem.

2009-07-01 Thread Alexander Vaysberg

Hi,

I have a problem with assembly plugin. I have a standalone application 
and I make  for this app a jar with manifest. In manifest set  I a 
Main-Class and all dependencies for this app with jar plugin. That work 
fine. Than, I create with assembly the zip and get the all dependencies 
in lib. But I have a problem with SNAPSHOT jars. I have 5 SNAPSHOT jars. 
3-Jars copy the assembly as so:- db-1.0.0-SNAPSHOT.jar, but for 2 -jars 
so same as: - firm-db-data-0.0.122-20090623.122812-2.jar. That is a date 
and time. For Deploying use I the Archiva.


The jar plugin write in Manifest firm-db-data-0.0.122-SNAPSHOT. But the 
assembly put the dependency as firm-db-data-0.0.122-20090623.122812-2. I 
need the solution for this problem. 


Alexander Vaysberg

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven Changes Report Plugin problem

2009-04-27 Thread Alexander Vaysberg
Hi,
I have a Problem with Maven Changes Report Plugin. I have the
changes.xml file, but if I generate pages with site, i have not the data
from changes.xml. I use the changes:changes-validate and it say, that
all data valide in  changes.xml.  Can you halp me.

Alexander Vaysberg.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : Re : Re : M2 and Eclipse

2009-04-23 Thread Alexander Vaysberg

but, if i have a project with 1.5 jdk and must using the 2.4 web server?

Julien HENRY schrieb:

It seems that if in maven-compiler-plugin configuration you have 1.5 
1.5 then the web version will be 2.5.

See the mapping file here:
http://svn.sonatype.org/m2eclipse/branches/raghu/org.maven.ide.eclipse.wtp.facet/src/org/maven/ide/eclipse/wtp/facet/jst.web.properties

Regards



- Message d'origine 
De : Alexander Vaysberg 
À : Maven Users List 
Envoyé le : Jeudi, 23 Avril 2009, 15h10mn 19s
Objet : Re: Re : Re : M2 and Eclipse

ok, and how I can it's management?

Julien HENRY schrieb:
  

Forgot my previous message.


According to [1] it seems it is not based on servlet-api version but on 
compiler version.

[1] : http://docs.codehaus.org/display/M2ECLIPSE/Maven+To+WTP

Julien


- Message d'origine 
De : Julien HENRY 
À : Maven Users List 
Envoyé le : Jeudi, 23 Avril 2009, 14h11mn 11s
Objet : Re : M2 and Eclipse


Hi,

Do you have declared servlet-api as a dependency in your pom? If yes, which 
version?

Regards,

Julien



- Message d'origine 
De : Alexander Vaysberg 
À : Maven Users List 
Envoyé le : Jeudi, 23 Avril 2009, 13h55mn 55s
Objet : M2 and Eclipse

Hi,

i have a Problem with M2Plugin in Eclipse. If I generate the project with  mvn 
eclipse:m2eclipse then the org.eclipse.wst.common.project.facet.core.xml has :






But, if I used the in Eclipse "Update Project Configuration" than I have:







The Problem ist jst.web version="2.5". I use Tomcat 5.5(Tomcat version 5.5 only supports 
J2EE 1..2, 1.3, and 1.4 Web modules).. Tomcat 5.5 is 2.4. How can I it configuration, that is the 
same  if  I it  "Update Project Configuration".

Alexander Vaysberg



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache..org


 



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


 



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

 




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : Re : M2 and Eclipse

2009-04-23 Thread Alexander Vaysberg

ok, and how I can it's management?

Julien HENRY schrieb:

Forgot my previous message.


According to [1] it seems it is not based on servlet-api version but on 
compiler version.

[1] : http://docs.codehaus.org/display/M2ECLIPSE/Maven+To+WTP

Julien


- Message d'origine 
De : Julien HENRY 
À : Maven Users List 
Envoyé le : Jeudi, 23 Avril 2009, 14h11mn 11s
Objet : Re : M2 and Eclipse


Hi,

Do you have declared servlet-api as a dependency in your pom? If yes, which 
version?

Regards,

Julien



- Message d'origine 
De : Alexander Vaysberg 
À : Maven Users List 
Envoyé le : Jeudi, 23 Avril 2009, 13h55mn 55s
Objet : M2 and Eclipse

Hi,

i have a Problem with M2Plugin in Eclipse. If I generate the project with  mvn 
eclipse:m2eclipse then the org.eclipse.wst.common.project.facet.core.xml has :






But, if I used the in Eclipse "Update Project Configuration" than I have:







The Problem ist jst.web version="2.5". I use Tomcat 5.5(Tomcat version 5.5 only supports 
J2EE 1.2, 1.3, and 1.4 Web modules).. Tomcat 5.5 is 2.4. How can I it configuration, that is the 
same  if  I it  "Update Project Configuration".

Alexander Vaysberg



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Re : M2 and Eclipse

2009-04-23 Thread Alexander Vaysberg

yes, i have  2.4
Julien HENRY schrieb:

Hi,

Do you have declared servlet-api as a dependency in your pom? If yes, which 
version?

Regards,

Julien



- Message d'origine 
De : Alexander Vaysberg 
À : Maven Users List 
Envoyé le : Jeudi, 23 Avril 2009, 13h55mn 55s
Objet : M2 and Eclipse

Hi,

i have a Problem with M2Plugin in Eclipse. If I generate the project with  mvn 
eclipse:m2eclipse then the org.eclipse.wst.common.project.facet.core.xml has :






But, if I used the in Eclipse "Update Project Configuration" than I have:







The Problem ist jst.web version="2.5". I use Tomcat 5.5(Tomcat version 5.5 only supports 
J2EE 1.2, 1.3, and 1.4 Web modules). Tomcat 5.5 is 2.4. How can I it configuration, that is the 
same  if  I it  "Update Project Configuration".

Alexander Vaysberg



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



M2 and Eclipse

2009-04-23 Thread Alexander Vaysberg

Hi,

i have a Problem with M2Plugin in Eclipse. If I generate the project 
with  mvn eclipse:m2eclipse then the 
org.eclipse.wst.common.project.facet.core.xml has :


 
 
 
 

But, if I used the in Eclipse "Update Project Configuration" than I have:


 
 
 
 

The Problem ist jst.web version="2.5". I use Tomcat 5.5(Tomcat version 
5.5 only supports J2EE 1.2, 1.3, and 1.4 Web modules). Tomcat 5.5 is 
2.4. How can I it configuration, that is the same  if  I it  "Update 
Project Configuration".


Alexander Vaysberg



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Release Plugin, ssh and svn Problem

2008-12-19 Thread Alexander Vaysberg

thanks!
Martin Höller schrieb:

On Friday 19 December 2008 Stephen Connolly wrote:
  

I am sorry, it is since 18 years I German gelearnt, und my grasp of
German grammar applied to English cannot decode your question.



I'm a German native speaker and still cannot decode the question :)

  

I do not know if Subversion 1.5.5 fixes the issue... only that it it a
rumor... another solution is to downgrade to Subversion 1.4.x



To give my post at least some value, here is the link to the JIRA issue
and to some recent conversation on the subversion list:
http://jira.codehaus.org/browse/SCM-406
http://www.nabble.com/Maven-scm-tag-does-not-work-with-Subversion-1.5.x-to20930592.html

hth,
- martin
  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Release Plugin, ssh and svn Problem

2008-12-19 Thread Alexander Vaysberg
also, i must a subversion on 1.5.5 update if i it with continuum use. It 
is right?

Stephen Connolly schrieb:

This is a known problem with the SVN 1.5 client and maven's release plugin.

Workaround:

type

svn update
mvn release:prepare

and it will continue from where it left off correctly.

There are also some rumors that upgrading to the very latest version of the
SVN client (1.5.5 i think) will fix this too.

-Stephen

2008/12/19 Alexander Vaysberg 

  

Hi,
i have a problem with release plugin , svn and ssh. We have changed from
cvs to svn. With cvs has it work fine, but with svn i have a problem:
[ERROR] BUILD FAILURE
[INFO]

[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Übertragen schlug fehl (Details folgen):
svn: Quell URL »svn+ssh://local/work/data/svn/commons/trunk/root-project«
is from different repository.

But I have a only one repository and is the
svn+ssh://local/work/data/svn/commons/. What is wrong?

Alexander Vaysberg
tetralog systems AG

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Release Plugin, ssh and svn Problem

2008-12-19 Thread Alexander Vaysberg

Hi,
i have a problem with release plugin , svn and ssh. We have changed from 
cvs to svn. With cvs has it work fine, but with svn i have a problem:

[ERROR] BUILD FAILURE
[INFO] 


[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Übertragen schlug fehl (Details folgen):
svn: Quell URL 
»svn+ssh://local/work/data/svn/commons/trunk/root-project« is from 
different repository.


But I have a only one repository and is the 
svn+ssh://local/work/data/svn/commons/. What is wrong?


Alexander Vaysberg
tetralog systems AG

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Release Plugin in Continuum in svn

2008-12-18 Thread Alexander Vaysberg
Hi, 
i have a Problme wiht Release with Continuum and Release Plugin. If I a call the release:prepare, than have a problem with svn:


[INFO] Finished at: Thu Dec 18 14:57:19 CET 2008
[INFO] Final Memory: 27M/355M
[INFO] 
[ERROR] org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable 
to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: Source url 'svn+ssh://work/data/svnroot/project/trunk/root-project' is 
from different repository

at 
org.apache.maven.shared.release.phase.ScmTagPhase.execute(ScmTagPhase.java:99)
at 
org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:194)
at 
org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:107)
at 
org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(PrepareReleaseTaskExecutor.java:43)


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Problem with Maven, Continuum and Archiva

2008-12-03 Thread Alexander Vaysberg

Yes i have in apache:
127.0.0.2 - - [01/Dec/2008:22:04:05 +0100] "GET 
/archiva/repository/snapshots/com/project/root-project/2.0.0-SNAPSHOT/maven-metadata.xml 
HTTP/1.1" 500 2941 "

and in archiva log have i nothing.

Alexander Vaysberg

Brett Porter schrieb:
500 is an internal server error. Are you receiving anything in your 
Archiva logs? If not, do you have Apache running in front of the 
Archiva instance and does it have anything in its logs?


- Brett

On 01/12/2008, at 7:13 PM, Alexander Vaysberg wrote:


Yes, I can,
The error messages:

... could not be retrieved from repository: snapshots due to an 
error: Failed to transfer file: 
http://firm.archiva/repo/snapshots/2.0.2-SNAPSHOT/maven-metadata.xml. 
Return code is: 500


But, if I this buildes it self, it work fine.

Nick Stolwijk schrieb:

Could you try your build with the -e or even -X option to give us some
more information about which file is missing?

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg 
<[EMAIL PROTECTED]> wrote:



Hi all,

I have a Problem with deploy. I have the Error:
[INFO] Installing
[INFO] Error retrieving previous build number for artifact ...

Couldn't get file ...

The error does not come always. On the next build it work fine.

I have a Archiva for management of the repositories. I have in Archiva
internal and snapshot repo. For night build I use a Continuum. The 
Continuum

start the build of the Project with this parameters:
Goals - clean deploy site site:deploy
Arguments -  --batch-mode --non-recursive
Build Fresh - true
Always Build - true
Is it default? - true
Build Environment - Java 1.5

Have you any ideas.

Alexander Vaysberg
Tetralog system AG.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with Maven, Continuum and Archiva

2008-12-01 Thread Alexander Vaysberg

Yes, I can,
The error messages:

... could not be retrieved from repository: snapshots due to an error: Failed 
to transfer file: 
http://firm.archiva/repo/snapshots/2.0.2-SNAPSHOT/maven-metadata.xml. Return 
code is: 500

But, if I this buildes it self, it work fine.

Nick Stolwijk schrieb:

Could you try your build with the -e or even -X option to give us some
more information about which file is missing?

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Nov 27, 2008 at 10:05 AM, Alexander Vaysberg <[EMAIL PROTECTED]> wrote:
  

Hi all,

I have a Problem with deploy. I have the Error:
[INFO] Installing
[INFO] Error retrieving previous build number for artifact ...

Couldn't get file ...

The error does not come always. On the next build it work fine.

I have a Archiva for management of the repositories. I have in Archiva
internal and snapshot repo. For night build I use a Continuum. The Continuum
start the build of the Project with this parameters:
Goals - clean deploy site site:deploy
Arguments -  --batch-mode --non-recursive
Build Fresh - true
Always Build - true
Is it default? - true
Build Environment - Java 1.5

Have you any ideas.

Alexander Vaysberg
Tetralog system AG.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with Maven, Continuum and Archiva

2008-11-27 Thread Alexander Vaysberg

Hi all,

I have a Problem with deploy. I have the Error:
[INFO] Installing
[INFO] Error retrieving previous build number for artifact ...

Couldn't get file ...

The error does not come always. On the next build it work fine.

I have a Archiva for management of the repositories. I have in Archiva 
internal and snapshot repo. For night build I use a Continuum. The 
Continuum start the build of the Project with this parameters:

Goals - clean deploy site site:deploy
Arguments -  --batch-mode --non-recursive
Build Fresh - true
Always Build - true
Is it default? - true
Build Environment - Java 1.5

Have you any ideas.

Alexander Vaysberg
Tetralog system AG.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Propertiy for local repository in pom?

2008-08-27 Thread Alexander Vaysberg

Wendy Smoak schrieb:
I need it for SE-JPA. I have a model core-jpa and for child module i 
need in persistence.xml for element   the 
core-jpa.jar and this core-jpa is  in repository. The JPA search not in 
classpath, i must it setting.


Alexandre Vaysberg.

On Wed, Aug 27, 2008 at 4:08 AM, Alexander Vaysberg <[EMAIL PROTECTED]> wrote:
  

i have a problem with maven. I need in pom the local repository path. Can i
it have?

 ${settings.localRepository}/xxx/xx.jar
??



The location of the local repo is developer-specific, so it belongs in
settings.xml, not in the pom.

You might be able to get to it with an implicit property
${settings...} but I'm curious what you're trying to accomplish that
you need this in the pom?

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Propertiy for local repository in pom?

2008-08-27 Thread Alexander Vaysberg

Hi,
i have a problem with maven. I need in pom the local repository path. 
Can i it have?


  ${settings.localRepository}/xxx/xx.jar
??

Alexander Vaysberg.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dependency from repository?

2008-08-27 Thread Alexander Vaysberg

Hi,
i have a problem with maven dependency for hiberante. Hibernate site 
show, that the hibernate-core 3.3.0, hibernate-anatationen-3.4.0 
released. But i can't it's downloaded from repo1. Why?


Alexander Vaysberg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: checkstyle

2008-08-04 Thread Alexander Vaysberg

Hi,
it's simple, you must regexp for this write. The text sample can you in 
maven checkstyle plugin see.


Alexander Vaysberg.

Dennis Lundberg schrieb:

What is it you want? The license for the Checkstyle product?

Morgovsky, Alexander (US - Glen Mills) wrote:

Could someone please supply me a default checkstyle license file?

This message (including any attachments) contains confidential 
information intended for a specific individual and purpose, and is 
protected by law.  If you are not the intended recipient, you should 
delete this message.


Any disclosure, copying, or distribution of this message, or the 
taking of any action based on it, is strictly prohibited. [v.E.1]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Archiva and Nexus index

2008-07-31 Thread Alexander Vaysberg

Hi,
can an "archiva" produce a "nexus" index?

Alexander Vaysberg.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Archiva Problem.

2008-06-19 Thread Alexander Vaysberg
I use Archiva 1.0.2 (WEB). Yes, I mean HTTP Proxy.  The configuration in 
archiva.xml is default, but I find deference:

once, but I think it must always.

   
   
   1
   internal
   central
   
   
   **/*
   
   
   once
   fix
   never
   yes
   
   
   
   2
   internal
   maven2-repository.dev.java.net
   
   
   javax/**
   
   
   once
   fix
   never
   yes
   
   
   
Brett Porter schrieb:

Are you using the latest version? A problem with this was fixed in 1.0.2.

If so, you'll need to provide more information (and clarify "no proxy"
- I assume this means no HTTP proxy, not that you've turned off
Archiva proxying of repo1 which will definitely stop updates :)

- Brett

2008/6/18 Alexander Vaysberg <[EMAIL PROTECTED]>:
  

Hi,

I have a Problem with Archiva. On the repo1 are new plugins, but the Archiva
getn't it from repo1. I have no proxy.


Alexander Vaysberg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Archiva Problem.

2008-06-18 Thread Alexander Vaysberg

Hi,

I have a Problem with Archiva. On the repo1 are new plugins, but the 
Archiva getn't it from repo1. I have no proxy.



Alexander Vaysberg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Archiva and -DdownloadSource

2008-06-10 Thread Alexander Vaysberg

Hi,
I have a problem with Archiva. It don't downloaded the sources for 
dependencies. I have execute : mvn eclipse:eclipse 
-Declipse.downloadSource=true. But this don't work and work only without 
Archiva.


Alexandre Vaysberg
Tetralog System AG 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



site problem with locale de

2008-05-08 Thread Alexander Vaysberg

Hi,
i try a simple site for maven with locale de, but i have a problem with 
special characters (like german umlaut etc.).

the pom is:


maven-site-plugin
2.0-beta-6

de
UTF-8
UTF-8



But i become for ü - >ü. What is wrong?

Alexander Vaysberg
Tetralog system AG


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Eclipse and Maven "best practice"

2007-09-13 Thread Alexander Vaysberg

Hi,
It give a book a Better Builds with Maven vor free on the page:
http://www.devzuz.com/web/guest/products/resources#BBWM. I think it help 
you.


Alexander Vaysberg (pc-hilfe)
zm schrieb:

Hi,

Can anyone help me with the best way to setup a Maven/Eclipse environment? I
know there is a goal to produce an eclipse project with the pom, but I'm
trying to understand how to create one at hand, customise and include it's
dependencies.

I have created 2 projects, "appTest" and "appCommon". The main project is
"appTest" that depends on "appCommon".

The source directories are the default Maven (src/main/java) and that
directory is configured as "source" in eclipse, so it can compile the code.

Then I've configured a specific directory "build" (same level as the "src"
above), that eclipse will use to put the compiled classes (this folder will
be ignored for SVN/CVS integration).

Everything looks great, and works nicelly. Or so it seems ...

No let's say I put a dependency on version Log4J 1.0. I make some code
accessing it, then eclipse will just mark it as invalid, since the Log4J is
not in it's classpath. Maven, on the other end, downloads it from central
repository and compiles successfully.

Now what would be the best way to put it to compile in eclipse?

The way I see it, I can include it in the project's classpath, and point it
to the local repository jar that maven just downloaded.

Would this be the best option?
  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]