maven-struts-plugin

2006-09-02 Thread BISO

Dears,

How can i configure maven-struts-plugin
Thanks in advance

BISO
-- 
View this message in context: 
http://www.nabble.com/maven-struts-plugin-tf2206189.html#a6110163
Sent from the Maven - Users forum at Nabble.com.


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



Re : Maven 2.0 repository configuration

2006-09-02 Thread senthilkumar sivanandam
Hi 

How can I change my remote repository? I have already
tried the below configuration on maven 2.0.4 and it
seems be not working. Maven is still trying to connect
http://repo1.maven.org/maven2. I am not sure why this
happens. Please help me

Here is my pom configuaration:

 repositories
repository
idlocal1/id
namemycomp/name
   layoutdefault/layout
urlhttp://mycomp/maven2-repository//url
/repository
/repositories 



Here is the maven output. 
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0/maven
-core-2.0.pom
5K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.
pom
8K downloaded

Senthilkumar Sivanandam,
2540, Rosehall lane,
Aurora, IL-60504
Res  No : 630 851 8693
Cell No : 847 722 4843

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: [m2] jspc-maven-plugin - Problems

2006-09-02 Thread Jacek Laskowski

On 9/1/06, ben short [EMAIL PROTECTED] wrote:

Christophe,

That fixed it.


Yeah and it seems we will get it fixed in the Geronimo build, too. It
was the missing jsp api classes Christophe pointed out. Thanks!

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl

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



[M2]Why can't find parent POM?

2006-09-02 Thread jiangshachina

Hello,
I'm newbie in Maven. I make a very simple example for Maven, but meet a
trouble.The example as follows.
The example's direcotry layout is
D:\maven
|-- example
|-- pom.xml
|-- A
|-- pom.xml
|-- B
|-- pom.xml
|-- src
|-- main
|-- java
|-- hello
|--Hello.java


[1]pom.xml at D:\maven\example
project
modelVersion4.0.0/modelVersion
groupIdexample/groupId
artifactIdexample/artifactId
packagingpom/packaging
version1.0/version  
modules
moduleA/module
/modules
/project

[2]pom.xml at D:\maven\example\A
project
parent
groupIdexample/groupId
artifactIdexample/artifactId
version1.0/version
/parent
modelVersion4.0.0/modelVersion
artifactIdA/artifactId
packagingpom/packaging
modules
moduleB/module
/modules
/project

[3]pom.xml at D:\maven\example\B
project
parent
groupIdexample/groupId
artifactIdA/artifactId
version1.0/version
/parent
modelVersion4.0.0/modelVersion
artifactIdB/artifactId
packagingjar/packaging   
/project

[1]If I run commond mvn compile at dir D:\maven\example\A\B, the source will
be compiled normally.

[2]If I run commond mvn compile at dir D:\maven\example, the result is as
the same as [1].

[3]If I run commond mvn compile at dir D:\maven\example\A, the run will be
failed.
A part of the output is
Downloading:
http://repo1.maven.org/maven2/example/example/1.0/example-1.0.pom;
and
Reason: Cannot find parent: example:example for project: null:A:pom:1.0
Why the POM in dir D:\maven\exampel\A can't find its parent POM in dir
D:\maven\exampel?
But the POM in dir D:\maven\exampel\A\B can find its parent POM in dir
D:\maven\exampel\A, even its parent's parent POM in dir D:\maven\exampel?
-- 
View this message in context: 
http://www.nabble.com/-M2-Why-can%27t-find-parent-POM--tf2206497.html#a6111024
Sent from the Maven - Users forum at Nabble.com.


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



Re: Re : Maven 2.0 repository configuration

2006-09-02 Thread Arnaud Bailly
senthilkumar sivanandam [EMAIL PROTECTED] writes:

 Hi 

 How can I change my remote repository? I have already

You cannot change the remote repository. You may however mirror the
repository named central so that all requests will be made to this
mirror instead of the set of real central repositories (and their
mirrors).

mirrors
mirror
idlocal1/id
namemycomp/name
mirrorOfcentral/mirrorOf
   layoutdefault/layout
urlhttp://mycomp/maven2-repository//url
/mirror
/mirrors  

regards,
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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



release:perform

2006-09-02 Thread Douglas Ferguson
Is there a way to do a release:perform off a tag but have it release to a new 
version?
 
I have a tag app-x.x-RC-1 and I'd like to release it to app-x.x
 
Thanks,

D-

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



[M2] Archetype File Name Genration

2006-09-02 Thread ccadete



When I create an archetype I put in the directory pre-determined java
classes, like App.java generated by simple maven archetype.

But, if I want that App.java will be named MyArtifact.java, the name of the
java source generated will depend on the artifact name.

How can customize archetype to create a java source with the same name of
the artifact ?

ccadete

-- 
View this message in context: 
http://www.nabble.com/-M2--Archetype-File-Name-Genration-tf2207247.html#a6113174
Sent from the Maven - Users forum at Nabble.com.


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



Re: snapshot - maven 1.0.2

2006-09-02 Thread neeraj daffodil

hi *Jeff Jensen*
*very very thanks ,i need what you exactly give me ,*
*Regards*
*Neeraj*


On 9/1/06, Jeff Jensen [EMAIL PROTECTED] wrote:


So I think you are asking how to always get the latest version.  If you
are
in development mode, then yes use SNAPSHOT for that:
   dependency
 groupIdcom.daffodil.dak.gwt/groupId
 artifactIddakhar/artifactId
 version1.5-SNAPSHOT/version
 properties
war.bundletrue/war.bundle
 /properties
   /dependency


Please carefully read the Using SNAPSHOT Dependencies section on this
page:
http://maven.apache.org/maven-1.x/using/managing-dependencies.html


-Original Message-
From: neeraj daffodil [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 1:35 PM
To: Maven Users List
Subject: Re: snapshot - maven 1.0.2

hi Jeff Jensen
   thanks to replay ,yes you are write i have to use 1.5 in version
but
i need some think that i have not to mention the version no. and it will
download the latestes jar file from the repository ,i am sure that to do
this work we have to use snapshot in version but how i can use in my maven
1.0.2 i have no ideya ,if you understand my actuall problem then please
replay


Thanks in advances
Regards
Neeraj



On 9/1/06, Jeff Jensen [EMAIL PROTECTED] wrote:

 I'm a bit confused by your email description.  What happens when you
 change the version number?  You didn't state how you are trying to get
 version 1.5, and the dependency example you gave shows 1.2.

 Additionally, I suggest these changes to your example, based on what I
 understand from your email:
dependency
  groupIdcom.daffodil.dak.gwt/groupId
  artifactIddakhar/artifactId
  version1.5/version
  properties
war.bundletrue/war.bundle
  /properties
/dependency

 (set the version to the one you want)

 Maven assembles the parts to determine the filename.  See the
 dependency element doc (contains examples):

 http://maven.apache.org/maven-1.x/reference/project-descriptor.html#cl
 ass_De
 pendency


 -Original Message-
 From: neeraj daffodil [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 01, 2006 9:03 AM
 To: Maven Users List
 Subject: snapshot - maven 1.0.2

 hi all
   i am using maven 1.0.2 and i want to use latest version of jar
 which are defines in the project.xml , i mean to say that in our
 remote repository there are 4 to 5 version of jar but i want to use
 the latest version (i.efrom remote repository only latest version will
 download but i am not able to do this ) i know from searching that to
 do this process there is somthing like SNAPSHOT but i am unable to
 define in my project.xml ,it might be like this dependency
  groupIdcom.daffodil.dak.gwt/groupId
  artifactIduser/artifactId
  versiondakhar-1.2.jar/version
  jardakhar-1.2.jar/jar
  typejar/type
  properties
war.bundletrue/war.bundle
  /properties
/dependency
 here i am using  dakhar-1.2.jar but in our repository we have
 dakhar-1.5.jarand dakhar-1.2.jar but i want to download that
 dakhar-1.5.jar by maven 1.0.2 but all the time it is downloaded the
 dakhar-1.2.jar jar file

 can any one tell me where i am wrong and how should i can achieve this

 Regards
 Neeraj


 -
 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: [M2] Archetype File Name Genration

2006-09-02 Thread franz see



ccadete wrote:
 
 
 
 When I create an archetype I put in the directory pre-determined java
 classes, like App.java generated by simple maven archetype.
 
 But, if I want that App.java will be named MyArtifact.java, the name of
 the java source generated will depend on the artifact name.
 
 How can customize archetype to create a java source with the same name of
 the artifact ?
 
 ccadete
 
 

Good day to you, ccadete,

If i am not mistaken, that cannot be done with maven-archetype-plugin.
AFAIK, resource filtering can only be done for the content of the files and
not for the file names themselves. Thus, naming your java file
${artifactId}.java does not work.

Cheers,
Franz
-- 
View this message in context: 
http://www.nabble.com/-M2--Archetype-File-Name-Genration-tf2207247.html#a6114884
Sent from the Maven - Users forum at Nabble.com.


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



Re: [M2]Why can't find parent POM?

2006-09-02 Thread dan tran

http://jira.codehaus.org/browse/MNG-740

Please vote for that jira


On 9/2/06, jiangshachina [EMAIL PROTECTED] wrote:



Hello,
I'm newbie in Maven. I make a very simple example for Maven, but meet a
trouble.The example as follows.
The example's direcotry layout is
D:\maven
   |-- example
   |-- pom.xml
   |-- A
   |-- pom.xml
   |-- B
   |-- pom.xml
   |-- src
   |-- main
   |-- java
   |-- hello
   |--Hello.java


[1]pom.xml at D:\maven\example
project
   modelVersion4.0.0/modelVersion
   groupIdexample/groupId
   artifactIdexample/artifactId
   packagingpom/packaging
   version1.0/version
   modules
   moduleA/module
   /modules
/project

[2]pom.xml at D:\maven\example\A
project
   parent
   groupIdexample/groupId
   artifactIdexample/artifactId
   version1.0/version
   /parent
   modelVersion4.0.0/modelVersion
   artifactIdA/artifactId
   packagingpom/packaging
   modules
   moduleB/module
   /modules
/project

[3]pom.xml at D:\maven\example\B
project
   parent
   groupIdexample/groupId
   artifactIdA/artifactId
   version1.0/version
   /parent
   modelVersion4.0.0/modelVersion
   artifactIdB/artifactId
   packagingjar/packaging
/project

[1]If I run commond mvn compile at dir D:\maven\example\A\B, the source
will
be compiled normally.

[2]If I run commond mvn compile at dir D:\maven\example, the result is as
the same as [1].

[3]If I run commond mvn compile at dir D:\maven\example\A, the run will be
failed.
A part of the output is
Downloading:
http://repo1.maven.org/maven2/example/example/1.0/example-1.0.pom;
and
Reason: Cannot find parent: example:example for project: null:A:pom:1.0
Why the POM in dir D:\maven\exampel\A can't find its parent POM in dir
D:\maven\exampel?
But the POM in dir D:\maven\exampel\A\B can find its parent POM in dir
D:\maven\exampel\A, even its parent's parent POM in dir D:\maven\exampel?
--
View this message in context:
http://www.nabble.com/-M2-Why-can%27t-find-parent-POM--tf2206497.html#a6111024
Sent from the Maven - Users forum at Nabble.com.


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




Color logging?

2006-09-02 Thread Matt Raible

Is it possible to configure Maven so it spits out color logging like Ant does?

FWIW:

export ANT_ARGS='-logger org.apache.tools.ant.listener.AnsiColorLogger'

gives pretty color logging in Ant.

Thanks,

Matt

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



RE: directory v. outputDirectory

2006-09-02 Thread Douglas Ferguson
directory = target
outputDirectory = target/classes
 
 
 
- Original Message -
From: [EMAIL PROTECTED]
Sent: Sat, 9/2/2006 2:15am
To: users 
Subject: directory v. outputDirectory 
 
 
What's the difference between

   build
  directory
  outputDirectory
  ...

I'm using maven-native-plugin, which has identical configuration
elements, but I'm prevented from using them, i.e.

   build
 plugins
   plugin
  configure
 directory
 outputDirectory

by errors complaining about over-written read-only parameters.

It would be OK if libraries (modules) were to build in their own
target/ sub-directories, but I'd like to move a copy of the resulting
libraries into a central location higher in the project hierarchy.

Brad

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