Re: a question about the Maven Resolver Ant Tasks uber JAR

2024-02-28 Thread Thorsten Heit
Hi, For reasons that I may no longer believe, I tried to make a JAR that included the Maven Resolver Ant Tasks uber JAR plus some extra stuff. I figured I could do that by resolving the Maven Resolver Ant Tasks and including all those artifacts in my JAR. But that did not work. The resulting

Re: [VOTE] Require Java 17 for Maven 4

2024-02-28 Thread Thorsten Heit
Hi Joseph, +. 8 Xalan-J's next release should be Maven-based. But we wanted to put out one Java 8-compatible-but-deprecated build before moving to Java 17. I guess you're mixing a few things here: Maven 3 (or 4, doesn't matter) needing Java >= version X only means that you need that version

Re: [VOTE] Require Java 17 for Maven 4

2024-02-28 Thread Thorsten Heit
+1 (although I'd prefer to directly require Java 21 :-)) Regards Thorsten Am 28.02.24 um 08:30 schrieb Benjamin Marwell: Hi Maven Devs/Users/Committers and PMC members! After several discussions on the mailing lists, I would like to start a vote in favour of setting the minimal Java

Re: Browsing Maven central buggy?

2024-01-25 Thread Thorsten Heit
ectory you are looking for, and not rely on HTML "index page" as that seems not maintained since a while. T On Wed, Jan 24, 2024 at 5:50 PM Thorsten Heit wrote: Hi, browsing Maven Central using a webbrowser seems, well, a bit buggy: In https://repo1.maven.org/maven2/org/apache/logging/log4j/lo

Browsing Maven central buggy?

2024-01-24 Thread Thorsten Heit
Hi, browsing Maven Central using a webbrowser seems, well, a bit buggy: In https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-bom/ for example I only see versions 2.x up to 2.22.0 and 3.0.0-alpha1 whereas 2.22.1 and 3.0.0-beta1 both exist; they are simply not visible. The same

Re: How to force Maven to put a dependency on the module-path?

2023-08-02 Thread Thorsten Heit
Hi Martin, Even if a library decide to do the duplication, it may still not work. Starting with Java 9, a service provider can be instantiated by invoking a public static method named "provider" in the provider declared in "module-info.class". This is an alternative to invoking the default

Re: how to increment verion number and then deploy

2023-02-16 Thread Thorsten Heit
Hi, The following command can deploy and then increment verion number, but how toincrement verion number and then deploy? mvn build-helper:parse-version versions:update-versions

Re: m-release-m on Jenkins: 'cmd' is not recognized as an internal or external command

2022-11-22 Thread Thorsten Heit
Hi, I have created MRELEASE-1110 because the same steps work when I use m-release-p 3.0.0-M5, but not 3.0.0-M6 or M7... Regards Thorsten Am 18.11.22 um 10:56 schrieb Thorsten Heit: Hello, I'm struggling with a phenomen trying to simulate a release build of a Maven project on a Jenkins

m-release-m on Jenkins: 'cmd' is not recognized as an internal or external command

2022-11-18 Thread Thorsten Heit
Hello, I'm struggling with a phenomen trying to simulate a release build of a Maven project on a Jenkins agent; I hope someone has a glue what's going on... The project itself is configured as a Maven project inside Jenkins and is built by an agent running on a Windows machine. Using

m-antrun-p and Maven properties

2021-10-29 Thread Thorsten Heit
Hi, we're using m-antrun-p in a submodule of a multimodule build. Some of the tasks configured in the plugin use ${project.parent.basedir} to access a certain directory in the parent directory. With m-antrun-p 1.3 this works, the commands are executed successfully. Now with version 3.0.0

Re: Re: testExcludes/Includes to compile test with different java version

2020-08-24 Thread Thorsten Heit
Hi, > I am not quite sure why the java14ge profile should only compile and run > a single test and not all tests. The more intuitive way to organise the > build would be to run all relevant tests for all JDKs, i.e. the JDK 14 > tests being a superset of the JDK 8 tests. But you asked for a

Re: Re: How to make plugin part of default build in Maven.

2020-06-18 Thread Thorsten Heit
Hi Linus, > Thanks, Thorsten. > That worked perfectly. You're welcome. > What's the difference between the two? > Why doesn't pluginmanagement recognise the added plugins? In the plugin management section you can specify and (pre-)configure plugins that can be used for example in child

Re: How to make plugin part of default build in Maven.

2020-06-17 Thread Thorsten Heit
Hi, > I've just started working with Maven and this is my initial pom > configuration. > > *snip* > How do I ensure that Checkstyle plugin is executed when I simply type mvn > on the command prompt? Move the plugin(s) you'd like to use during a build ouf of the plugin management section

Re: PKIX path building error with Azul ZULU Open JDK 14

2020-06-16 Thread Thorsten Heit
Hi, > When I add the maven certificate to JRE certs, its working fine. > But every time there is change at maven side, I need to add the certification > again. > Is there anything we can add to the setttings? This has nothing do to with Maven, but with your Java installation. I assume you're

Re: Maven jdk Error

2020-05-15 Thread Thorsten Heit
Hi, > Here is my output when I deployed (...) > --- > T E S T S > --- (...) > Caused by: java.lang.UnsupportedClassVersionError: Preview features are not > enabled for Test (class file version

Re: Re: NullPointerException in maven-jlink-plugin

2020-03-18 Thread Thorsten Heit
Hi, > Hi, > > On 16.03.20 15:50, Thorsten Heit wrote: > > Hello, > > > > I tried to use maven-jlink-plugin to create a modular Java runtime image > > for an internal application. I've followed the description in the docs, > > but finally got a NullP

NullPointerException in maven-jlink-plugin

2020-03-16 Thread Thorsten Heit
Hello, I tried to use maven-jlink-plugin to create a modular Java runtime image for an internal application. I've followed the description in the docs, but finally got a NullPointeException during execution of "mvn package"; the same error as in MJLINK-41. Version 3.0.0-alpha-1 was release

Re: build maven project without setting compiler source and target

2020-02-17 Thread Thorsten Heit
Hi Matt, > So I guess it's an issue with NetBeans then a) using such an old version > of maven b) not handle compiler version and minium required > source/target correctly. > Guess I just set it to 8, as that's the oldest jdk/vm I still have lay > around, and don't bother anymore about it. >

Re: Re: build maven project without setting compiler source and target

2020-02-17 Thread Thorsten Heit
Hi, > Scanning for projects... (...) > - > COMPILATION ERROR : > - > Source option 5 is no longer supported. Use 6 or later. > Target option 1.5 is no longer supported. Use

Re: Re: failing jar:deploy

2020-01-22 Thread Thorsten Heit
Hi, > Can you please help. Did you get any solution. Facing similar problem. A few more details would be helpful: - What exactly does not work? - Which command(s) do you execute, i.e. how do you call Maven? Command line? IDE? ...? - Can you provide a minimal sample project to reproduce this?

Re: java 1.8 and java 11 using toolchains plus compiler and surefire

2019-09-02 Thread Thorsten Heit
Hi John, > evening, > > i'm having trouble testing a multi-release jar project using > toolchains. i want to test it using both java 1.8 and java 11. > > i've the following structure; > src/main/java > src/main/java11 > src/test/java > src/test/java11 > > tried both maven-surefire-plugin v

Re: Maven question - how to pull code from bitbucket repository as dependency

2019-06-12 Thread Thorsten Heit
Hi, > I have a maven project that builds Java jar files. I wan to run a python > script as one of the goals in the verify phase. I am planning to use the > ant run plugin for running the python script. The python script is stored > in a separate repository that I would like to copy to my

Re: How to work java 9 modules with Maven Surefire Plugin?

2018-09-24 Thread Thorsten Heit
Hi, > I want to test my JPMS module using maven surefire plugin (2.22) > with junit5. For this I added the following to my pom: > > ... > >org.junit.jupiter >junit-jupiter-engine >5.3.0 >test > > ... >

Re: Re: Dependency is missed while using maven-assembly-plugin

2018-04-03 Thread Thorsten Heit
Hi Sergey, > I updated to the latest maven version 3.5.3 and configured the project > to use > the latest maven-assembly-plugin version 3.1.0. You seem to be hit by https://issues.apache.org/jira/projects/MASSEMBLY/issues/MASSEMBLY-782. In short: You have circular dependencies in Batik 1.7:

Re: Re: Dependency is missed while using maven-assembly-plugin

2018-04-03 Thread Thorsten Heit
Hi, > The first thing I need to mention that I gave you a wrong version of > maven-assembly-plugin. > Maven-assembly-plugin version: 2.2-beta-5 > Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; > 2014-12-14T20:29:23+03:00) > Maven home: C:\soft\apache-maven-3.2.5 > Java version:

Antwort: Re: Maven JAVA_HOME

2018-03-21 Thread thorsten . heit
Hi, > Preston, Dale wrote on 2018-03-20 11:13: > > > On my server, I have JAVA_HOME set to jdk1.8.0_161.0. When I execute echo > > $JAVA_HOME, it shows the right path to my jdk1.8.0_161.0. When I run java > > -version, it shows the right version 8 as well. > > > > When I run maven -version,

Re: Re: [ANN] Apache Maven EAR Version 3.0.0 Released

2018-03-16 Thread Thorsten Heit
Hi, > On 15/03/18 12:51, Thorsten Heit wrote: > > Hi, > > > >> The Apache Maven team is pleased to announce the release of the > >> Apache Maven EAR Plugin Version 3.0.0 > > > > First of all thanks for releasing a new version of this plugin! >

Re: [ANN] Apache Maven EAR Version 3.0.0 Released

2018-03-15 Thread Thorsten Heit
Hi, > The Apache Maven team is pleased to announce the release of the > Apache Maven EAR Plugin Version 3.0.0 First of all thanks for releasing a new version of this plugin! I just gave it a try in an internal multi-module project, but now I can't deploy the EAR anymore to Wildfly 11 server

Re: Source build of CloudStack versions 4.8.11 and 4.9.0.1 fails

2016-12-02 Thread Thorsten Heit
Hi Max, > I am getting the following error when I do a source build on version 4.8.11 > and 4.9.0.1 (mvn -P deps is the command I run): > > --- > BUILD FAILURE > [INFO] > > [INFO] Total time: 7.442s > [INFO] Finished at:

Re: [ANN] Apache Maven JAR Plugin Version 3.0.1 Released

2016-06-13 Thread Thorsten Heit
Hi, > I also see that there is a v0.17.1 of the connector. > http://repo.maven.apache.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.1/N/LATEST/ > Have you tried that? I have absolutely no clue what the difference is > though...:-) Yes, same result > > You should probably move

Re: [ANN] Apache Maven JAR Plugin Version 3.0.1 Released

2016-06-13 Thread Thorsten Heit
Hi, using version 3.0.1 inside Eclipse, I now get the following error after updating my project(s): Error message: org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter) Resource: pom.xml Path: / Location: line 1 Type: Maven Configuration Problem This sounds like a similar problem

Re: Best practices: m-release-p and svn:externals

2016-04-26 Thread Thorsten Heit
Hello Robert, it's quite long ago that you answered my initial question, and I have been pretty busy with my $DAYJOB, but I wanted to say thanks for the pointers you gave. Using these hints I finally figured out how to realize such a feature and just added a quite simple patch to the Maven SCM

Best practices: m-release-p and svn:externals

2015-12-17 Thread Thorsten Heit
Hi, I have a few Maven projects that use svn:externals to link to code and/or resources stored in different paths in our Subversion repository. Compiling, packaging, deploying etc, works fine; even creating releases with m-release-p (release:prepare && release:perform). The svn:externals I'm

Re: Re: [VOTE] Change project logo and adopt owl as mascot

2014-11-25 Thread thorsten . heit
+1 Thorsten Arnaud Héritier aherit...@gmail.com schrieb am 25.11.2014 12:01:00: Von: Arnaud Héritier aherit...@gmail.com An: Maven Developers List d...@maven.apache.org Kopie: Maven Users List users@maven.apache.org Datum: 25.11.2014 12:02 Betreff: Re: [VOTE] Change project logo and

Status of MRELEASE-835?

2014-03-05 Thread Thorsten Heit
Hi, last year in april I added an enhancement request for the release plugin that allows a user to automatically resolve snapshot dependencies in release:prepare, i.e. there's no interaction necessary; see MRELEASE-835. I also added a patch I made using the source code of version 2.4.1 that is

Re: Re: Status of MRELEASE-835?

2014-03-05 Thread Thorsten Heit
Hi Sascha, [...] I just wanted to know what the actual status is? Is there no need for such a IMHO usable and CI- and/or build-server friendly feature? Is there anything missing in the issue/patch/description/...? At least a comment such as I'll look into that would be nice :-)

Re: release-plugin non-interactive release and system properties

2014-01-09 Thread thorsten . heit
Hi Steve, I’m confused as to how the version number in a pom file and the system properties like -DdevelopmentVersion=2.0-SNAPSHOT and - DreleaseVersion=1.2 interact. When I run a mvn –B release:prepare –DdryRun=true –Dtag=1.2 - DdevelopmentVersion=2.0-SNAPSHOT -DreleaseVersion=1.2 for a

Re: maven deploy plugin fails with artifact-not-found

2013-12-13 Thread Thorsten Heit
Hi, I’m trying to deploy a snapshot version of the artifact for the first time. Maven deploy fails with error “could not find artifact in the remote repository” Obviously the artifact was never deployed in the remote repository, so it is not available in the remote repository. Tried

Re: Jacoco:check - pom example?

2013-10-07 Thread thorsten . heit
Hi, Under build I have: plugin groupIdorg.jacoco/groupId artifactIdjacoco-maven-plugin/artifactId version${version.jacoco}/version executions execution idprepare/id

Re: Re: Nexus deployment of a ZIP file...

2013-03-21 Thread thorsten . heit
Hi, Yup, this is a surprising repetition, agreed, but that's normal. Please file an enhancement request about that, I guess this might be something fixable. I haven't used deploy:deploy-file from the command line for a longer time, but can't you omit groupId, artifactId etc. when you specify

Re: use properties within settings.xml

2013-02-26 Thread Thorsten Heit
Hi, I would like to setup profiles with username and password as properties. Then I would like to use the properties in the servers/server tags in the same file. Something like the following: profile idold-nexus/id activation

Re: String index out of range: -12 in ReleaseUtils.loadResolvedDependencies() when using Parent-Module-Layout

2013-01-18 Thread thorsten . heit
Hi, maven-release-plugin:2.4:prepare failed: String index out of range: -12 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:225) *snip* Have you tried running mvn -e -X ...? Perhaps there's something missing in your pom.xml, such as an invalid property that

Re: Maven dependencies - best practice

2013-01-16 Thread thorsten . heit
Hi, I am testing the Maven dependecies. In a parent-child project arhitecture I am using many frameworks (log4j, xdoclet, etc) and these are installed in may local repository and I am able to use them. I created and installed a POM, called x-deps, to manage the dependecies: *snip*

Re: Re: Some questions about Webby

2013-01-15 Thread Thorsten Heit
Hi Miguel, Did you manage to figure out this? I've just asked the exact same thing in m2e's mailing list! No, and I haven't used Webby since then anymore... :-) I just read your mail on m2e, and Benjamin told you a workaround that sounds good, although I have to admit that I didn't try

Re: Re: Escape '*' in property command line

2013-01-15 Thread Thorsten Heit
Hi, I did try single quotes, unfortunately that did not work either. I modified the maven script to print out is quoted args variable, looks like it did some sort of filename expansion with the '*' character. When I perform: echo 0 0 23 * * * I get: 0 0 23 * * *, as one would expect.

Re: Re: Why does mvn compiile using java 1.3?

2012-11-30 Thread Thorsten Heit
Hi, I have never seen any java application fail just because I run the version 7 VM. Even really old code still runs. A couple of Atlassian applications I work with in our department that didn't run (fine) with Java 7: - JIRA = 5.1.x (5.2 was released ~3 weeks ago) - Bamboo = 3.2.x (3.3 was

Re: Maven Shade Plugin - XmlAppendingTransformer cannot be loaded

2012-11-29 Thread thorsten . heit
Hi Benjamin, I'm running into an error when trying to build my project using the shade plugin. I need to merge some XML-Files, so the interesting part of my pom.xml looks like this: *snip* transformer

Re: Re: How to zip the source code separately using Maven

2012-09-12 Thread Thorsten Heit
Hi, can somebody give me the sample code... Please read the links you were given. What have you tried so far? And what problems do you still have? Regards Thorsten

Re: Re: Re: How to zip the source code separately using Maven

2012-09-12 Thread Thorsten Heit
Hi, I wanted only source code but it tries to combine the whole project content with Jar and etc. I am getting the following error. Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly (make-assembly) on project ABCServices: Error reading assemblies: No

Antwort: How to zip the source code separately using Maven

2012-09-11 Thread Thorsten Heit
Hi, Please tell me how we can add a task in POM.xml file to zip the source code separately while build the application. I want both .war file and .zip files independent of each other. https://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html

Re: jdk for os 10.5.8

2012-08-30 Thread Thorsten Heit
Hi, Hi can any one advise which jdk for os 10.5.8 / would be good to start with , im new to maven . and just starting out If you're on Mac OS X 10.7, then you have to live with the JDK Apple is providing: - Java 5 for 10.5.x (*) - Java 6 for 10.6.x (*) I'm not sure, but I guess I have

Re: JDK - Maven - Orekit - Re-configure / Output Charts { Look/Feel}

2012-08-30 Thread Thorsten Heit
Hi, Essentially all i wanted to do was get this http://www.iers.org/nn_11252/IERS/EN/DataProducts/ EarthOrientationData/__Function/Plots__GpsrapidDaily/ generischeTabelle__Diagramm.html data series and reconfigure the output charts. { Look/Feel } And redisplay them on a website. I

Re: pom

2012-08-13 Thread Thorsten Heit
Hi, I import a maven project with the pom file which is included in attach. There are no attachments in your mail. eclipse report this error : Plugin execution not covered by lifecycle configuration: org.mule.tools:maven-mule-plugin:1.7:attach-test-resources (execution:

Antwort: Maven + Spring 3.1.2.RELEASE Error

2012-08-10 Thread Thorsten Heit
Hi, I'm trying to build a project using Maven to package the latest spring 3.1.2.RELEASE jars into a war file. For some reason, it's pulling the latest version for some of the spring modules, but not for all of them. For example, the 3.1.2.RELEASE spring-orm module is downloaded, but the

Re: Error in deploying war file

2012-08-01 Thread Thorsten Heit
Hi, and create resources, webapp folders in Myapplication\src\main and inside resources i created 3 folders hibernate, properties and spring. in hibernate i kept all .hbm.xml files, in properties all properties files, and in spring again i created 3 folders beans, config and database. in

Re: How can I recursively build -SNAPSHOT dependencies present in the filesystem but outside the reactor?

2012-06-15 Thread Thorsten Heit
Hi Chris, Is there a neat way I could get Maven to perform a recursive build that looks on the filesystem to find -SNAPSHOT dependency projects and builds them? I'm familiar with Maven plugin development, but haven't yet found any clues toward a solution in the Maven / Aether

Re: Create Error reading settings.xml: Unrecognised association: 'servers' error

2012-06-05 Thread Thorsten Heit
Hi, Can anyone help me to solve the following error which I got when I was using atlassian. Create Error reading settings.xml: Unrecognised association: 'servers' (position: START _TAG seen ...ven must make a connection to a remote server.\n |--\n servers ... @110:12) Line: 110

Re: How to do a release build in Maven?

2012-05-22 Thread Thorsten Heit
Hi, How can I do something similar in Maven, or how does Maven do a release build? http://www.lmgtfy.com/?q=maven+release+build First link... Regards Thorsten

Re: Re: apache httpd plugin

2012-05-22 Thread Thorsten Heit
Hi, Yes, Starting/stopping Deploying to an instance (whatever that means) The most important thing I was thinking of is testing. That means testing a web application with apache httpd and selenium. Testing a web app that requires mod_rewrite won't work at the moment because tomcat and

Some questions about Webby

2012-05-08 Thread Thorsten Heit
Hi, today I decided to give Webby a try. Apart from Webby Core I also installed the embedded Jetty 8.x container. So far, so good. Some questions: a) How does Webby deal with dependencies having their scope set to provided? Our applications are mostly WARs / EARs that are deployed into

Re: javac: invalid target release: 1.7

2012-04-30 Thread Thorsten Heit
Hi, Mac OS X version 10.7.3 java -version java version 1.6.0_31 Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) (because required by project I want to build) The project I want to build is: http://code.google.com/p/cmake-maven-project/source/browse/ The error I am getting

Re: Errors in maven build

2012-04-27 Thread Thorsten Heit
Hi, I have been getting the following errors while executing “man package” for Jenkins plug-in. The error log is attached here. IIRC I have seen that error when using Java 7 for packaging a Hudson/Jenkins plugin. Try to use Java 6 instead, that should do the trick. HTH Thorsten

Re: using jelly:util failure

2012-04-17 Thread thorsten . heit
Hi, I have a little problem. I'm using jenkins for CI, and trying to send emails using email-ext-plugin by writing jelly script. I'm kind of new in jelly, so i'm stack for a day (!!!) because of an error in jelly:util tag, and have no idea how to progress from here. please help!!!

Re: Re: maven compile error message format

2012-04-11 Thread Thorsten Heit
Hi, ok thnak you very much. This was what I was expecting, however i could not see what the issue was. Here are the lines in the code from line 1 on package com.huawei.cona.android.zeroconf; import java.io.IOException; import jmdns-1.0; import service-1.0; (...) Quite easy: These

Re: Re: Re: maven compile error message format

2012-04-11 Thread Thorsten Heit
Hi, ok thnak you very much. This was what I was expecting, however i could not see what the issue was. Here are the lines in the code from line 1 on package com.huawei.cona.android.zeroconf; import java.io.IOException; import jmdns-1.0; import service-1.0; (...)

Re: eclipse plugin for maven using jdk 1.3

2012-04-02 Thread Thorsten Heit
Hi, I checked if the JRE in the Run AS configuration was 1.3 but it was not. Why is the maven plugin using 1.3 is beyond my understanding. http://maven.apache.org/general.html#Compiling-J2SE-5 HTH Thorsten

Re: Re: Re: useing profiles to control properties to drive version numbers in poms

2012-03-19 Thread Thorsten Heit
Hi, I'm using profiles at work for the sole purpose of deciding what to do with the build artifact, i.e. activating different deployment targets (application servers) for an EAR. I see this as a completely different task where you're simply using Maven as a utility tool. When using

Re: Re: Re: Re: useing profiles to control properties to drive version numbers in poms

2012-03-19 Thread Thorsten Heit
Hi, When been over this several times on this list. You have to extract the configuration out of the binary. You mustn't have a Maven build that could generate different flavors of an artifact. Which one would you deploy to the repository? Ok, this was a bit misleading by me. With flavors I

Re: Re: useing profiles to control properties to drive version numbers in poms

2012-03-18 Thread Thorsten Heit
Hi, Yes, profiles are evil. If you use them for changing / defining _what_ gets built and/or how, yes. If you think you should be using profiles, think again. If you still think they are the solution, please think it through once more. If you still persist, go use Ant. Profiles are simply

Antwort: Maven error: Embedded error: Not a root project: org.sonar.api.batch.bootstrap.ProjectDefinition@1bc5130a

2012-03-12 Thread thorsten . heit
Hi, running the command mvn sonar:sonar works fine on my project... however attempting to run mvn install against the following POM throws the stack trace below...can anyone explain this? thank you! Just a wild guess: You have specified that your project is an aggregator project:

Re: The perfect reporting tool?

2012-03-07 Thread Thorsten Heit
Hi, I am in search for a nice way to compile all reports for a Maven build. I have for instance JUnit results, findbugs results and code coverage results (using Emma). The maven site plugin does not really aggregate info so that I can get the total number of findbugs bugs so I started to

Re: Re: Added source directory still allows for compile errors

2012-03-06 Thread Thorsten Heit
Hi, Yes, there are lots of source files in this generated directory. They were generated with the command wsdl2java Is there no plugin for wsdl2java that you could leverage? Generally Maven plugins tell Maven about new source files to be compiled once they are created, such that your

Antwort: eclipse plugin has a POM of its own

2012-03-05 Thread Thorsten Heit
Hi, build sourceDirectoryC:\RSA75Workspace\workspace\finAppWeb\src/sourceDirectory scriptSourceDirectoryC:\RSA75Workspace\workspace\finAppWeb\src\main \scripts/scriptSourceDirectory testSourceDirectoryC:\RSA75Workspace\workspace\finAppWeb\src\test \java/testSourceDirectory

Re: Re: Antwort: eclipse plugin has a POM of its own

2012-03-05 Thread Thorsten Heit
Hi Syed, Yeah thats a good suggestion. Also can you tell me how to remove the C:\RSA75Workspace\workspace/ blah blah to some thing relative to workspace?? so that the POM is portable to another workspace. According to your initial post the effective pom lets me guess that you're using the

Antwort: RE: offline not truly offline?

2012-02-29 Thread Thorsten Heit
Hi, From my experience with the archetype plugin, it appears to ignore your company proxies and mirrors and always and only goes to repo1 unless you tell it otherwise using -DarchetypeCatalog=http://your.company.repo/ or -DarchetypeCatalog=local I don't have a proxy, but I do have

Re: AppAssembler and very long classpath

2012-02-29 Thread Thorsten Heit
*bump* Anyone? Thorsten Heit thorsten.h...@vkb.de schrieb am 13.02.2012 17:30:44: Von: Thorsten Heit thorsten.h...@vkb.de An: Maven Users List users@maven.apache.org Datum: 13.02.2012 17:31 Betreff: AppAssembler and very long classpath Hi, I'm using the appassembler plugin to generate

AppAssembler and very long classpath

2012-02-13 Thread Thorsten Heit
Hi, I'm using the appassembler plugin to generate executable scripts for Windows and Unix machines. The resulting structure is basically the following: myapp +- bin +- lib +- log My pom.xml contains: plugin groupIdorg.codehaus.mojo/groupId artifactIdappassembler-maven-plugin/artifactId

Antwort: Deploy javadoc/sources for snapshots

2012-02-10 Thread Thorsten Heit
Hi, Anyone run into the desire to deploy javadoc and sources artifacts for snapshots, in a similar fashion as done by the release-profile? If so, how are you handling that? Add the following configuration to buildplugins in your pom.xml: plugin groupIdorg.apache.maven.plugins/groupId

Re: Re: Deploy javadoc/sources for snapshots

2012-02-10 Thread Thorsten Heit
Hi, That's essentially what the profile would do. But it should be added in the corporate parent so that not all projects need to specify it. Also, and possibly more importantly, i don't want it to be bound to the build lifecycle for the developers as it adds some significant build time. It

Re: maven and wsdl2java

2012-02-06 Thread Thorsten Heit
Hi, Hi, I am trying to use maven to generate some client stubs for axis 1.4. The below pom, runs without complaint, but it doesn't generate the required ServiceLocator classes. If I download axis 1.4 and use the standard wsdl2java from the command line, everything is fine. I have seen a

Re: Plugin execution not covered by lifecycle configuration

2012-01-24 Thread Thorsten Heit
Hi, I stuck with the Plugin execution not covered by lifecycle configuration while using flexmojos-maven-plugin and getting below warning when doing maven build [WARNING] Some problems were encountered while building the effective model for

Re: Installation glitch!

2012-01-09 Thread Thorsten Heit
Hi, I am a first time user of maven and new to open source in general. Congrats and welcome! After running several different permutations and attempting to gain an expected response from the command prompt using mvn –version the system has proved to be not properly installed. The

Re: Creating an OS X Application

2011-11-10 Thread Thorsten Heit
Hi, Is there a plug-in somewhere that can help package a Java application as an OS X application? Have a look at http://mojo.codehaus.org/osxappbundle-maven-plugin/ I have to admit that I haven't tried it; I can't tell how good it works... Cheers Thorsten

Re: Maven deploy question ...

2011-10-17 Thread Thorsten Heit
Hi, a) Run the entire mvn build with just the clean and deploy, but deploy ONLY if all projects build and pass the tests properly b) Run the other installs, but when it comes to the deploy, not to run the install again, just deploy what is already there. Have a look at

Antwort: UTF-8 Test Mystery

2011-10-11 Thread Thorsten Heit
Hi Erik, I am having trouble understanding a mystery. I have code that checks my .properties file to make sure that it has not been corrupted after being edited by a non UTF-8 editor. In particular I have a property called lambda = λ and I check to see that it actually does resolve to

Re: Re: UTF-8 Test Mystery

2011-10-11 Thread Thorsten Heit
Hi Erik, forkModeonce/forkMode Doesn't help. I have some new insight on the problem. I changed my code to if (lambda.length() == 1) { char λ = lambda.charAt(0); if (λ != 'λ') //if (!lambda.equals(λ))

Antwort: Re: Incorrect assembly created with Maven 3.0.3

2011-09-20 Thread Thorsten Heit
Hi, Thorsten Heit wrote: ...snip ... But what puzzles me is that the archives created by Maven 2.2.1 and Maven 3.0.3 are different, and I don't see a reason why... ...snip... Hi there, Did you ever get anywhere with this? I'm seeing the same problem: Maven 3.0.3 adds

Re: Re: Incorrect assembly created with Maven 3.0.3

2011-09-20 Thread Thorsten Heit
Hi, Just a wild guess, do you have a dependencyManagament handling these artifacts where the scope is defined? I've seen different behavior between Maven 2.x and 3.0.x due to this (MJBOSSPACK-40 [1]). No, I haven't used dependency management. I simply referenced xerces and/or xalan (don't

Re: Setting site distribution URL in parent POM for entire company

2011-08-19 Thread Thorsten Heit
Hi Lóránt, However, requiring each project to do this is rather error prone, so I'd like to define a pattern in the company parent POM, and have all projects automatically derive their location from there. This doesn't work. If I set a location in our top-level POM to, say,

Re: Re: Setting site distribution URL in parent POM for entire company

2011-08-19 Thread Thorsten Heit
Hi, Thanks for the example. This is quite similar to what I'm trying to do. But if I do it like this, Maven will deploy my site under: scp://.../${parent.groupId}/${parent.artifactId}/$ {parent.version}/../../../${project.groupId}/${project.artifactId}/$

release plugin: automatically resolving snapshot dependencies in non-interactive releases?

2011-07-30 Thread thorsten . heit
Hello, when I execute mvn release:prepare on a command line, I'm asked whether snapshot dependencies should be resolved. Is it possible to have them resolved automatically when preparing/performing a release in non-interactive mode? Ok, I could use mvn versions:use-releases to do this, but in

Antwort: Re: Site deploy problem

2011-07-13 Thread Thorsten Heit
Hi, Oh I forgot... I use Maven 2.2.1 and maven-site-plugin version 2.3. The behavior is the same on Windows and Linux. What kind of SCP transfer do you want to use? Password-less, i.e. public-key-authentification, or using username/password? In the first case: Did you upload your public

Antwort: maven assembly plugin - chmod question

2011-05-18 Thread Thorsten Heit
Hi, My assembly looks like: assembly idjar-with-dependencies/id formats formatzip/format /formats includeBaseDirectoryfalse/includeBaseDirectory dependencySets dependencySet unpackfalse/unpack scoperuntime/scope

Re: Incorrect assembly created with Maven 3.0.3

2011-05-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, finally got ClassNotFoundException because of a missing dependency Jar in the lib folder; more precisely xalan:serializer:2.7.1 PS: I tested it with Maven 3.0.3 using Java 1.6.0_24, first on Solaris 11 Express and then on Mac OS X 10.6.7.

Incorrect assembly created with Maven 3.0.3

2011-05-13 Thread Thorsten Heit
Hi, I have a strange problem when building an assembly with Maven 3.0.3, and I don't know where to debug...: My project uses a combination of the appassembler mojo (1.1.1) and assembly plugin (2.2.1), both attached to the package phase, to create a tar.gz archive that basically has the

Maven 3 and cargo plugin

2011-02-09 Thread Thorsten Heit
Hi, according to the Cargo docs mvn cargo:help prints a short description, but that seems to work only with Maven 2; with Maven 3 I'm getting the following error: (...) [ERROR] No plugin found for prefix 'cargo' in the current project and in the plugin groups [org.apache.maven.plugins,

Re: Maven 3 and cargo plugin

2011-02-09 Thread Thorsten Heit
Hi, which version of the cargo plugin do you use? Can you give a snippet of your POM.xml where you configure cargo, cause i'm using cargo with maven 3.0.X For testing purposes I only added the following minimalist configuration snippet to my pom.xml as explained on the Cargo website

Re: Maven 3 and cargo plugin

2011-02-09 Thread Thorsten Heit
Hi, You need to declare 'org.codehaus.cargo' as a pluginGroup in your settings.xml: pluginGroups pluginGrouporg.codehaus.cargo/pluginGroup /pluginGroups Ok, thanks, I'll try it tomorrow when I'm back at work. OTOH: Why can Maven 2 find the Cargo plugin without having the above

Re: Maven 3 and cargo plugin

2011-02-09 Thread Thorsten Heit
I have no clue. There shouldn't be any difference. I'm guessing there is some difference in your maven 2 and maven 3 execution environments. Nope: I unpacked the binary tar archives for both Maven 2 and 3 in /usr/local, i.e. there are directories /usr/local/apache-maven-{2.2.1, 3.0.2}. There's

Maven 3.0 and m-war-p 2.1: Duplicate entries in generated WAR?

2010-10-20 Thread Thorsten Heit
Hi, I have a multi-module project structure that basically produces an EAR and some other artifacts: root +- pom.xml | +- module-common | + pom.xml | \ ... | +- module-war | + pom.xml | \ ... | +- module-ear | + pom.xml | \ ... | ... The project fully uses standard Maven directory

  1   2   3   4   >