Pierre-Arnaud Marcelot schrieb:
 Hi Felix,

Actually, it would be better if we don't change the version number on
this project.
It is used and bundled in the Apache DS plugin, and the version is
hardcoded in the coded of the plugin (sorry but it was needed and I had no other solution)...

Can't we use filtering here?


 Is there another way than going to SNAPSHOT ?

We can try to overwrite [1] the distribution repository for non snapshots (only for this artifact). But we'll need to remember to reset this when doing a real deployment (i.e. for when releasing). Otherwise it'll get deployed to a wrong location.


BTW, Felix, I have another Maven question. I added the new Apache DS
feature to the build and it includes 4 new projects. When I try to build it using "mvn clean install", I got an error telling me I don't have enough memory. I need to use this command "MAVEN_OPTS="-Xmx256m" mvn clean install" to build the projects correctly.
 Is there any way this could be corrected (or added the build) ?

I don't know. Regarding [2] there's no other way :(. If it's a problem of compilation you can try to increase mem for this task [3], but I'm not sure if it helps.

[1] http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
[2] http://www.nabble.com/MAVEN_OPTS-in-pom.xml-or-settings.xml--td15081454s177.html [3] http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-with-memory-enhancements.html

Felix


 Thanks,
 Pierre-Arnaud


On Wed, Jun 11, 2008 at 2:40 PM, Felix Knecht <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

Hi Pierre-Arnaud


In the sutdio/turnk/pom.xml we do have a studio artifact having a non snapshot version (see diff below). This makes it for continuum impossible to deploy the artifact, because of suffering karma. Snapshot artifact version are deployed to vm094.oxylos.org <http://vm094.oxylos.org> - what works well - whereas non snapshot artifacts are tried to be deployed somewhere at apache.org <http://apache.org> - where continuum doesn't has access.

Can we change the apacheds.launcher.version to snapshot like all the others are?

Regards
Felix


[EMAIL PROTECTED] ~/svn/apache/directory/studio/trunk $ svn diff pom.xml
Index: pom.xml
===================================================================
--- pom.xml     (revision 666641)
+++ pom.xml     (working copy)
@@ -62,7 +62,7 @@
~   <properties>
~     <!-- Set versions for subprojects -->
~     <aciitemeditor.version>1.2.0.SNAPSHOT</aciitemeditor.version>
-    <apacheds.launcher.version>1.2.0</apacheds.launcher.version>
+    <apacheds.launcher.version>1.2.0.SNAPSHOT</apacheds.launcher.version>
~     <apacheds.version>1.2.0.SNAPSHOT</apacheds.version>
~     <apacheds.help.version>1.2.0.SNAPSHOT</apacheds.help.version>
~     <apacheds.feature.version>1.2.0.SNAPSHOT</apacheds.feature.version>

Reply via email to