maven struts 2 archetype

2008-04-26 Thread rico

I'm trying to run the following command :
mvn archetype:create -DgroupId=tutorial 
-DartifactId=tutorial 
-DarchetypeGroupId=org.apache.struts 
-DarchetypeArtifactId=struts2-archetype-blank 
-DarchetypeVersion=2.0.9-SNAPSHOT 
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository

It returns the following error :
org.apache.maven.reactor.MavenExecutionException:
Could not find the model file
'/home/myhome/ejb/pom.xml'. for project unknown
...
Caused by:
org.apache.maven.project.ProjectBuildingException:
Could not find the model file
'/home/myhome/ejb/pom.xml'. for project unknown
...

I'm running it with my user in gnome terminal in a
debian etch 

maven version in my computer : 
# mvn -version
Maven version: 2.0.7
Java version: 1.6.0_04
OS name: linux version: 2.6.18-6-686 arch: i386

# echo $M2
/opt/java/maven-2.0.7/bin

# echo $M2_HOME
/opt/java/maven-2.0.7

echo $JAVA_HOME
/opt/java/jdk1.6.0_04

JAVA_HOME, M2 and M2_HOME environment variables are
declared in /etc/profile 

I'm I missing something in my environment so I can
create the project correctly ?

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: maven struts 2 archetype

2008-04-26 Thread rico
HI Wayne

I will try maven 2.0.9

The site that I got the command is this :
http://struts.apache.org/2.x/docs/ready-set-go.html

thanks

Wayne Fay [EMAIL PROTECTED] wrote: You realize of course that you're 
complaining about a SNAPSHOT version
of an archetype. Snapshots are, by their very nature, not stable and
thus prone to problems. Is there not a stable version you could use
instead?

Also, where did you get this mvn archetype:create... line? From a
book or tutorial online? Can you send back the webpage? I *really*
hope people aren't giving out snapshot repo urls (as you're using) in
tutorials for Maven newbies -- that's just a bad idea all around.

Finally, you're using Maven 2.0.7 -- can you try this with 2.0.9?

Wayne

On 4/26/08, Érico Teixeira  wrote:

 I'm trying to run the following command :
 mvn archetype:create -DgroupId=tutorial
 -DartifactId=tutorial
 -DarchetypeGroupId=org.apache.struts
 -DarchetypeArtifactId=struts2-archetype-blank
 -DarchetypeVersion=2.0.9-SNAPSHOT
 -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository

 It returns the following error :
 org.apache.maven.reactor.MavenExecutionException:
 Could not find the model file
 '/home/myhome/ejb/pom.xml'. for project unknown
 ...
 Caused by:
 org.apache.maven.project.ProjectBuildingException:
 Could not find the model file
 '/home/myhome/ejb/pom.xml'. for project unknown
 ...

 I'm running it with my user in gnome terminal in a
 debian etch

 maven version in my computer :
 # mvn -version
 Maven version: 2.0.7
 Java version: 1.6.0_04
 OS name: linux version: 2.6.18-6-686 arch: i386

 # echo $M2
 /opt/java/maven-2.0.7/bin

 # echo $M2_HOME
 /opt/java/maven-2.0.7

 echo $JAVA_HOME
 /opt/java/jdk1.6.0_04

 JAVA_HOME, M2 and M2_HOME environment variables are
 declared in /etc/profile

 I'm I missing something in my environment so I can
 create the project correctly ?


 -
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it 
 now.

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



   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

mvn environment variable in debian etch

2008-03-07 Thread rico
I trying to set mvn environment variable in etch 

I already have JAVA_HOME configured in /etc/profile as
follows :

JAVA_HOME=/opt/java/jdk1.6.0_04
JRE_HOME=/opt/jre1.6.0_04
M2_HOME=/opt/apache-maven-2.0.8
M2=$M2_HOME/bin
PATH=$PATH:$JAVA_HOME/bin
PATH=$PATH:$M2
export PATH

javac command is ok

running echo $JAVA_HOME I have:
/opt/java/jdk1.6.0_04

running echo $M2 variable I have:
/opt/apache-maven-2.0.8/bin

when I run mvn in console I receive the error :
Error: JAVA_HOME is not defined correctly.
  We cannot execute java







  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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



netbeans 6.0.1 + maven plugin in debian etch

2008-02-28 Thread rico
I'm testing netbeans 6.0.1 + maven plugin in debian etch 
  I've installed the plugin without problems but when I try to create a maven 
project It does nothing ... It doesn´t create the project neither it´s folder, 
anything
  I've tried to create a project in several folders but nothing 
  I believe that´s a linux configuration issue but I decided to post the 
message here in case that someone already lived through this ...
  thanks 

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: netbeans 6.0.1 + maven plugin in debian etch

2008-02-28 Thread rico
Hi Milos 
   
  Thanks for the reply 
   
  yes, I´ve intalled maven plugin through netbeans update center
   
  the plugin is installed and it allows me to create a project 
   
  but in the end when it should create the folder and everything else to the 
project nothing happens 
   
  the are no errors messages in IDE. no log events ...
   
  

Milos Kleint [EMAIL PROTECTED] wrote:
  You are referring to the maven support plugin in the IDE from default
netbeans update center?
does the new project wizard start a maven build or it shows no UI at all?
I've never seen it before, feel free to file under
jira.codehaus.org/browse/MEVENIDE with steps to reproduce, screenshots
or anything else that helps reproducing the issue.

Milos


On Thu, Feb 28, 2008 at 7:00 PM, Érico Teixeira wrote:
 I'm testing netbeans 6.0.1 + maven plugin in debian etch
 I've installed the plugin without problems but when I try to create a maven 
 project It does nothing ... It doesn´t create the project neither it´s 
 folder, anything
 I've tried to create a project in several folders but nothing
 I believe that´s a linux configuration issue but I decided to post the 
 message here in case that someone already lived through this ...
 thanks



 -
 Looking for last minute shopping deals? Find them fast with Yahoo! Search.

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



   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: netbeans 6.0.1 + maven plugin in debian etch

2008-02-28 Thread rico
yes, it´s ok now 

I reinstalled the plugin

I must have missed some step in the earlier conf

thanks
[]s
Érico

Milos Kleint [EMAIL PROTECTED] wrote: That's strange. After you click finish 
on the wizard, it should
1. start the archetype plugin to generate the project.
2. that in turn should open the output window with the maven execution
output. I assume you are not getting that, right?

Milos

On Thu, Feb 28, 2008 at 7:21 PM, Érico Teixeira  wrote:
 Hi Milos

   Thanks for the reply

   yes, I´ve intalled maven plugin through netbeans update center

   the plugin is installed and it allows me to create a project

   but in the end when it should create the folder and everything else to the 
 project nothing happens

   the are no errors messages in IDE. no log events ...




  Milos Kleint  wrote:
   You are referring to the maven support plugin in the IDE from default
  netbeans update center?
  does the new project wizard start a maven build or it shows no UI at all?
  I've never seen it before, feel free to file under
  jira.codehaus.org/browse/MEVENIDE with steps to reproduce, screenshots
  or anything else that helps reproducing the issue.

  Milos



 On Thu, Feb 28, 2008 at 7:00 PM, Érico Teixeira wrote:
   I'm testing netbeans 6.0.1 + maven plugin in debian etch
   I've installed the plugin without problems but when I try to create a 
 maven project It does nothing ... It doesn´t create the project neither it´s 
 folder, anything
   I've tried to create a project in several folders but nothing
   I believe that´s a linux configuration issue but I decided to post the 
 message here in case that someone already lived through this ...
   thanks
  
  
  
   -
   Looking for last minute shopping deals? Find them fast with Yahoo! Search.

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





  -
  Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it 
 now.

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



   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

maven2 with seam archetype

2007-11-29 Thread rico
I'm trying to deploy a sample app from the current site :  
http://software.softeu.cz/seam/usage.html 
 
When I run the command mvn jboss:deploy -e 
I get the error : 
[INFO] No server specified for authentication - using defaults 
[INFO]  
[ERROR] BUILD ERROR 
[INFO]  
[INFO] Mojo error occurred: Server returned HTTP response code: 505 for URL: 
http://localhost:8080/jmx-console/ 
HtmlAdaptor?action=invokeOpByNamename=jboss.system:service%3DMainDeployermethodName=deployargType=java.net.U
 
RLarg0=file:C:\java\helloApp\target/helloApp.war 
 
If I try to copy and paste the target war file to 
%JBOSS_HOME%\server\default\deploy I get the following error in JBoss log : 
ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloApp]] 
Exception sending context initialized event to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener 
java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl 
 
I'm trying to run this sample to use Seam with Maven 
 
Is there any other sample or archetype to use seam with maven ?
   
-
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.

ear archetype

2007-11-13 Thread rico
I'm trying to run the command :


mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp 
-DarchetypeArtifactId=maven-archetype-ear

When it runs I get the following error :

[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.archetypes
ArtifactId: maven-archetype-ear
Version: RELEASE

Reason: Unable to determine the release version

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.archetypes 
-DartifactId=maven-archetype-ear \
-Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:   
  mvn deploy:deploy-file -DgroupId=org.apache.maven
.archetypes -DartifactId=maven-archetype-ear \
-Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file \
 -Durl=[url] -DrepositoryId=[id]

  org.apache.maven.archetypes:maven-archetype-ear:jar:RELEASE


Where can I get the archetype to install manually ? 







   
-
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.

org.jboss.ejb3.embedded

2007-09-20 Thread rico
Is there a repository that contains this dependency ?

   
-
Pinpoint customers who are looking for what you sell. 

Re: org.jboss.ejb3.embedded

2007-09-20 Thread rico
It's not there and I can't find the lib to download an install it local 



Alexander Sack [EMAIL PROTECTED] wrote: Official repo for JBoss is 
http://repository.jboss.com/maven2/

If you can't find it use mvn deploy:deploy-file to install it in your local
repo.

-aps

On 9/20/07, Érico Teixeira  wrote:

 Is there a repository that contains this dependency ?


 -
 Pinpoint customers who are looking for what you sell.




-- 
What lies behind us and what lies in front of us is of little concern to
what lies within us. -Ralph Waldo Emerson


   
-
Don't let your dream ride pass you by.Make it a reality with Yahoo! Autos. 

maven and jboss microcontainer

2007-09-18 Thread rico
I'm trying to use seam with maven and tomcat and all the examples come with ant 

One of the examples is jboss-seam-booking

I can see that in example there is mc-conf.jar and jboss-seam-booking.jar in 
the classpath 

I would like to add microcontainer in my application with maven to run this 
application in TomCat

I posting in maven list because my problem is to create these two jar files 
with maven as they did with ant


   
-
Don't let your dream ride pass you by.Make it a reality with Yahoo! Autos. 

commons-io-1.3.2 repository

2007-07-23 Thread rico
Hi 

I'm configuring a new workstation and installed maven
a few minutes ago

I'm trying to compile a project of mine in this new
workstation

It downloaded all deps from repostories except
common-io 1.3.2

I tryied to install manually but I get an error : 

[0] inside the definition for plugin:
'maven-install-plugin'specify the following:

configuration
  ...
  fileVALUE/file
/configuration

-OR-

on the command line, specify: '-Dfile=VALUE'

...

I have no idea where tihs came from and never had this
error before

Does any one knows a repository where I can get
commons-io-1.3.2 ?



   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

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



Re: commons-io-1.3.2 repository

2007-07-23 Thread rico
I'm soory 

I already installed in my local repository 

[]s
--- Érico Teixeira [EMAIL PROTECTED] wrote:

 Hi 
 
 I'm configuring a new workstation and installed
 maven
 a few minutes ago
 
 I'm trying to compile a project of mine in this new
 workstation
 
 It downloaded all deps from repostories except
 common-io 1.3.2
 
 I tryied to install manually but I get an error : 
 
 [0] inside the definition for plugin:
 'maven-install-plugin'specify the following:
 
 configuration
   ...
   fileVALUE/file
 /configuration
 
 -OR-
 
 on the command line, specify: '-Dfile=VALUE'
 
 ...
 
 I have no idea where tihs came from and never had
 this
 error before
 
 Does any one knows a repository where I can get
 commons-io-1.3.2 ?
 
 
 


Ready
 for the edge of your seat? 
 Check out tonight's top picks on Yahoo! TV. 
 http://tv.yahoo.com/
 

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



   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

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



[m2] using hibernate plugin

2005-11-09 Thread Rico (privat)

Hi,

I downloaded the soures of the actual hibernate 3 plugins from

http://svn.codehaus.org/trunk/mojo/mojo-sandbox/hibernate3-maven-plugin/?root=mojo

1. Compiled that sources: mvn compile
2. Make a package: mvn package
3. Install it on my local repository: mvn install -DupdateReleaseInfo=true

All was running fine. But if I want to used it in my own project it 
fails with:


[INFO] Scanning for projects...
[INFO] 


[ERROR] FATAL ERROR
[INFO] 


[INFO] null
[INFO] 


[INFO] Trace
java.lang.NullPointerException
   at 
org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDescriptor.java:261)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1363)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:376)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:132)

   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Before that I prepared my project pom.xml as described on documentation 
to maven-hibernate3-plugin:


 build
   extensions
 extension
 groupIdorg.firebirdsql/groupId
 artifactIdjaybird/artifactId
 version1.5.6/version
 /extension
   /extensions
   plugins
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-hibernate3-plugin/artifactId
   configuration
   config/src/main/resources/hibernate.cfg.xml/config
   /configuration
   /plugin
   /plugins
   /build

The command line was following:

mvn hibernate3:hbm2dll

After getting that error first time I found a short message on

http://www.hiberforum.org/2005/09/#09

which gives a solution to find inofficial plugins also with:

mvn org.codehaus.mojo:hibernate3-maven-plugin:hbm2dll

but the error keep the same. The plugin couldn't find or some thing else.

Any help or ideas?

Thanks in forward
Rico


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



unable to load commons-logging/commons-logging/1.02/commons-logging-1.02.pom

2005-11-02 Thread Rico (privat)

Hi,

the compile goal outputs me following:

Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.02/commons-logging-1.02.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)


I searched for that plugin in my repository and didn't really find that, 
instead I found a version 1.0.2 of commons-logging. A search over
the complete repository sayed me that the swarmcache-1.0RC2.pom 
reference that plugin with version 1.02. So I think that this is an 
writing error of the commons-logging version number. Is that correct ? 
Because, a change on that pom to version 1.0.2 succeeded the compile 
without the described message.


Rico

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



finding groupId/artifactId of unlisted libs

2005-11-01 Thread Rico (privat)

Hi,

my project needs the jdbc driver of firebird (jaybird driver: 
firebirdsql-full.jar). Where if this is not listed on 
http://www.ibiblio.org/pub/packages/

can I get the correct groupId / artifactId ?

Rico

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



failed to resolve GroupId javax-persistence

2005-11-01 Thread Rico (privat)

Hi,

for correct compiling an hibernate project with annotations the ejb jar 
file is need too. So my pom.xml file has one more dependency:


   dependency
 groupIdjavax-persistence/groupId
 artifactIdejb/artifactId
 version3.0-public_review/version
   /dependency

But Maven says following:

Downloading: 
http://repo1.maven.org/maven2/javax-persistence/ejb/3.0-public_review/ejb-3.0-public_review.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/javax-persistence/ejb/3.0-public_review/ejb-3.0-public_review.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Failed to resolve artifact.

GroupId: javax-persistence
ArtifactId: ejb
Version: 3.0-public_review

Reason: Unable to download the artifact from any repository
 javax-persistence:ejb:3.0-public_review:jar

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

What goes wrong?

Rico


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



Re: failed to resolve GroupId javax-persistence

2005-11-01 Thread Rico (privat)

Before I used that lib I installed it first in my local repository:

mvn install:install-file 
-Dfile=D:\src\entwicklung\java\api\hibernate-3.1\annotations\lib\ejb3-persistence.jar 
-DgroupId=javax.persistence -DartifactId=ejb -Dversion=3.0-public_review 
-Dpackaging=jar


So it exist local, but why Maven want to copy that library again from 
http://repo1.maven.org/maven2 ?


Rico

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



Re: [ANN] Maven Project Info Reports Plugin v2.0-beta-3 Released

2005-10-25 Thread Rico (privat)



Is this an upgrade for Maven 2?
I dont understand. In which part of the XML grammar should I 
copy and paste the above section. Should it be


 


Hi Peter,

put it here ...

project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;

 reporting
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-project-info-reports-plugin/artifactId
   version2.0-beta-3/version
 /plugin
   /plugins
 /reporting
/project

Rico

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



Re: error while make my first maven project

2005-10-24 Thread Rico (privat)

Thanks,

it works now.

Rico

Brett Porter wrote:


Was there any additional information about why it failed to find the
latest version?

This might correct itself if you try again (perhaps using -U to force
an update check).

- Brett

On 10/23/05, Rico (privat) [EMAIL PROTECTED] wrote:
 


Hi all,

I've made my first maven project with Maven 2.0 and got following error
while I've done described steps on getting started page with:

mvn archetype:create -DgroupId=com.cando.app -DartifactId=budget

[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.archetypes
ArtifactId: maven-archetype-quickstart
Version: RELEASE

Reason: Unable to determine the release version
 org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE:jar

Can anybody help with that error ?

Thanks in forward
Rico


-
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]



mvn site produced error

2005-10-24 Thread Rico (privat)

Hi,

I've got following error while I typed mvn site:

[INFO] Can't find bundle for base name project-info-report, locale de_DE
[INFO] 


[INFO] Trace
java.util.MissingResourceException: Can't find bundle for base name 
project-info-report, locale de_DE
   at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)

   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
   at 
org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.java:260)
   at 
org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:80)
   at 
org.apache.maven.plugins.site.ReportComparator.compare(ReportComparator.java:40)


How can I solve that error ?

Thanks
Rico

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



Re: mvn site produced error

2005-10-24 Thread Rico (privat)

Hi Brett,

I'm new to Maven 2 played a bit with Maven 1 but it's long time ago. So 
I don't understand your short answer.

What does it mean ...

*** This has been fixed in SVN (maven-project-info-reports) ***


Maybe I would ask less but the online documentation I think don't give 
enough for a novice. So a lot of links on getting-started site delivers 
an page not found site.
So I tried on a command line mvn maven-project-info-reports. The 
output of Maven says me some errors of invalid task and a help to use 
switch -e. If I use switch -e it says me that a goal have to be 
specified at least. I know when I worked with Maven 1 I had more good 
information online because after that long time I didn't worked with 
Maven and new version 2 I have to start at level 1 again and have no 
clue where to start.


Rico


This has been fixed in SVN (maven-project-info-reports).

- Brett

On 10/23/05, Rico (privat) [EMAIL PROTECTED] wrote:
 


Hi,

I've got following error while I typed mvn site:

[INFO] Can't find bundle for base name project-info-report, locale de_DE
[INFO]

[INFO] Trace
java.util.MissingResourceException: Can't find bundle for base name
project-info-report, locale de_DE
   at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
   at
org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.java:260)
   at
org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:80)
   at
org.apache.maven.plugins.site.ReportComparator.compare(ReportComparator.java:40)

How can I solve that error ?

Thanks
Rico

-
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]



Re: mvn site produced error

2005-10-24 Thread Rico (privat)

Hi Brett,

I'm new to Maven 2 played a bit with Maven 1 but it's long time ago. So 
I don't understand your short answer.

What does it mean ...

*** This has been fixed in SVN (maven-project-info-reports) ***


Maybe I would ask less but the online documentation I think don't give 
enough for a novice. So a lot of links on getting-started site delivers 
an page not found site.
So I tried on a command line mvn maven-project-info-reports. The 
output of Maven says me some errors of invalid task and a help to use 
switch -e. If I use switch -e it says me that a goal have to be 
specified at least. I know when I worked with Maven 1 I had more good 
information online because after that long time I didn't worked with 
Maven and new version 2 I have to start at level 1 again and have no 
clue where to start.


Rico


This has been fixed in SVN (maven-project-info-reports).

- Brett

On 10/23/05, Rico (privat) [EMAIL PROTECTED] wrote:
 


Hi,

I've got following error while I typed mvn site:

[INFO] Can't find bundle for base name project-info-report, locale de_DE
[INFO]

[INFO] Trace
java.util.MissingResourceException: Can't find bundle for base name
project-info-report, locale de_DE
   at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
   at
org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.java:260)
   at
org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:80)
   at
org.apache.maven.plugins.site.ReportComparator.compare(ReportComparator.java:40)

How can I solve that error ?

Thanks
Rico

-
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]



error while make my first maven project

2005-10-23 Thread Rico (privat)

Hi all,

I've made my first maven project with Maven 2.0 and got following error 
while I've done described steps on getting started page with:


mvn archetype:create -DgroupId=com.cando.app -DartifactId=budget

[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.archetypes
ArtifactId: maven-archetype-quickstart
Version: RELEASE

Reason: Unable to determine the release version
 org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE:jar

Can anybody help with that error ?

Thanks in forward
Rico


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



Re: dependency

2004-02-11 Thread Rico Schpe
Hi Thomas,

see page:
http://maven.apache.org/reference/user-guide.html#Overriding_Stated_Dependencies

that chapter give you a possibility to overwrite your dependency setting.
Put following in your project.xml file the line's:

=
maven.jar.override = on
maven.jar.ristretto = ${basedir}/lib/ristretto-1.0pre1.jar
=

Bye
Rico

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 2:57 PM
Subject: dependency


Hello,

following problem:

i have project where any jars currently stored under projectdir/lib

Any of the required jars cannot downloaded via url in fact there are not yet
released. We have these jars only in the lib-dir of the project.
Now i put following dependency in my project.xml file:
dependency
  groupIdcolumba/groupId
  artifactIdristretto/artifactId
  version1.0pre1/version
  urlfile://${basedir}/lib//url
/dependency

But maven dosn't download the ristretto-1.0pre1.jar from the lib -dir into
my maven repository.

What can i do? It is a correct url and i don't have any idea how to store
the required jars into the users local repository.

Can anyone help me?

Many thanks and greetings

Waffel (alias Thomas Wabner)

 SIgnature 
Thomas Wabner
wissenschaftlicher Mitarbeiter
Karl-Liebknechtstrasse 145
04277 Leipzig
HTWK Leipzig

---
Thomas Wabner
CIO
Ancoso Development GMBH

---
PGP Key:
http://search.keyserver.net:11371/pks/lookup?op=getsearch=0x48681715template=netenextract,netennomatch,netenerror


-
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]



dependency tracking

2004-02-09 Thread Rico Schäpe
Hi,

How can I obtain the correct artifactId, version and url of an jar file, so that the 
jar file will copied correctly to the local repository ?

For example:

I use the JDBC driver of the FireBird database:
Firebird Class 4 JCA-JDBC Driver Jaybird V1.5 Beta 3

- the download path is as follows:
http://prdownloads.sourceforge.net/firebird/FirebirdSQL-1.5.0Beta3JDK_1.4.zip
- the jar file is part of that downloaded zip file: firebirdsql-full.jar

I tried following in my project file:

   dependency
  groupIdfirebird/groupId
  artifactIdfirebird/artifactId
  versionv1.5b3/version
  urlhttp://firebird.sourceforge.net//url
!--  urlhttp://prdownloads.sourceforge.net/firebird//url --
   /dependency

But nothing works successful.

Who can help

Thanks in forward
Rico