Le 23/01/2012 01:09, sebb a ecrit :
> On 21 January 2012 19:07, Milamber <milam...@apache.org> wrote:
>   
>>
>> Le 21/01/2012 16:42, sebb a ecrit :
>>     
>>> If you want to try out the Maven targets, update workspace and build
>>> (ant package)
>>>
>>> Then create the poms/jars:
>>>
>>> ant  _maven_dist -Djmeter.version=2.6-SNAPSHOT
>>>
>>> [might add this to the distribution target later]
>>>
>>> Then
>>>
>>> ant maven_upload
>>>
>>> will create the a local repo under target/deploy.
>>>
>>> If that works OK, then it is picking up Maven.
>>>
>>> You can then try uploading to the snapshots repo:
>>>
>>> ant maven_upload -DrepoType=snapshots
>>>
>>> I'm still working on the Maven bits, so the instructions may need to
>>> change slightly.
>>>
>>>       
>> It's works.
>> My feedback:
>>
>> If you want to try out the Maven targets, update workspace and build
>> (ant package)
>>
>> Note: Environment variable M2_HOME must be set.
>> (In Eclipse, External Tools Configurations box > Ant Build maven task >
>> Environment tab)
>> (In command-line, declare an environment variable with "export
>> M2_HOME=/path/to/maven_home")
>>     
> I was assuming that people would run the Ant commands from a shell, in
> which case M2_HOME should already be set?
>   

Both.
If you launch ant _dist_maven since command line, M2_HOME must be set.
or
If you launch _dist_maven since Eclipse, same thing with environment tab.


Command line error:
===
maven_upload:

BUILD FAILED
/home/milamber/temp/jmeter_2_6_SNAPSHOT/build.xml:1588: The following
error occurred while executing this line:
/home/milamber/temp/jmeter_2_6_SNAPSHOT/build.xml:1553:
/home/milamber/temp/jmeter_2_6_SNAPSHOT/${env.M2_HOME}/boot does not exist.
===


>   
>> Then create the poms/jars:
>>
>>  ant _dist_maven -Djmeter.version=2.6-SNAPSHOT
>>
>> [might add this to the distribution target later]
>>
>> Then
>>
>>  ant maven_upload -Djmeter.version=2.6-SNAPSHOT
>>
>> will create the a local repo under target/deploy.
>>
>> If that works OK, then it is picking up Maven.
>>
>>
>> You can then try uploading to the snapshots repo:
>>
>> If needed, add or modify your $HOME/.m2/settings.xml with this lines :
>>
>> <settings>
>> [...]
>>  <servers>
>>    <server>
>>      <id>apache.snapshots.https</id> <!-- For Snapshots -->
>>      <username>ASF_Login</username>
>>      <password>Your_Password</password>
>>     
> Not a good idea to add your password in clear; see the Maven
> encryption features:
>
> http://maven.apache.org/guides/mini/guide-encryption.html
>   


Done. Thanks for the URL.

Milamber


>   
>>    </server>
>>    <server>
>>      <id>apache.releases.https</id> <!-- For Releases -->
>>      <username>ASF_Login</username>
>>      <password>Your_Password</password>
>>    </server>
>>  </servers>
>> [...]
>> </settings>
>>
>> ant maven_upload -Djmeter.version=2.6-SNAPSHOT -DrepoType=snapshots
>>
>>
>> Works:
>> Repository Path:
>> /org/apache/jmeter/ApacheJMeter/2.6-SNAPSHOT/ApacheJMeter-2.6-20120121.185244-4.pom
>> Uploaded by:
>> milamber
>> Size:
>> 1.27 KB
>> Uploaded Date:
>> Sat Jan 21 2012 18:52:55 GMT+0000 (WET)
>> Last Modified:
>> Sat Jan 21 2012 18:52:55 GMT+0000 (WET)
>>
>>
>>
>>
>>     
>>> I also want to add a signing target which can loop through all the
>>> dist artifacts (archives, poms, jars).
>>>
>>> That will need GPG installed, preferably GPG 2.x
>>>
>>>       
>>
>> gpg2 --version
>> gpg (GnuPG) 2.0.14
>>
>>
>>
>>
>> Milamber
>>
>>
>>     
>>>
>>>       
>>>> Milamber
>>>>
>>>>
>>>>         
>>>>> The script will need Maven 2.2.1 or Maven 3.0.4 (just released).
>>>>>
>>>>> See http://maven.apache.org/download.html
>>>>>
>>>>>
>>>>>
>>>>>           
>>>>>> Now, ant distribution task works fine in my machine, but I don't see
>>>>>> maven section in output...
>>>>>>
>>>>>>
>>>>>>             
>>>>> I'm still working on it and have not committed it yet.
>>>>>
>>>>>
>>>>>
>>>>>           
>>>>>> Milamber
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> If so which version?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>>> Milamber
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>>>> Regards
>>>>>>>>> Philippe
>>>>>>>>>
>>>>>>>>> On Thu, Jan 19, 2012 at 8:49 AM, Milamber <milam...@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I can act as a release manager for the 2.6 version.
>>>>>>>>>>
>>>>>>>>>> Milamber
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Le 15/01/2012 14:27, Milamber a ecrit :
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>>>> Le 15/01/2012 12:58, Rainer Jung a ecrit :
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>>>>>> Hello everyone,
>>>>>>>>>>>>
>>>>>>>>>>>> at the beginning of December 2011 we discussed, whether we should 
>>>>>>>>>>>> have
>>>>>>>>>>>> a release soon. I think the overall opinion was "yes" but it seems 
>>>>>>>>>>>> the
>>>>>>>>>>>> project is still busy with fixing things and adding enhancements.
>>>>>>>>>>>> Nevertheless I have the impression there are now enough changes to
>>>>>>>>>>>> warrant the next release and get all the nice new stuff out in 
>>>>>>>>>>>> users
>>>>>>>>>>>> hands. I don't know whether it should be a 2.5.2 or 2.6 though.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                         
>>>>>>>>>>> +1 to release a new version 2.6
>>>>>>>>>>>
>>>>>>>>>>> Milamber
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>>>>>> Kudos to all the effort you put into JMeter!
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> Rainer
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                         
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>>                 
>>>>>>>               
>>>>>>             
>>>>>           
>>>>         
>>>       
>>     
>   

Reply via email to