Maven 3 and updateReleaseInfo=false

2011-06-29 Thread Henika Tekwani
Hi All,

I am trying to deploy an artifact using maven 3 but I don't want to update the 
RELEASE tag in the maven-metadata.xml. I am using 
maven-deploy-plugin:2.6:deploy-file and while calling the deploy command I am 
setting -DupdateReleaseInfo=false. Still the RELEASE tag in metadata is getting 
updated.

Any clue how to stop maven 3 from updating the RELEASE tag?

Thanks
Henika




Re: svn authentication with m2 release plugin

2011-06-29 Thread lagrangien8
Thank you,

this answer resolve my problem
since this morning, i was not able to use the mvn release : prepare command
due to an authentification problem
now it work very well

thx

--
View this message in context: 
http://maven.40175.n5.nabble.com/svn-authentication-with-m2-release-plugin-tp63557p4534992.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-06-29 Thread Sebastian Goldt
Hi all,

today, I run into some problems with the Maven Eclipse Plugin 2.8 using
Maven 3.0.3 on an Ubuntu 11.04 while setting up a mixed Java / Groovy
project. It seems as if the eclipse plugin doesn't include all source code
folders in the generated .project file. I haven't found anything on the
internet on that particular issue so far...

*Details:*

My project in question contains both tests and main source code in java as
well as in groovy, so I have the four folders src/main/java,
src/main/groovy, src/test/java and src/test/groovy which are added to the
project with the Build Helper Maven Plugin (1.6). When I generate the
eclipse project files using eclipse:eclipse, the generated .classpath file
only contains the src/main/groovy folder and not the src/test/groovy folder.

*Reproduction:*
The easiest way to reproduce the problem is by using a java/groovy project
quickstarter from codehaus:

   1. Create a dummy groovy/java project by using typing:

   mvn archetype:generate -DarchetypeGroupId=org.codehaus.groovy
   -DarchetypeArtifactId=groovy-eclipse-quickstart
   -DarchetypeVersion=2.5.1-M3-SNAPSHOT -DgroupId=foo -DartifactId=bar
   -Dversion=1 -DinteractiveMode=false -DarchetypeRepository=
   https://nexus.codehaus.org/content/repositories/snapshots/

   2. Create Eclipse project files

   mvn eclipse:eclipse

When inspecting the generated .classpath file, you will notice that the
src/test/groovy path is missing.

Note that if you wanted to import the project into eclipse, you would have
to set up the eclipse plugin in your pom as to include *.groovy classes on
your build path and properly organise the files in packages; however, this
wouldn't change the actual problem in any way.

*Workaround:*
Simply import the project into Eclipse and declare the src/test/groovy
folder as source folder.

Is this a bug or is there another mistake?

Regards,
Sebastian


question about mvn dir structure

2011-06-29 Thread Joseph
Hi all,

I am a newbie for mvn and have a simple question about dir structure.I
know the basic dirs were created automaticlly by mvn after
initialization setup of a web apps.Then what I do is just code and
create some packages under src/main/java,but the resource and test
directories did not updated .Do I have to create dir(package) under
resource/test manually to align against src/main/java structure? or do
we have some tricks that could accomplish that?


thanks a lot




Joseph

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



Re: question about mvn dir structure

2011-06-29 Thread Wendy Smoak
On Wed, Jun 29, 2011 at 9:12 PM, Joseph wutong...@gmail.com wrote:
 I am a newbie for mvn and have a simple question about dir structure.I
 know the basic dirs were created automaticlly by mvn after
 initialization setup of a web apps.Then what I do is just code and
 create some packages under src/main/java,but the resource and test
 directories did not updated .Do I have to create dir(package) under
 resource/test manually to align against src/main/java structure? or do
 we have some tricks that could accomplish that?

How did you set up your webapp?  Did you use the archetype plugin at
the command line, or are you using an IDE?

(Yes, you'd need to match the package structure for resources and
tests so things end up where they belong.)

-- 
Wendy

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



Re: question about mvn dir structure

2011-06-29 Thread Joseph
app was created by command line.

Yes, you'd need to match the package structure for resources ... --
all by hand coding ? any tools or tricks that do?

2011/6/30 Wendy Smoak wsm...@gmail.com:
 On Wed, Jun 29, 2011 at 9:12 PM, Joseph wutong...@gmail.com wrote:
 I am a newbie for mvn and have a simple question about dir structure.I
 know the basic dirs were created automaticlly by mvn after
 initialization setup of a web apps.Then what I do is just code and
 create some packages under src/main/java,but the resource and test
 directories did not updated .Do I have to create dir(package) under
 resource/test manually to align against src/main/java structure? or do
 we have some tricks that could accomplish that?

 How did you set up your webapp?  Did you use the archetype plugin at
 the command line, or are you using an IDE?

 (Yes, you'd need to match the package structure for resources and
 tests so things end up where they belong.)

 --
 Wendy

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





-- 
Never trust your computer.

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