branching problem with release plugin

Hi There,

I’ve got a major problem when using the release plusgin’s branch task, the scm connections and developerConnections urls are wrong on the created branch:

1. on trunk before release:branch

scm:svn:http://svn.int.gscf.com/xmt2/ETB-ROOT/trunk scm:svn:https://svn.int.gscf.com/xmt2/ETB-ROOT/trunk

2. on branch after:

scm:svn:http://svn.int.gscf.com/xmt2/ETB-ROOT/branches/1.78/* trunk* scm:svn: https://svn.int.gscf.com/xmt2/ETB-ROOT/branches/1.78/*trunk*

the plugin was executed as: mvn org.apache.maven.plugins:maven-release-plugin:2.0:branch -DbranchName=1.78 -DdevelopmentVersion=1.79.0-SNAPSHOT -DupdateWorkingCopyVersions=true -DautoVersionSubmodules=true

As you might see there is an exta “/trunk” added to the end of the urls, which makes releases with release:prepare and release:perform troublesome from the created branch.

If you have seen such a problem and happen to know any remedy please let me know.

Kind regards,

Daniel

Dependency:sources skipping files

I run mvn -U dependency:sources, and all my source jars are on an Artifactory build server, but all the sources are “skipped” and nothing gets downloaded. What causes Maven to “skip” downloading sources?

maven-1.1 build-bootstrap fails with OpenVMS

Googling for “java proxy system property ntlm” takes me to: http://download.oracle.com/javase/1.4.2/docs/guide/net/properties.html

That page seems to cover what you’re looking for.

And here’s a page with additional information for JDK6 (same search, a few links down in the list): http://download-llnw.oracle.com/javase/6/docs/technotes/guides/net/http-auth.html

As for “forcing” basic auth, that seems to be the default unless you specify the http.auth.ntlm.domain or another property. But I am far from an expert in this area. You probably need to be setting http.proxyHost and http.proxyPort.

Wayne

WAR type and transitive dependencies

On 24.8.2010 23:41, skatz wrote:

That is the way Maven should behave by default.

For instance, if you define javax.mail in pom.xml:

javax.mail mail 1.4.2 provided

mvn dependency:tree shows also transitive depndecy javax.activation:

[INFO] +- javax.mail:mail:jar:1.4.2:provided (scope not updated to compile) [INFO] | – javax.activation:activation:jar:1.1:provided

Which will be available at compile time, and not packed inside WAR.

Regards, Ognjen

Creating and deploying two classified WAR files at once

Hi folks,

I am facing a config problem with deploying two classified WAR files at once. My setup is this, I have a WAR project which is developed and tested locally with Tomcat and Eclipse. Deploying this WAR file to host1 and host2 requires a different context.xml. So I tried to solve this with a profile with copies a different context.xml with filtering for the hostname. Invoke would be like this: mvn package -Pdeployment -Dhostname=host1

Package is created. I rerun the same process a second time for host2. Now the real problem arises when I do a release:perform to Nexus. I cannot produce two files at the same time during this process. Of course only one file is deployed. A second deployment does not work because Nexus blocks. I have to manually upload the second war file.

Is there any remedy to this? I want to avoid tampering with the assembly plugin since this would be just tedious work which the WAR plugin already does perfectly.

Thanks,

Mike

John Smart’s poll for build tools

If you use Maven, John Smart’s polls are a great way to show your support for us :-)

Please vote!

http://www.wakaleo.com/resources/polls

Thanks,

Jason

MASSEMBLY-445 now has patch /w tests

Hello Apache Maven users,

Can some Maven developer please mark MASSEMBLY-445as issue with patch & tests, if not have a look at it?

Thanks in advance!

Regards, Stevo.

Problems building Maven with Eclipse and running Integration Tests

Hello everyone,

I can’t build Maven properly with the m2eclipse plugin, below are the errors I get in Eclipse. Almost all maven subprojects fail to build with m2eclipse…

http://www.ideone.com/vBVg6

With the command line, I can build Maven ok but most of the integration tests fail to run. I corrected the version in the pom.xml from 2.2.2-RC2-SNAPSHOT to 2.2.1 and used “mvn test” in the “maven-core-it-runner” folder.

Here are the results of the integration tests: http://www.ideone.com/Ppx48

I am using the 2.2.1 sources downloaded from the website.

Does anyone know what am I doing wrong here? Please let me know if you need more info.

Thanks in advance, Victor Freire

maven package bloated

Hi,

When I do maven package, this gives me a bloated WAR with all the dependencies which is 19MB in size.

For some reasons I need to deploy WAR onto my VPS time and again to test.

But deploying a 19MB war is time consuming, can I try to strip off the dependency JARs in the WAR ?

Tried packaging a skinny war and referenced the the dependency jars with shared.loader in catalina.properties, is this the right way to do it ?

Using maven2 and tomcat6.

Not to mention, I am very new to maven.

Mudit Tuli

Logging the progress

Hi all guys, a friend of mine and I are developing a maven plugin that needs to upload files on a server; what I’d like to do is logging the upload percentage so users can monitor on the shell the upload status. The question is: how to use the maven logger in the way that for any new calculated progress it won’t be logged in a new line? Reading

10/100 KB 20/100 KB …

doesn’t look good – at least to me :P Any suggestion? Thanks in advance!!! Simo

http://people.apache.org/~simonetripodi/ http://www.99soft.org/