Print

Print


Build the cvs head of hps-detectors locally and this should go away.
--Jeremy

-----Original Message-----
From: Hansson Adrian, Per Ola 
Sent: Wednesday, February 20, 2013 4:23 PM
To: McCormick, Jeremy I.
Cc: hps-software
Subject: Re: hps-java release


Hi Jeremy,

I'm doing some work on the cvs head (or at least I've updated to the head but I have some local changes not committed yet) and now I get an error when trying to build. Seems to be related to the 1.6 snapshot that's in the pom. I don't think I understand the details of how these get deployed but I thought the release wouldn't affect me as I'm looking at the snapshot? 

Any ideas what has changed here and what I need to do?

/Pelle



 [log in to unmask] ~/work/HPS/software/reco/hps-java > mvn clean install -DskipTests=true [INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.lcsim:hps-java:jar:1.6-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 66, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 74, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Heavy Photon Search Java Project 1.6-SNAPSHOT [INFO] ------------------------------------------------------------------------
Downloading: http://lcsim.org/maven2/org/lcsim/lcsim/2.8-SNAPSHOT/maven-metadata.xml
Downloaded: http://lcsim.org/maven2/org/lcsim/lcsim/2.8-SNAPSHOT/maven-metadata.xml (966 B at 19.3 KB/sec)
Downloading: http://lcsim.org/maven2/org/lcsim/hps-detectors/1.4-SNAPSHOT/maven-metadata.xml
Downloading: http://lcsim.org/maven2/org/lcsim/hps-detectors/1.4-SNAPSHOT/maven-metadata.xml
Downloading: http://lcsim.org/maven2/org/lcsim/hps-detectors/1.4-SNAPSHOT/hps-detectors-1.4-SNAPSHOT.pom
[WARNING] The POM for org.lcsim:hps-detectors:jar:1.4-SNAPSHOT is missing, no dependency information available
Downloading: http://lcsim.org/maven2/org/lcsim/hps-detectors/1.4-SNAPSHOT/hps-detectors-1.4-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.855s
[INFO] Finished at: Wed Feb 20 16:19:27 PST 2013 [INFO] Final Memory: 4M/81M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hps-java: Could not resolve dependencies for project org.lcsim:hps-java:jar:1.6-SNAPSHOT: Could not find artifact org.lcsim:hps-detectors:jar:1.4-SNAPSHOT in lcsim-maven (http://lcsim.org/maven2) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException



On Feb 15, 2013, at 8:44 PM, McCormick, Jeremy I. wrote:

> Yes, everything gets tagged with the form like this:
> 
> hps-java-1_5
> 
> A project website is also generated automatically:
> 
> http://www.lcsim.org/software/hps-java/1.5/
> 
> Somehow the javadoc didn't make it into last release but I'll make sure to get it up there for the next one.
> ________________________________________
> From: Maurik Holtrop [[log in to unmask]]
> Sent: Friday, February 15, 2013 12:39 AM
> To: McCormick, Jeremy I.
> Cc: hps-software
> Subject: Re: hps-java release
> 
> Hello Jeremy,
> 
> This is great, to have a release this way.
> 
> I would like to know if there is also a tag on the CVS repository. Having the jar file is very useful, but I think we would need a way to inspect the code that went into this jar file. Is there such a tag? If not could you make one?
> 
> It would be nice to have a confluence page with this information on it, which also allows people to make annotations to the release, if needed.
> 
> Best,
>        Maurik
> 
> 
> On Feb 14, 2013, at 10:53 PM, "McCormick, Jeremy I." <[log in to unmask]> wrote:
> 
>> Hi,
>> 
>> Yesterday I made a release of hps-java, which can be found here:
>> 
>> http://www.lcsim.org/maven2/org/lcsim/hps-java/1.5/hps-java-1.5-bin.j
>> ar
>> 
>> This is a runnable jar file containing all the dependencies for the project, so you do not need any external libraries to run it.
>> 
>> The syntax is as follows:
>> 
>> java -jar hps-java-1.5-bin.jar [arguments] [steeringFile]
>> 
>> The steering files are found here in the hps-java project:
>> 
>> src/main/resources/org/lcsim/hps/steering/
>> 
>> Currently, you would need to checkout this project locally to access them:
>> 
>> cvs -d :pserver:[log in to unmask]:/cvs/lcd co hps-java
>> 
>> Let me know if there are any questions about this, and please send to the list so everyone can participate.
>> 
>> --Jeremy
>> 
>> #####################################################################
>> ###
>> Use REPLY-ALL to reply to list
>> 
>> To unsubscribe from the HPS-SOFTWARE list, click the following link:
>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>> <winmail.dat>
> 


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1