Log in



Archive for September, 2006

Maven 2

September 22nd, 2006 by Peter

I started to migrate some of our ASG projects from Maven 1 to Maven 2. The new Maven version finally provides everything I expected from the first version, especially dependency trees. The IBiblio repository is still a mess. Therefore you might need to deploy some needed libraries manually to your own (company ?) Maven2 repository:

In ASG, my repository login is not the same as my local user name. Therefore, I first needed to patch MAVEN2_HOME/conf/preferences.xml in order to add the username and password for the remote access (see here). The name/password pair is referenced by the server id, which you can provide in the deployment command:

C:\maven-2.0.4\bin>
  mvn deploy:deploy-file
    -Durl=sftp://xxx.asg-platform.org/xxx/maven2/repository
    -DrepositoryId=ASG
    -Dfile=y:\.maven\repository\j2ee\jars\j2ee-1.4.jar
    -DgroupId=j2ee
    -DartifactId=j2ee
    -Dversion=1.4
    -Dpackaging=jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO] -------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
[INFO] [deploy:deploy-file]
Uploading: sftp://maven.asg-platform.org/opt/maven/maven2/repository/j2ee/j2ee/1
.4/j2ee-1.4.jar
[INFO] Retrieving previous metadata from ASG
[INFO] Uploading repository metadata for: 'artifact j2ee:j2ee'
[INFO] Retrieving previous metadata from ASG
[INFO] Uploading project information for j2ee 1.4
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Sep 22 12:03:37 CEST 2006
[INFO] Final Memory: 3M/5M
[INFO] ------------------------------------------------------------------------

Please note that Maven2 generates the necessary POM information for you.

(Nearly) life time email address

September 6th, 2006 by Peter

In the beginning of my Internet life (~8 years ago), I planned to establish a permanent private email address. This is the most simple solution to ensure that old friends can reach you again. I thought this would be the only way – Google did not exist at this time. We purchased our domain as a group of friends, and it still exists.

In this earlier times of 28.8 Baud modems, owning such a domain was an expensive task. Therefore, I never thought of owning additionally the domain for my family name. But now I am older, and it simply looks better ;-) … Therefore, I took the ultimate last chance for some nicer mail address by ordering one of the new EU domains. And … it worked ! For this reason, I will now migrate everything to my new private domain. Hopefully, this will be the last change for … let’s say the next 10 years ;-) … The web page is still rudimentary, I am still searching for my personal successor of Typo3 …

peter@troeger.eu

  • You are currently browsing the troeger.eu blog archives for September, 2006.