<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>nmaven-dev@incubator.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/</id>
<updated>2009-12-07T22:27:54Z</updated>
<entry>
<title>Mailing list is being shut down</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200812.mbox/%3c1C167F81-D25C-4B32-8C53-330AED4D0A22@apache.org%3e"/>
<id>urn:uuid:%3c1C167F81-D25C-4B32-8C53-330AED4D0A22@apache-org%3e</id>
<updated>2008-12-12T00:57:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

For those still here, this mailing list is about to be shut down.  
Please direct further questions and comments to the projects that  
continued development based on the NMaven code:

(trunk) http://www.codeplex.com/nmaven/
(0.14) http://www.codeplex.com/npanday/

Thanks,
Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>NPanday - Visual Studio Integration for Maven</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200812.mbox/%3cE7277ED7-6FCA-4AC6-BF4E-B53A6D4469B0@apache.org%3e"/>
<id>urn:uuid:%3cE7277ED7-6FCA-4AC6-BF4E-B53A6D4469B0@apache-org%3e</id>
<updated>2008-12-03T11:51:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

After much consideration, a group of developers from Exist have  
started a continuation of the NMaven 0.14 branch at Codeplex under the  
project NPanday:

http://www.codeplex.com/npanday

The main objective of the project is to provide Visual Studio  
integration for Maven, Maven repositories and to enable command line  
builds for .NET projects via Maven.

Those that are using NMaven from that branch should find this much  
more stable and fully-featured with a number of the patches applied  
and significant work on top to improve the integration.

You can subscribe to the discussion list here: http://www.codeplex.com/npanday/Thread/List.aspx
The source code is available here: https://npanday.svn.codeplex.com/ 
svn (or browsable through http://www.codeplex.com/npanday/SourceControl/ListDownloadableCommits.aspx)
A release should shortly be available for the convenience of users  
that do not wish to build from sources.

The project continues to use the Apache License 2.0 and the Apache  
meritocratic model - so contributors are most welcome!

Cheers,
Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>NMaven at CodePlex</title>
<author><name>&quot;Shane Isbell&quot; &lt;shane.isbell@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200812.mbox/%3cf7743e090812021152r395bed19r1f4d9838b12ab68a@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf7743e090812021152r395bed19r1f4d9838b12ab68a@mail-gmail-com%3e</id>
<updated>2008-12-02T19:52:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Just in case there are people on this list who are not on the maven dev
list, I've moved NMaven over to CodePlex: http://www.codeplex.com/nmaven.
CodePlex now has svn support, so it should be an easy switch for most
people: https://nmaven.svn.codeplex.com/svn/trunk. I've incremented the
version to 0.17-SNAPSHOT; that will be the base going forward.

Thanks,
Shane


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Dissolving Apache NMaven From ASF Incubator</title>
<author><name>James Carpenter &lt;jcarpenter621@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200812.mbox/%3cEEE06A5F-323D-4F2F-BBA2-E49E881873A1@yahoo.com%3e"/>
<id>urn:uuid:%3cEEE06A5F-323D-4F2F-BBA2-E49E881873A1@yahoo-com%3e</id>
<updated>2008-12-02T06:05:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'll go ahead and state the obvious.  Many of us here really like the  
idea of .NET support for maven, but very few of us are willing to  
devote the time and resources required to really move the ball  
forward.  Although I am personally willing to contribute minor  
enhancements here and there as my own needs arise, I'm not currently  
motivated enough to take on a primary contributor role for NMaven.   
Though I may disagree with some of Shane's early architectural  
decisions which originally took NMaven away from the maven core, Shane  
was actively developing NMaven while I largely sat on the sidelines.   
Although their opinions seem to vary a bit, I believe the postings by  
Shane and Brett collectively provide a fairly clear summary of why the  
project has not gained the level of adoption we would all like.

The harsh reality here is that a few individuals and/or an appropriate  
company or funder must step up to the plate or NMaven will die.  If  
anyone reading this is willing to devote the necessary time to the  
project, please consider taking on a more active role.  If any  
potential funder is willing to commit the funding necessary to  
maintain steady progress please indicate a willingness to do so or  
otherwise take action to engage appropriate individuals.  As with any  
software project, good senior talent isn't cheap so any funding  
probably needs to at least be in the 6 figure range (USD).  Much of  
this work will involve enhancements to the maven core, which will  
probably be more daunting than a junior engineer can easily handle.

On Dec 1, 2008, at 6:26 PM, Caulene Tibbetts wrote:

&gt; I agree, Christian.  We are also a large enterprise using both Java  
&gt; and
&gt; .NET, and using a Maven-based build process.  The clear benefits of  
&gt; using
&gt; NMaven are 1) use of the Archiva repository for binaries, 2)  
&gt; versioning
&gt; capability, 3) reproducibility, and 4) consistent tooling throughout  
&gt; the
&gt; enterprise.  We have been working off the 0.14 branch, but would  
&gt; love to
&gt; move over to the trunk as soon as the full functionality is available
&gt; there.
&gt;
&gt; The VS interface has proven to be very valuable to us - it makes it  
&gt; easy to
&gt; port an existing project over to NMaven, as well as enabling users  
&gt; to use
&gt; NMaven for builds within the IDE.  There are a few items which could  
&gt; still
&gt; be cleaned up, but the main functionality is there.
&gt;
&gt; The key to increasing adoption of NMaven is letting the .NET world  
&gt; know
&gt; about the functionality that is available - I've not been able to find
&gt; *any*other product that addresses versioning, reproducibility, or has
&gt; even a
&gt; vague concept of a binary repository.

Sincerely,
James Carpenter
email: jcarpenter621@yahoo.com





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Dissolving Apache NMaven From ASF Incubator</title>
<author><name>&quot;Caulene Tibbetts&quot; &lt;caulene1@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200812.mbox/%3c6fe3453b0812011626l4ee5172ao16606528c9124e3@mail.gmail.com%3e"/>
<id>urn:uuid:%3c6fe3453b0812011626l4ee5172ao16606528c9124e3@mail-gmail-com%3e</id>
<updated>2008-12-02T00:26:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I agree, Christian.  We are also a large enterprise using both Java and
.NET, and using a Maven-based build process.  The clear benefits of using
NMaven are 1) use of the Archiva repository for binaries, 2) versioning
capability, 3) reproducibility, and 4) consistent tooling throughout the
enterprise.  We have been working off the 0.14 branch, but would love to
move over to the trunk as soon as the full functionality is available
there.

The VS interface has proven to be very valuable to us - it makes it easy to
port an existing project over to NMaven, as well as enabling users to use
NMaven for builds within the IDE.  There are a few items which could still
be cleaned up, but the main functionality is there.

The key to increasing adoption of NMaven is letting the .NET world know
about the functionality that is available - I've not been able to find
*any*other product that addresses versioning, reproducibility, or has
even a
vague concept of a binary repository.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c4907A8DE-3474-46F0-AA9E-CEBA44A9141F@apache.org%3e"/>
<id>urn:uuid:%3c4907A8DE-3474-46F0-AA9E-CEBA44A9141F@apache-org%3e</id>
<updated>2008-11-26T01:28:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think regardless of what happens next to the code, the same set up  
will be required for the NMaven central repository so we should push  
forward as planned.

Cheers,
Brett

On 26/11/2008, at 2:15 AM, Christian Raschka wrote:

&gt; I'm against a wait and see tactic. Anyone who is willing to do
&gt; something should be motivated instead of limited.
&gt;
&gt; Maybe we could upload the artifacts to a neutral server?
&gt;
&gt; Christian
&gt;
&gt; On Tue, Nov 25, 2008 at 3:48 PM, Mimil Mimil &lt;mimilowns@gmail.com&gt;  
&gt; wrote:
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; so what do we do about nmaven artifacts in central repository as  
&gt;&gt; regards the
&gt;&gt; ASF dissolution? Should we wait and see?
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt; Cedric,
&gt;&gt;
&gt;&gt; On Tue, Nov 11, 2008 at 4:54 PM, Mimil Mimil &lt;mimilowns@gmail.com&gt;  
&gt;&gt; wrote:
&gt;&gt;
&gt;&gt;&gt; Hello everybody,
&gt;&gt;&gt;
&gt;&gt;&gt; I think I will upload to maven central repository the log4net  
&gt;&gt;&gt; artifacts I
&gt;&gt;&gt; have created. They are only based on binaries and do not define any
&gt;&gt;&gt; dependencies because I haven't yet succeed to make work  
&gt;&gt;&gt; classifiers and
&gt;&gt;&gt; dependencies in the same time.
&gt;&gt;&gt;
&gt;&gt;&gt; Concerning the sources classifier, do we have the jar file format  
&gt;&gt;&gt; or there
&gt;&gt;&gt; is a format for dotnet tools?
&gt;&gt;&gt; Concerning the pdb files, it sounds that there is no much support  
&gt;&gt;&gt; so I will
&gt;&gt;&gt; wait until I understand how to make them and how to use them in
&gt;&gt;&gt; nmaven/dotnet tools.
&gt;&gt;&gt;
&gt;&gt;&gt; Concerning the help of log4net team to support this artifact, I  
&gt;&gt;&gt; think it is
&gt;&gt;&gt; better to wait for the full support of all previous questions.
&gt;&gt;&gt; I hope there will be no problem on the central repository team to  
&gt;&gt;&gt; let me
&gt;&gt;&gt; upload these artifacts. Brett, I think it is the same case for you  
&gt;&gt;&gt; and
&gt;&gt;&gt; nunit, so could I had you in copy if I have troubles?
&gt;&gt;&gt;
&gt;&gt;&gt; The following files will be uploaded:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; log4net-1.2.10.0-cli-1.0.dll
&gt;&gt;&gt;&gt; log4net-1.2.10.0-mono-1.0.dll
&gt;&gt;&gt;&gt; log4net-1.2.10.0-mono-2.0.dll
&gt;&gt;&gt;&gt; log4net-1.2.10.0-net-1.0.dll
&gt;&gt;&gt;&gt; log4net-1.2.10.0-net-1.1.dll
&gt;&gt;&gt;&gt; log4net-1.2.10.0-net-2.0.dll
&gt;&gt;&gt;&gt; log4net-1.2.10.0-netcf-1.0.dll
&gt;&gt;&gt;&gt; log4net-1.2.10.0.pom
&gt;&gt;&gt;&gt; log4net-1.2.10.0-sscli-1.0.dll
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; They have been generated using this script:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; #!/bin/sh
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; LOG4NETVERSION=1.2.10.0
&gt;&gt;&gt;&gt; export LOG4NETVERSION
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/2.0/release/log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=net-2.0
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.0/release/log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=net-1.0
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.1/release/log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=net-1.1
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/2.0/release/log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=mono-2.0
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/1.0/release/log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=mono-1.0
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/netcf/1.0/release/ 
&gt;&gt;&gt;&gt; log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=netcf-1.0
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/cli/1.0/release/log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=cli-1.0
&gt;&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/sscli/1.0/release/ 
&gt;&gt;&gt;&gt; log4net.dll
&gt;&gt;&gt;&gt; -Dclassifier=sscli-1.0
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; cd ~/.m2/repository/log4net/log4net/$LOG4NETVERSION/
&gt;&gt;&gt;&gt; echo "Bundling local repository files"
&gt;&gt;&gt;&gt; jar -cf log4net-bundle.jar *.dll *.pom
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; And my pom is:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;&gt;         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;&gt;    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;&gt;    &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;&gt;    &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;    &lt;!-- the last version number will be used for nmaven artifact
&gt;&gt;&gt;&gt; packaging --&gt;
&gt;&gt;&gt;&gt;    &lt;version&gt;1.2.10.0&lt;/version&gt;
&gt;&gt;&gt;&gt;    &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;&gt;    &lt;description&gt;log4net is a tool to help the programmer output log
&gt;&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;&gt;    &lt;/description&gt;
&gt;&gt;&gt;&gt;    &lt;url&gt;http://logging.apache.org/log4net/&lt;/url&gt;
&gt;&gt;&gt;&gt;    &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;&gt;    &lt;developers&gt;
&gt;&gt;&gt;&gt;        &lt;developer&gt;
&gt;&gt;&gt;&gt;            &lt;id&gt;mimil&lt;/id&gt;
&gt;&gt;&gt;&gt;            &lt;email&gt;mimil@users.sourceforge.net&lt;/email&gt;
&gt;&gt;&gt;&gt;            &lt;roles&gt;
&gt;&gt;&gt;&gt;                &lt;role&gt;artifact creator&lt;/role&gt;
&gt;&gt;&gt;&gt;            &lt;/roles&gt;
&gt;&gt;&gt;&gt;        &lt;/developer&gt;
&gt;&gt;&gt;&gt;    &lt;/developers&gt;
&gt;&gt;&gt;&gt;    &lt;licenses&gt;
&gt;&gt;&gt;&gt;        &lt;license&gt;
&gt;&gt;&gt;&gt;            &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;&gt;            &lt;url&gt;
&gt;&gt;&gt;&gt;                http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;&gt;            &lt;/url&gt;
&gt;&gt;&gt;&gt;        &lt;/license&gt;
&gt;&gt;&gt;&gt;    &lt;/licenses&gt;
&gt;&gt;&gt;&gt;    &lt;build&gt;
&gt;&gt;&gt;&gt;        &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;&gt;        &lt;plugins&gt;
&gt;&gt;&gt;&gt;            &lt;!-- dotnet compiler plugin is needed to be aware of
&gt;&gt;&gt;&gt; dot:library packaging --&gt;
&gt;&gt;&gt;&gt;            &lt;plugin&gt;
&gt;&gt;&gt;&gt;                &lt;groupId&gt;org.apache.maven.dotnet.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;                &lt;artifactId&gt;maven-dotnet-compiler-plugin&lt;/ 
&gt;&gt;&gt;&gt; artifactId&gt;
&gt;&gt;&gt;&gt;                &lt;!--version&gt;0.16-incubating-SNAPSHOT&lt;/version--&gt;
&gt;&gt;&gt;&gt;                &lt;extensions&gt;true&lt;/extensions&gt;
&gt;&gt;&gt;&gt;            &lt;/plugin&gt;
&gt;&gt;&gt;&gt;        &lt;/plugins&gt;
&gt;&gt;&gt;&gt;    &lt;/build&gt;
&gt;&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Any comments are welcome before I upload them.
&gt;&gt;&gt;
&gt;&gt;&gt; Regards,
&gt;&gt;&gt; Cedric,
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; On Fri, Nov 7, 2008 at 5:03 AM, James Carpenter &lt;jcarpenter621@yahoo.com 
&gt;&gt;&gt; &gt;wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; You might want to consider adding the pdb and source archives with
&gt;&gt;&gt;&gt; appropriate classifiers along with the assemblies/dlls.  Even if  
&gt;&gt;&gt;&gt; you don't
&gt;&gt;&gt;&gt; index the pdb files (see below) it will be easy to go back and do  
&gt;&gt;&gt;&gt; so later.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; =======================================
&gt;&gt;&gt;&gt; If you want to go way out of the way you can even add source server
&gt;&gt;&gt;&gt; information to the pdb files.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Lets say you create a maven plugin with the following goal/ 
&gt;&gt;&gt;&gt; arguments:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; prompt&gt;mvn source-server:resolve -DgroupId="com.acme.mortar"
&gt;&gt;&gt;&gt; -DartifactId="tools" -Dversion="1.3.2" -DrelativeFile="tooling/ 
&gt;&gt;&gt;&gt; trowel.cs"
&gt;&gt;&gt;&gt; -DoutputPath="C:\mysrc\"
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The result of this goal would be to resolve the
&gt;&gt;&gt;&gt; com.acme.mortar:tools:sources:1.3.2:jar artifact and extract the
&gt;&gt;&gt;&gt; tooling/trowel.cs file and copy it to
&gt;&gt;&gt;&gt; C:\mysrc\com\acme\mortar\tools\1.3.2\tooling\trowel.cs
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; You then process the pdb files to inject the magic srcsrv stream  
&gt;&gt;&gt;&gt; (see an
&gt;&gt;&gt;&gt; earlier post) which will tell the MS debugging tools for windows  
&gt;&gt;&gt;&gt; how to form
&gt;&gt;&gt;&gt; the above command for any of the files used to build the assembly/ 
&gt;&gt;&gt;&gt; pdb.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The result of this dance will be the ability for the Visual Studio
&gt;&gt;&gt;&gt; debugger to magically step down into the source code of any of the
&gt;&gt;&gt;&gt; assemblies you have placed into the maven repository.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I wrote a post on this mailing list a few weeks ago which gives a  
&gt;&gt;&gt;&gt; lot more
&gt;&gt;&gt;&gt; of the details.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Nov 6, 2008, at 3:52 PM, Mimil Mimil wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; As you advised I am making artifacts from binaries because I do  
&gt;&gt;&gt;&gt;&gt; not
&gt;&gt;&gt;&gt;&gt; belong
&gt;&gt;&gt;&gt;&gt; to the projects I am doing artifacts - I just want to add more  
&gt;&gt;&gt;&gt;&gt; nmaven
&gt;&gt;&gt;&gt;&gt; artifacts for the community.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Dependencies will be differents are they are I think related to  
&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt; environments so I think the only way to manage this is classifier.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; How the lib differs between environments? I don't have any  
&gt;&gt;&gt;&gt;&gt; knowledge of
&gt;&gt;&gt;&gt;&gt; .net
&gt;&gt;&gt;&gt;&gt; but the clearest exemple is for compact framework. As it targets  
&gt;&gt;&gt;&gt;&gt; mobiles,
&gt;&gt;&gt;&gt;&gt; pda, ... it is certainly a lot different from the conventional  
&gt;&gt;&gt;&gt;&gt; framework.
&gt;&gt;&gt;&gt;&gt; As yes did different DLLs for the different frameworks I think  
&gt;&gt;&gt;&gt;&gt; it is
&gt;&gt;&gt;&gt;&gt; because
&gt;&gt;&gt;&gt;&gt; they need it, that's all I can say =)
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; An easy way would be for now to not set dependencies (if we have  
&gt;&gt;&gt;&gt;&gt; problem
&gt;&gt;&gt;&gt;&gt; on
&gt;&gt;&gt;&gt;&gt; this point) but is the classifier stuff supported out of the box  
&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt; deploy
&gt;&gt;&gt;&gt;&gt; manual artifacts? I mean is the namming convention
&gt;&gt;&gt;&gt;&gt; &lt;artifactId&gt;-&lt;version&gt;-&lt;everything else after version
is  
&gt;&gt;&gt;&gt;&gt; considered as a
&gt;&gt;&gt;&gt;&gt; classifier&gt; ?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Do we have to develop a little plugin in order to specify the  
&gt;&gt;&gt;&gt;&gt; classifier
&gt;&gt;&gt;&gt;&gt; of
&gt;&gt;&gt;&gt;&gt; artifacts? I say that because the only things I saw through the  
&gt;&gt;&gt;&gt;&gt; web as or
&gt;&gt;&gt;&gt;&gt; based on the maven-jar-plugin or on war plugin which I don't  
&gt;&gt;&gt;&gt;&gt; remember the
&gt;&gt;&gt;&gt;&gt; name.
&gt;&gt;&gt;&gt;&gt; Maybe http://mojo.codehaus.org/build-helper-maven-plugin/usage.html 
&gt;&gt;&gt;&gt;&gt;  can
&gt;&gt;&gt;&gt;&gt; be
&gt;&gt;&gt;&gt;&gt; used with attach-artifact?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt; Cedric,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On Thu, Nov 6, 2008 at 7:19 PM, Brett Porter &lt;brett@apache.org&gt;
 
&gt;&gt;&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Yes, you should use classifiers, so the POM you have looks fine  
&gt;&gt;&gt;&gt;&gt; (and
&gt;&gt;&gt;&gt;&gt;&gt; there
&gt;&gt;&gt;&gt;&gt;&gt; need be just one). If you are building with NMaven yourself, we 

&gt;&gt;&gt;&gt;&gt;&gt; need to
&gt;&gt;&gt;&gt;&gt;&gt; make
&gt;&gt;&gt;&gt;&gt;&gt; sure the compiler plugin supports adding classifiers.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Profiles shouldn't be needed. If the dependencies differ  
&gt;&gt;&gt;&gt;&gt;&gt; between them,
&gt;&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt;&gt; might be a problem.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Is it required to have different versions for each framework?  
&gt;&gt;&gt;&gt;&gt;&gt; How do
&gt;&gt;&gt;&gt;&gt;&gt; they
&gt;&gt;&gt;&gt;&gt;&gt; differ exactly?
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Cheers,
&gt;&gt;&gt;&gt;&gt;&gt; Brett
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; On 05/11/2008, at 10:36 AM, Mimil Mimil wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Hello,
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am trying to make nmaven artifacts using dll binaries but I
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; would
&gt;&gt;&gt;&gt;&gt;&gt;&gt; like
&gt;&gt;&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt;&gt;&gt; define the dependencies of this dll.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; In the case of log4net I am currently trying to make I want to
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; make
&gt;&gt;&gt;&gt;&gt;&gt;&gt; artifacts for each dotnet environments (dotnet 2.0, dotnet  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1.1, mono
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ...)
&gt;&gt;&gt;&gt;&gt;&gt;&gt; and I think it should be handled using classifiers.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; As for now I think we have to use profiles to define each  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; environemnt
&gt;&gt;&gt;&gt;&gt;&gt;&gt; artifacts, by the way I don't know how to use these profiles
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; to make
&gt;&gt;&gt;&gt;&gt;&gt;&gt; classifiers.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Here is my current pom with net-1.2 profile and its  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; dependencies:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;description&gt;log4net is a tool to help the programmer
output  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; log
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;/description&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;licenses&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;license&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;/license&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;/licenses&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;build&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;!-- To define the plugin version in your parent POM
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;              &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;              &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;!-- To use the plugin goals in your POM or parent
POM  
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;          &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;/build&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;profiles&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;profile&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;id&gt;net-2.0&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;dependencies&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/ 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2.0.0.0__b77a5c561934e089/System.Data.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/ 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;            &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;        &lt;/dependencies&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;    &lt;/profile&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;/profiles&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Another way to do it is to have a pom by environment and
 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; insert the
&gt;&gt;&gt;&gt;&gt;&gt;&gt; classifier name inside the versionId. I remember something about
&gt;&gt;&gt;&gt;&gt;&gt;&gt; versionId
&gt;&gt;&gt;&gt;&gt;&gt;&gt; that must be w.x.y.z, will it be a problem?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I thought to use repository:bundle-pack for the installation
in
&gt;&gt;&gt;&gt;&gt;&gt;&gt; repositories
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but I don't know if I have to use this or just a mvn  
&gt;&gt;&gt;&gt;&gt;&gt;&gt; deploy:deploy-file
&gt;&gt;&gt;&gt;&gt;&gt;&gt; or...
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any help welcome. I think it will help a lot to have more nmaven
&gt;&gt;&gt;&gt;&gt;&gt;&gt; artifacts
&gt;&gt;&gt;&gt;&gt;&gt;&gt; to have such a thing clear (and documented somewhere).
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cédric,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt; Brett Porter
&gt;&gt;&gt;&gt;&gt;&gt; brett@apache.org
&gt;&gt;&gt;&gt;&gt;&gt; http://blogs.exist.com/bporter/
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Sincerely,
&gt;&gt;&gt;&gt; James Carpenter
&gt;&gt;&gt;&gt; cell: 832-677-7247
&gt;&gt;&gt;&gt; email: jcarpenter621@yahoo.com
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>&quot;Christian Raschka&quot; &lt;christian.raschka@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3ce06aa2d90811250715s6116cb7ds70db7a3f3076b3b5@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06aa2d90811250715s6116cb7ds70db7a3f3076b3b5@mail-gmail-com%3e</id>
<updated>2008-11-25T15:15:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm against a wait and see tactic. Anyone who is willing to do
something should be motivated instead of limited.

Maybe we could upload the artifacts to a neutral server?

Christian

On Tue, Nov 25, 2008 at 3:48 PM, Mimil Mimil &lt;mimilowns@gmail.com&gt; wrote:
&gt; Hi,
&gt;
&gt; so what do we do about nmaven artifacts in central repository as regards the
&gt; ASF dissolution? Should we wait and see?
&gt;
&gt; Regards,
&gt; Cedric,
&gt;
&gt; On Tue, Nov 11, 2008 at 4:54 PM, Mimil Mimil &lt;mimilowns@gmail.com&gt; wrote:
&gt;
&gt;&gt; Hello everybody,
&gt;&gt;
&gt;&gt; I think I will upload to maven central repository the log4net artifacts I
&gt;&gt; have created. They are only based on binaries and do not define any
&gt;&gt; dependencies because I haven't yet succeed to make work classifiers and
&gt;&gt; dependencies in the same time.
&gt;&gt;
&gt;&gt; Concerning the sources classifier, do we have the jar file format or there
&gt;&gt; is a format for dotnet tools?
&gt;&gt; Concerning the pdb files, it sounds that there is no much support so I will
&gt;&gt; wait until I understand how to make them and how to use them in
&gt;&gt; nmaven/dotnet tools.
&gt;&gt;
&gt;&gt; Concerning the help of log4net team to support this artifact, I think it is
&gt;&gt; better to wait for the full support of all previous questions.
&gt;&gt; I hope there will be no problem on the central repository team to let me
&gt;&gt; upload these artifacts. Brett, I think it is the same case for you and
&gt;&gt; nunit, so could I had you in copy if I have troubles?
&gt;&gt;
&gt;&gt; The following files will be uploaded:
&gt;&gt;
&gt;&gt;&gt; log4net-1.2.10.0-cli-1.0.dll
&gt;&gt;&gt; log4net-1.2.10.0-mono-1.0.dll
&gt;&gt;&gt; log4net-1.2.10.0-mono-2.0.dll
&gt;&gt;&gt; log4net-1.2.10.0-net-1.0.dll
&gt;&gt;&gt; log4net-1.2.10.0-net-1.1.dll
&gt;&gt;&gt; log4net-1.2.10.0-net-2.0.dll
&gt;&gt;&gt; log4net-1.2.10.0-netcf-1.0.dll
&gt;&gt;&gt; log4net-1.2.10.0.pom
&gt;&gt;&gt; log4net-1.2.10.0-sscli-1.0.dll
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; They have been generated using this script:
&gt;&gt;
&gt;&gt;&gt; #!/bin/sh
&gt;&gt;&gt;
&gt;&gt;&gt; LOG4NETVERSION=1.2.10.0
&gt;&gt;&gt; export LOG4NETVERSION
&gt;&gt;&gt;
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/2.0/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=net-2.0
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.0/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=net-1.0
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.1/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=net-1.1
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/2.0/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=mono-2.0
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/1.0/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=mono-1.0
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/netcf/1.0/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=netcf-1.0
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/cli/1.0/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=cli-1.0
&gt;&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/sscli/1.0/release/log4net.dll
&gt;&gt;&gt; -Dclassifier=sscli-1.0
&gt;&gt;&gt;
&gt;&gt;&gt; cd ~/.m2/repository/log4net/log4net/$LOG4NETVERSION/
&gt;&gt;&gt; echo "Bundling local repository files"
&gt;&gt;&gt; jar -cf log4net-bundle.jar *.dll *.pom
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; And my pom is:
&gt;&gt;
&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;     &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;     &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;     &lt;!-- the last version number will be used for nmaven artifact
&gt;&gt;&gt; packaging --&gt;
&gt;&gt;&gt;     &lt;version&gt;1.2.10.0&lt;/version&gt;
&gt;&gt;&gt;     &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;     &lt;description&gt;log4net is a tool to help the programmer output log
&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;     &lt;/description&gt;
&gt;&gt;&gt;     &lt;url&gt;http://logging.apache.org/log4net/&lt;/url&gt;
&gt;&gt;&gt;     &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;     &lt;developers&gt;
&gt;&gt;&gt;         &lt;developer&gt;
&gt;&gt;&gt;             &lt;id&gt;mimil&lt;/id&gt;
&gt;&gt;&gt;             &lt;email&gt;mimil@users.sourceforge.net&lt;/email&gt;
&gt;&gt;&gt;             &lt;roles&gt;
&gt;&gt;&gt;                 &lt;role&gt;artifact creator&lt;/role&gt;
&gt;&gt;&gt;             &lt;/roles&gt;
&gt;&gt;&gt;         &lt;/developer&gt;
&gt;&gt;&gt;     &lt;/developers&gt;
&gt;&gt;&gt;     &lt;licenses&gt;
&gt;&gt;&gt;         &lt;license&gt;
&gt;&gt;&gt;             &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;             &lt;url&gt;
&gt;&gt;&gt;                 http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;             &lt;/url&gt;
&gt;&gt;&gt;         &lt;/license&gt;
&gt;&gt;&gt;     &lt;/licenses&gt;
&gt;&gt;&gt;     &lt;build&gt;
&gt;&gt;&gt;         &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;         &lt;plugins&gt;
&gt;&gt;&gt;             &lt;!-- dotnet compiler plugin is needed to be aware of
&gt;&gt;&gt; dot:library packaging --&gt;
&gt;&gt;&gt;             &lt;plugin&gt;
&gt;&gt;&gt;                 &lt;groupId&gt;org.apache.maven.dotnet.plugins&lt;/groupId&gt;
&gt;&gt;&gt;                 &lt;artifactId&gt;maven-dotnet-compiler-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;                 &lt;!--version&gt;0.16-incubating-SNAPSHOT&lt;/version--&gt;
&gt;&gt;&gt;                 &lt;extensions&gt;true&lt;/extensions&gt;
&gt;&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;&gt;         &lt;/plugins&gt;
&gt;&gt;&gt;     &lt;/build&gt;
&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; Any comments are welcome before I upload them.
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt; Cedric,
&gt;&gt;
&gt;&gt;
&gt;&gt; On Fri, Nov 7, 2008 at 5:03 AM, James Carpenter &lt;jcarpenter621@yahoo.com&gt;wrote:
&gt;&gt;
&gt;&gt;&gt; You might want to consider adding the pdb and source archives with
&gt;&gt;&gt; appropriate classifiers along with the assemblies/dlls.  Even if you don't
&gt;&gt;&gt; index the pdb files (see below) it will be easy to go back and do so later.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; =======================================
&gt;&gt;&gt; If you want to go way out of the way you can even add source server
&gt;&gt;&gt; information to the pdb files.
&gt;&gt;&gt;
&gt;&gt;&gt; Lets say you create a maven plugin with the following goal/arguments:
&gt;&gt;&gt;
&gt;&gt;&gt; prompt&gt;mvn source-server:resolve -DgroupId="com.acme.mortar"
&gt;&gt;&gt; -DartifactId="tools" -Dversion="1.3.2" -DrelativeFile="tooling/trowel.cs"
&gt;&gt;&gt; -DoutputPath="C:\mysrc\"
&gt;&gt;&gt;
&gt;&gt;&gt; The result of this goal would be to resolve the
&gt;&gt;&gt; com.acme.mortar:tools:sources:1.3.2:jar artifact and extract the
&gt;&gt;&gt; tooling/trowel.cs file and copy it to
&gt;&gt;&gt; C:\mysrc\com\acme\mortar\tools\1.3.2\tooling\trowel.cs
&gt;&gt;&gt;
&gt;&gt;&gt; You then process the pdb files to inject the magic srcsrv stream (see an
&gt;&gt;&gt; earlier post) which will tell the MS debugging tools for windows how to form
&gt;&gt;&gt; the above command for any of the files used to build the assembly/pdb.
&gt;&gt;&gt;
&gt;&gt;&gt; The result of this dance will be the ability for the Visual Studio
&gt;&gt;&gt; debugger to magically step down into the source code of any of the
&gt;&gt;&gt; assemblies you have placed into the maven repository.
&gt;&gt;&gt;
&gt;&gt;&gt; I wrote a post on this mailing list a few weeks ago which gives a lot more
&gt;&gt;&gt; of the details.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; On Nov 6, 2008, at 3:52 PM, Mimil Mimil wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;  Hi,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; As you advised I am making artifacts from binaries because I do not
&gt;&gt;&gt;&gt; belong
&gt;&gt;&gt;&gt; to the projects I am doing artifacts - I just want to add more nmaven
&gt;&gt;&gt;&gt; artifacts for the community.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Dependencies will be differents are they are I think related to the
&gt;&gt;&gt;&gt; environments so I think the only way to manage this is classifier.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; How the lib differs between environments? I don't have any knowledge of
&gt;&gt;&gt;&gt; .net
&gt;&gt;&gt;&gt; but the clearest exemple is for compact framework. As it targets mobiles,
&gt;&gt;&gt;&gt; pda, ... it is certainly a lot different from the conventional framework.
&gt;&gt;&gt;&gt; As yes did different DLLs for the different frameworks I think it is
&gt;&gt;&gt;&gt; because
&gt;&gt;&gt;&gt; they need it, that's all I can say =)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; An easy way would be for now to not set dependencies (if we have problem
&gt;&gt;&gt;&gt; on
&gt;&gt;&gt;&gt; this point) but is the classifier stuff supported out of the box to
&gt;&gt;&gt;&gt; deploy
&gt;&gt;&gt;&gt; manual artifacts? I mean is the namming convention
&gt;&gt;&gt;&gt; &lt;artifactId&gt;-&lt;version&gt;-&lt;everything else after version is considered
as a
&gt;&gt;&gt;&gt; classifier&gt; ?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Do we have to develop a little plugin in order to specify the classifier
&gt;&gt;&gt;&gt; of
&gt;&gt;&gt;&gt; artifacts? I say that because the only things I saw through the web as or
&gt;&gt;&gt;&gt; based on the maven-jar-plugin or on war plugin which I don't remember the
&gt;&gt;&gt;&gt; name.
&gt;&gt;&gt;&gt; Maybe http://mojo.codehaus.org/build-helper-maven-plugin/usage.html can
&gt;&gt;&gt;&gt; be
&gt;&gt;&gt;&gt; used with attach-artifact?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt; Cedric,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Thu, Nov 6, 2008 at 7:19 PM, Brett Porter &lt;brett@apache.org&gt; wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;  Yes, you should use classifiers, so the POM you have looks fine (and
&gt;&gt;&gt;&gt;&gt; there
&gt;&gt;&gt;&gt;&gt; need be just one). If you are building with NMaven yourself, we need
to
&gt;&gt;&gt;&gt;&gt; make
&gt;&gt;&gt;&gt;&gt; sure the compiler plugin supports adding classifiers.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Profiles shouldn't be needed. If the dependencies differ between them,
&gt;&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt;&gt; might be a problem.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Is it required to have different versions for each framework? How do
&gt;&gt;&gt;&gt;&gt; they
&gt;&gt;&gt;&gt;&gt; differ exactly?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Cheers,
&gt;&gt;&gt;&gt;&gt; Brett
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On 05/11/2008, at 10:36 AM, Mimil Mimil wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Hello,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; I am trying to make nmaven artifacts using dll binaries but I would
&gt;&gt;&gt;&gt;&gt;&gt; like
&gt;&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt;&gt; define the dependencies of this dll.
&gt;&gt;&gt;&gt;&gt;&gt; In the case of log4net I am currently trying to make I want to make
&gt;&gt;&gt;&gt;&gt;&gt; artifacts for each dotnet environments (dotnet 2.0, dotnet 1.1, mono
&gt;&gt;&gt;&gt;&gt;&gt; ...)
&gt;&gt;&gt;&gt;&gt;&gt; and I think it should be handled using classifiers.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; As for now I think we have to use profiles to define each environemnt
&gt;&gt;&gt;&gt;&gt;&gt; artifacts, by the way I don't know how to use these profiles to make
&gt;&gt;&gt;&gt;&gt;&gt; classifiers.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Here is my current pom with net-1.2 profile and its dependencies:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;&gt;&gt;&gt;&gt;      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;description&gt;log4net is a tool to help the programmer
output log
&gt;&gt;&gt;&gt;&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/description&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;licenses&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;     &lt;license&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;     &lt;/license&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/licenses&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;build&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;     &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;     &lt;!-- To define the plugin version in your parent POM --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;!-- To use the plugin goals in your POM or parent
POM --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/build&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;profiles&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;     &lt;profile&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;id&gt;net-2.0&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;dependencies&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;             &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/dependencies&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;     &lt;/profile&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/profiles&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;  Another way to do it is to have a pom by environment and insert
the
&gt;&gt;&gt;&gt;&gt;&gt; classifier name inside the versionId. I remember something about
&gt;&gt;&gt;&gt;&gt;&gt; versionId
&gt;&gt;&gt;&gt;&gt;&gt; that must be w.x.y.z, will it be a problem?
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; I thought to use repository:bundle-pack for the installation in
&gt;&gt;&gt;&gt;&gt;&gt; repositories
&gt;&gt;&gt;&gt;&gt;&gt; but I don't know if I have to use this or just a mvn deploy:deploy-file
&gt;&gt;&gt;&gt;&gt;&gt; or...
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Any help welcome. I think it will help a lot to have more nmaven
&gt;&gt;&gt;&gt;&gt;&gt; artifacts
&gt;&gt;&gt;&gt;&gt;&gt; to have such a thing clear (and documented somewhere).
&gt;&gt;&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt;&gt; Cédric,
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt; Brett Porter
&gt;&gt;&gt;&gt;&gt; brett@apache.org
&gt;&gt;&gt;&gt;&gt; http://blogs.exist.com/bporter/
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt; Sincerely,
&gt;&gt;&gt; James Carpenter
&gt;&gt;&gt; cell: 832-677-7247
&gt;&gt;&gt; email: jcarpenter621@yahoo.com
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>&quot;Mimil Mimil&quot; &lt;mimilowns@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3caf7433920811250648m4c9b73a2n64732dcc3c2eefd0@mail.gmail.com%3e"/>
<id>urn:uuid:%3caf7433920811250648m4c9b73a2n64732dcc3c2eefd0@mail-gmail-com%3e</id>
<updated>2008-11-25T14:48:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

so what do we do about nmaven artifacts in central repository as regards the
ASF dissolution? Should we wait and see?

Regards,
Cedric,

On Tue, Nov 11, 2008 at 4:54 PM, Mimil Mimil &lt;mimilowns@gmail.com&gt; wrote:

&gt; Hello everybody,
&gt;
&gt; I think I will upload to maven central repository the log4net artifacts I
&gt; have created. They are only based on binaries and do not define any
&gt; dependencies because I haven't yet succeed to make work classifiers and
&gt; dependencies in the same time.
&gt;
&gt; Concerning the sources classifier, do we have the jar file format or there
&gt; is a format for dotnet tools?
&gt; Concerning the pdb files, it sounds that there is no much support so I will
&gt; wait until I understand how to make them and how to use them in
&gt; nmaven/dotnet tools.
&gt;
&gt; Concerning the help of log4net team to support this artifact, I think it is
&gt; better to wait for the full support of all previous questions.
&gt; I hope there will be no problem on the central repository team to let me
&gt; upload these artifacts. Brett, I think it is the same case for you and
&gt; nunit, so could I had you in copy if I have troubles?
&gt;
&gt; The following files will be uploaded:
&gt;
&gt;&gt; log4net-1.2.10.0-cli-1.0.dll
&gt;&gt; log4net-1.2.10.0-mono-1.0.dll
&gt;&gt; log4net-1.2.10.0-mono-2.0.dll
&gt;&gt; log4net-1.2.10.0-net-1.0.dll
&gt;&gt; log4net-1.2.10.0-net-1.1.dll
&gt;&gt; log4net-1.2.10.0-net-2.0.dll
&gt;&gt; log4net-1.2.10.0-netcf-1.0.dll
&gt;&gt; log4net-1.2.10.0.pom
&gt;&gt; log4net-1.2.10.0-sscli-1.0.dll
&gt;&gt;
&gt;
&gt; They have been generated using this script:
&gt;
&gt;&gt; #!/bin/sh
&gt;&gt;
&gt;&gt; LOG4NETVERSION=1.2.10.0
&gt;&gt; export LOG4NETVERSION
&gt;&gt;
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/2.0/release/log4net.dll
&gt;&gt; -Dclassifier=net-2.0
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.0/release/log4net.dll
&gt;&gt; -Dclassifier=net-1.0
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.1/release/log4net.dll
&gt;&gt; -Dclassifier=net-1.1
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/2.0/release/log4net.dll
&gt;&gt; -Dclassifier=mono-2.0
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/1.0/release/log4net.dll
&gt;&gt; -Dclassifier=mono-1.0
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/netcf/1.0/release/log4net.dll
&gt;&gt; -Dclassifier=netcf-1.0
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/cli/1.0/release/log4net.dll
&gt;&gt; -Dclassifier=cli-1.0
&gt;&gt; mvn install:install-file  -DpomFile=pom.xml
&gt;&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/sscli/1.0/release/log4net.dll
&gt;&gt; -Dclassifier=sscli-1.0
&gt;&gt;
&gt;&gt; cd ~/.m2/repository/log4net/log4net/$LOG4NETVERSION/
&gt;&gt; echo "Bundling local repository files"
&gt;&gt; jar -cf log4net-bundle.jar *.dll *.pom
&gt;&gt;
&gt;
&gt; And my pom is:
&gt;
&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;     &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;     &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;     &lt;!-- the last version number will be used for nmaven artifact
&gt;&gt; packaging --&gt;
&gt;&gt;     &lt;version&gt;1.2.10.0&lt;/version&gt;
&gt;&gt;     &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;     &lt;description&gt;log4net is a tool to help the programmer output log
&gt;&gt; statements to a variety of output targets.
&gt;&gt;     &lt;/description&gt;
&gt;&gt;     &lt;url&gt;http://logging.apache.org/log4net/&lt;/url&gt;
&gt;&gt;     &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;     &lt;developers&gt;
&gt;&gt;         &lt;developer&gt;
&gt;&gt;             &lt;id&gt;mimil&lt;/id&gt;
&gt;&gt;             &lt;email&gt;mimil@users.sourceforge.net&lt;/email&gt;
&gt;&gt;             &lt;roles&gt;
&gt;&gt;                 &lt;role&gt;artifact creator&lt;/role&gt;
&gt;&gt;             &lt;/roles&gt;
&gt;&gt;         &lt;/developer&gt;
&gt;&gt;     &lt;/developers&gt;
&gt;&gt;     &lt;licenses&gt;
&gt;&gt;         &lt;license&gt;
&gt;&gt;             &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;             &lt;url&gt;
&gt;&gt;                 http://logging.apache.org/log4net/license.html
&gt;&gt;             &lt;/url&gt;
&gt;&gt;         &lt;/license&gt;
&gt;&gt;     &lt;/licenses&gt;
&gt;&gt;     &lt;build&gt;
&gt;&gt;         &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;         &lt;plugins&gt;
&gt;&gt;             &lt;!-- dotnet compiler plugin is needed to be aware of
&gt;&gt; dot:library packaging --&gt;
&gt;&gt;             &lt;plugin&gt;
&gt;&gt;                 &lt;groupId&gt;org.apache.maven.dotnet.plugins&lt;/groupId&gt;
&gt;&gt;                 &lt;artifactId&gt;maven-dotnet-compiler-plugin&lt;/artifactId&gt;
&gt;&gt;                 &lt;!--version&gt;0.16-incubating-SNAPSHOT&lt;/version--&gt;
&gt;&gt;                 &lt;extensions&gt;true&lt;/extensions&gt;
&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;         &lt;/plugins&gt;
&gt;&gt;     &lt;/build&gt;
&gt;&gt; &lt;/project&gt;
&gt;&gt;
&gt;
&gt; Any comments are welcome before I upload them.
&gt;
&gt; Regards,
&gt; Cedric,
&gt;
&gt;
&gt; On Fri, Nov 7, 2008 at 5:03 AM, James Carpenter &lt;jcarpenter621@yahoo.com&gt;wrote:
&gt;
&gt;&gt; You might want to consider adding the pdb and source archives with
&gt;&gt; appropriate classifiers along with the assemblies/dlls.  Even if you don't
&gt;&gt; index the pdb files (see below) it will be easy to go back and do so later.
&gt;&gt;
&gt;&gt;
&gt;&gt; =======================================
&gt;&gt; If you want to go way out of the way you can even add source server
&gt;&gt; information to the pdb files.
&gt;&gt;
&gt;&gt; Lets say you create a maven plugin with the following goal/arguments:
&gt;&gt;
&gt;&gt; prompt&gt;mvn source-server:resolve -DgroupId="com.acme.mortar"
&gt;&gt; -DartifactId="tools" -Dversion="1.3.2" -DrelativeFile="tooling/trowel.cs"
&gt;&gt; -DoutputPath="C:\mysrc\"
&gt;&gt;
&gt;&gt; The result of this goal would be to resolve the
&gt;&gt; com.acme.mortar:tools:sources:1.3.2:jar artifact and extract the
&gt;&gt; tooling/trowel.cs file and copy it to
&gt;&gt; C:\mysrc\com\acme\mortar\tools\1.3.2\tooling\trowel.cs
&gt;&gt;
&gt;&gt; You then process the pdb files to inject the magic srcsrv stream (see an
&gt;&gt; earlier post) which will tell the MS debugging tools for windows how to form
&gt;&gt; the above command for any of the files used to build the assembly/pdb.
&gt;&gt;
&gt;&gt; The result of this dance will be the ability for the Visual Studio
&gt;&gt; debugger to magically step down into the source code of any of the
&gt;&gt; assemblies you have placed into the maven repository.
&gt;&gt;
&gt;&gt; I wrote a post on this mailing list a few weeks ago which gives a lot more
&gt;&gt; of the details.
&gt;&gt;
&gt;&gt;
&gt;&gt; On Nov 6, 2008, at 3:52 PM, Mimil Mimil wrote:
&gt;&gt;
&gt;&gt;  Hi,
&gt;&gt;&gt;
&gt;&gt;&gt; As you advised I am making artifacts from binaries because I do not
&gt;&gt;&gt; belong
&gt;&gt;&gt; to the projects I am doing artifacts - I just want to add more nmaven
&gt;&gt;&gt; artifacts for the community.
&gt;&gt;&gt;
&gt;&gt;&gt; Dependencies will be differents are they are I think related to the
&gt;&gt;&gt; environments so I think the only way to manage this is classifier.
&gt;&gt;&gt;
&gt;&gt;&gt; How the lib differs between environments? I don't have any knowledge of
&gt;&gt;&gt; .net
&gt;&gt;&gt; but the clearest exemple is for compact framework. As it targets mobiles,
&gt;&gt;&gt; pda, ... it is certainly a lot different from the conventional framework.
&gt;&gt;&gt; As yes did different DLLs for the different frameworks I think it is
&gt;&gt;&gt; because
&gt;&gt;&gt; they need it, that's all I can say =)
&gt;&gt;&gt;
&gt;&gt;&gt; An easy way would be for now to not set dependencies (if we have problem
&gt;&gt;&gt; on
&gt;&gt;&gt; this point) but is the classifier stuff supported out of the box to
&gt;&gt;&gt; deploy
&gt;&gt;&gt; manual artifacts? I mean is the namming convention
&gt;&gt;&gt; &lt;artifactId&gt;-&lt;version&gt;-&lt;everything else after version is considered
as a
&gt;&gt;&gt; classifier&gt; ?
&gt;&gt;&gt;
&gt;&gt;&gt; Do we have to develop a little plugin in order to specify the classifier
&gt;&gt;&gt; of
&gt;&gt;&gt; artifacts? I say that because the only things I saw through the web as or
&gt;&gt;&gt; based on the maven-jar-plugin or on war plugin which I don't remember the
&gt;&gt;&gt; name.
&gt;&gt;&gt; Maybe http://mojo.codehaus.org/build-helper-maven-plugin/usage.html can
&gt;&gt;&gt; be
&gt;&gt;&gt; used with attach-artifact?
&gt;&gt;&gt;
&gt;&gt;&gt; Regards,
&gt;&gt;&gt; Cedric,
&gt;&gt;&gt;
&gt;&gt;&gt; On Thu, Nov 6, 2008 at 7:19 PM, Brett Porter &lt;brett@apache.org&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;  Yes, you should use classifiers, so the POM you have looks fine (and
&gt;&gt;&gt;&gt; there
&gt;&gt;&gt;&gt; need be just one). If you are building with NMaven yourself, we need to
&gt;&gt;&gt;&gt; make
&gt;&gt;&gt;&gt; sure the compiler plugin supports adding classifiers.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Profiles shouldn't be needed. If the dependencies differ between them,
&gt;&gt;&gt;&gt; it
&gt;&gt;&gt;&gt; might be a problem.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Is it required to have different versions for each framework? How do
&gt;&gt;&gt;&gt; they
&gt;&gt;&gt;&gt; differ exactly?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Cheers,
&gt;&gt;&gt;&gt; Brett
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On 05/11/2008, at 10:36 AM, Mimil Mimil wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hello,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I am trying to make nmaven artifacts using dll binaries but I would
&gt;&gt;&gt;&gt;&gt; like
&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt; define the dependencies of this dll.
&gt;&gt;&gt;&gt;&gt; In the case of log4net I am currently trying to make I want to make
&gt;&gt;&gt;&gt;&gt; artifacts for each dotnet environments (dotnet 2.0, dotnet 1.1, mono
&gt;&gt;&gt;&gt;&gt; ...)
&gt;&gt;&gt;&gt;&gt; and I think it should be handled using classifiers.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; As for now I think we have to use profiles to define each environemnt
&gt;&gt;&gt;&gt;&gt; artifacts, by the way I don't know how to use these profiles to make
&gt;&gt;&gt;&gt;&gt; classifiers.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Here is my current pom with net-1.2 profile and its dependencies:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt;&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;&gt;&gt;&gt;      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt;&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;description&gt;log4net is a tool to help the programmer output
log
&gt;&gt;&gt;&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/description&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;licenses&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     &lt;license&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     &lt;/license&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/licenses&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;build&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     &lt;!-- To define the plugin version in your parent POM --&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;           &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;               &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;               &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;               &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;           &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;!-- To use the plugin goals in your POM or parent POM
--&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;           &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;           &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/build&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;profiles&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     &lt;profile&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;id&gt;net-2.0&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;dependencies&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;&gt;                 &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         &lt;/dependencies&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     &lt;/profile&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  &lt;/profiles&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;  Another way to do it is to have a pom by environment and insert
the
&gt;&gt;&gt;&gt;&gt; classifier name inside the versionId. I remember something about
&gt;&gt;&gt;&gt;&gt; versionId
&gt;&gt;&gt;&gt;&gt; that must be w.x.y.z, will it be a problem?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I thought to use repository:bundle-pack for the installation in
&gt;&gt;&gt;&gt;&gt; repositories
&gt;&gt;&gt;&gt;&gt; but I don't know if I have to use this or just a mvn deploy:deploy-file
&gt;&gt;&gt;&gt;&gt; or...
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Any help welcome. I think it will help a lot to have more nmaven
&gt;&gt;&gt;&gt;&gt; artifacts
&gt;&gt;&gt;&gt;&gt; to have such a thing clear (and documented somewhere).
&gt;&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt; Cédric,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt; Brett Porter
&gt;&gt;&gt;&gt; brett@apache.org
&gt;&gt;&gt;&gt; http://blogs.exist.com/bporter/
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt; Sincerely,
&gt;&gt; James Carpenter
&gt;&gt; cell: 832-677-7247
&gt;&gt; email: jcarpenter621@yahoo.com
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Dissolving Apache NMaven From ASF Incubator</title>
<author><name>&quot;Christian Raschka&quot; &lt;christian.raschka@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3ce06aa2d90811210751h3e15a381u2cd75bfc30dea5b0@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce06aa2d90811210751h3e15a381u2cd75bfc30dea5b0@mail-gmail-com%3e</id>
<updated>2008-11-21T15:51:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I want to drop some thoughts into the discussion. We are a shop using
both Java and .Net. I am using Maven for all my projects and having a
build process which is based on Maven. Beside the well know benefits
of Maven, a big point for using it, is the versioning and
reproducibility. We have products and components which you could
easily put together in different versions. Maven (and the Archiva
Repository Server we use) helps us at this point.

Now I have seen NMaven and I tried to port the ideas of the Java World
to the .net one. At this point I have seen the (mentioned) problems
Maven has (for the .Net world). I also would like to help to NMaven
community, because I like the project very much, but it is very
confusing where to start. (There is a release (0.14) which seems to be
used, but for me it doesn't work. And there is the trunk, which I
think needs much work to be done, e.g. it seems important to have a VS
Plugin to generate solutions out of poms and vice versa.)

And thats the point. I don't know how a migration could solve this issue.

I also think, that you could use the help of the maven developer, if
there are problems, but I don't know how this was in the history.

I don't know how much maven related things could be reused by NMaven,
but I think reusing code is better as developing new things in an
other language. I think we should go out to the .net community and
show them what the benefits of NMaven are instead of simply
capitulating. I haven't seen something simular to maven in the .net
world.

In the next days I will talk to some german alt.net guys and see what
there opinion is.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: mvn test</title>
<author><name>&quot;=?UTF-8?Q?Nicol=C3=B2_Chieffo?=&quot; &lt;84yelo3@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c641322f90811191713l38554b0co5304d6d30a4d780d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c641322f90811191713l38554b0co5304d6d30a4d780d@mail-gmail-com%3e</id>
<updated>2008-11-20T01:13:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think I found a bug:
with this in my pom.xml

&lt;dependency&gt;
   &lt;groupId&gt;it.unibo.deis.EsameIS&lt;/groupId&gt;
   &lt;artifactId&gt;MyLib&lt;/artifactId&gt;
   &lt;version&gt;1.0&lt;/version&gt;
   &lt;classifier&gt;test&lt;/classifier&gt;
   &lt;scope&gt;test&lt;/scope&gt;
   &lt;type&gt;dotnet:library&lt;/type&gt;
&lt;/dependency&gt;

the compiler compiles well the code, but can't execute the test
because in the directory test-assemblies there's no file
MyLib-1.0-test.dll

the thing that happens is that I find MyLib-1.0.dll instead of the
test library! In the project there are no other MyLib deps


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: mvn test</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cCF8A3D3A-991A-44CB-B930-818E0545A956@apache.org%3e"/>
<id>urn:uuid:%3cCF8A3D3A-991A-44CB-B930-818E0545A956@apache-org%3e</id>
<updated>2008-11-20T00:50:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Right... this seems a deciciency in the nmaven packaging plugins that  
exist today. However, I believe they do create the test DLL, so you  
could use the build helper plugin in the original project to attach  
that to the build and have it installed for the other.

Cheers,
Brett

On 20/11/2008, at 10:57 AM, Nicolò Chieffo wrote:

&gt; this is a page related to maven
&gt; http://maven.apache.org/guides/mini/guide-attached-tests.html
&gt;
&gt; but we don't use maven-jar-plugin right?

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: mvn test</title>
<author><name>&quot;=?UTF-8?Q?Nicol=C3=B2_Chieffo?=&quot; &lt;84yelo3@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c641322f90811191557o6b0adabbp21294b1d22c7f23a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c641322f90811191557o6b0adabbp21294b1d22c7f23a@mail-gmail-com%3e</id>
<updated>2008-11-19T23:57:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
this is a page related to maven
http://maven.apache.org/guides/mini/guide-attached-tests.html

but we don't use maven-jar-plugin right?


</pre>
</div>
</content>
</entry>
<entry>
<title>mvn test</title>
<author><name>yelo_3 &lt;yelo_3@yahoo.it&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c641322f90811190850j4e6a7107u3ade900611e476b7@mail.gmail.com%3e"/>
<id>urn:uuid:%3c641322f90811190850j4e6a7107u3ade900611e476b7@mail-gmail-com%3e</id>
<updated>2008-11-19T16:50:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello, I've build an application which depends on a library.
The tests in the application also depends on the test which are in the
library (they are implementation of abstract tests)

when I run mvn test I get an error message saying that nunit-console failed:
[INFO] ** (/usr/lib/nunit/nunit-console.exe:3579): WARNING **: The
following assembly referenced from
/home/yelo3/EsameIS/RemotingNetworkServices/target/test-assemblies/RemotingNetworkServices-1.0-test.dll
could not be loaded:

the test compiles, so the pom.xml is correct for compilation,
the problem is that nunit-console needs the mylib-1.0-test.dll in the path:
in fact in the directory test-assemblies there is only mylib-1.0.dll

how can I format pom.xml to copy the test assemblies of the mylib
dependency in test-assemblies?

I have this:
&lt;dependency&gt;
    &lt;groupId&gt;it.unibo.deis.EsameIS&lt;/groupId&gt;
    &lt;artifactId&gt;MyLib&lt;/artifactId&gt;
    &lt;version&gt;1.0&lt;/version&gt;
    &lt;classifier&gt;test&lt;/classifier&gt;
    &lt;scope&gt;test&lt;/scope&gt;
    &lt;type&gt;dotnet:library&lt;/type&gt;
&lt;/dependency&gt;

Thanks


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Dissolving Apache NMaven From ASF Incubator</title>
<author><name>Jason van Zyl &lt;jvanzyl@sonatype.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cBF795414-DBC5-43F7-8DC3-05F02F3D3D14@sonatype.com%3e"/>
<id>urn:uuid:%3cBF795414-DBC5-43F7-8DC3-05F02F3D3D14@sonatype-com%3e</id>
<updated>2008-11-17T14:29:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On 17-Nov-08, at 8:29 AM, Brett Porter wrote:

&gt; I have a number of perspectives on this, and have taken the time  
&gt; traveling over the last few days to reflect on this decision.
&gt;
&gt; As a mentor, I can recognise the podling in its current form is not  
&gt; working. Contributions, patches, and questions have gone largely  
&gt; ignored this year, and development stalled after the migration to a  
&gt; new trunk. For a long time we have assumed that a kick in that  
&gt; direction was all that was needed to get it going again, but only  
&gt; small steps have been taken. Something clearly needs to change.
&gt;
&gt; I don't believe the move you've suggested will make visibility,  
&gt; community involvement and a steady release schedule any more likely  
&gt; than it is now - they simply require a conscious decision and group  
&gt; effort to do so which could equally be achieved here.
&gt;

All we know is that here did not work. All Shane wants to do is try a  
different approach.

&gt; My primary role in the project at the moment is as a user,  
&gt; distributor and occasional developer. There are two reasons your  
&gt; proposal won't satisfy our needs in that regard:
&gt; - we are committed to and required to maintain the code in an  
&gt; independent environment
&gt; - we require integration with Archiva for the search and management  
&gt; functionality
&gt;
&gt; Do you have some alternative proposition here? I realise these may  
&gt; not be your personal "itches", but there are no technical reasons  
&gt; they can't be achieved by other community members that are  
&gt; interested in doing so while other work continues in the areas  
&gt; you've described.
&gt;
&gt; I personally agree with the overarching technical direction you've  
&gt; described. In the long term, I see the .NET portions of this project  
&gt; doing much of the work independently, and this is also consistent  
&gt; with discussions I've had with others. However, Byldan hadn't seemed  
&gt; much more than an experiment to date - could you elaborate on where  
&gt; you think it stands to be able to provide a solution to Maven users  
&gt; today, or what kind of effort is required to bring it to that point?
&gt;

NMaven is useful for people who have hybrid approach: Java on the back- 
end and .NET in the front-end. Byldan would be a pure .NET approach  
for Microsoft developers who are looking for an analog to Maven  
without the requirement of a Java runtime. For a shop that is already  
doing Java it's not a big stretch to use Java intermixed with C#. But  
for shops doing purely .NET I have found interest in NMaven to be  
slight at best. They are almost immediately turned off by having to  
install Java anything. Looking at your typical developer using  
Codeplex this is the profile that you have. They don't know anything  
about Java and don't want to know anything about Java. So NMaven  
provides the solution for the hybrid shop, Byldan is for a whole new  
and different user base. An attempt to bring a new set of users into a  
Maven way of developing software.

&gt; I would still urge you to reconsider and give a renewed effort here  
&gt; to see what we can achieve by openly discussing the issues and  
&gt; roadmap for everyone that is interested in this project and seeing  
&gt; what comes of it.
&gt;

The majority of the IPMC members agree that I think the attempt here  
hasn't worked.

&gt; However, if you don't believe that's feasible, I would be willing to  
&gt; champion an effort to try again afresh - either by restarting the  
&gt; podling (with Incubator and Maven PMC approval), or choosing a new  
&gt; location, and then migrating the current codebase to something more  
&gt; suitable with respect to any current users. Hopefully through  
&gt; regular communication we could converge over time while being free  
&gt; to experiment as needed.
&gt;

It can only help to have more people working on it. I wish you luck  
with your endeavors.

&gt; Thanks,
&gt; Brett
&gt;
&gt; On 14/11/2008, at 8:14 AM, Shane Isbell wrote:
&gt;
&gt;&gt; I'd like to let the general NMaven community know that we are  
&gt;&gt; dissolving
&gt;&gt; NMaven from the Apache Incubator and will be moving the project to  
&gt;&gt; Sonatype
&gt;&gt; Forge (http://sonatype.org) over the next week. I can't speak for all
&gt;&gt; members of the NMaven PPMC but my personal reasons are that after 2  
&gt;&gt; years in
&gt;&gt; the incubator, we have failed to gain traction with the community.  
&gt;&gt; The
&gt;&gt; community involvement was quite active while NMaven was at  
&gt;&gt; sourceforge,
&gt;&gt; drying up very quickly after moving to ASF.
&gt;&gt;
&gt;&gt; Looking back, I think there were a number of reasons for this.  
&gt;&gt; First, I
&gt;&gt; don't think the Apache brand name has as much appeal to the .NET  
&gt;&gt; crowd, so
&gt;&gt; it was easy for us to get buried. Second, we tied NMaven to a Maven  
&gt;&gt; 2.1
&gt;&gt; snapshot to support Visual Studio, and thus were stuck at a point  
&gt;&gt; where we
&gt;&gt; couldn't do a release. Finally, I took a divergent path from Maven
&gt;&gt; implementation, in part to solve problems with lack of toolchain  
&gt;&gt; support and
&gt;&gt; versionless artifact file names, and this made it difficult for Maven
&gt;&gt; developers to understand and to make contributions. The 0.15  
&gt;&gt; release earlier
&gt;&gt; in the year was designed to address these problems. Yet we still  
&gt;&gt; didn't gain
&gt;&gt; much traction with the user or developer community, pointing to  
&gt;&gt; something
&gt;&gt; more fundamental.
&gt;&gt;
&gt;&gt; Given these problems, I'd like to take NMaven to Sonatype Forge,  
&gt;&gt; giving it a
&gt;&gt; fresh start, getting back visibility, community involvement and a  
&gt;&gt; steady
&gt;&gt; release schedule. Now in regards to the future plans.
&gt;&gt;
&gt;&gt; A number of .NET developers I talked to said that they while they  
&gt;&gt; liked
&gt;&gt; Maven and the concept of the Project Model, they didn't want to  
&gt;&gt; have to
&gt;&gt; install Java and Maven on their systems to use it. And finding  
&gt;&gt; developers
&gt;&gt; who know Maven, Java and .NET is not the easiest thing, so I'll be  
&gt;&gt; putting
&gt;&gt; in some time into Byldan (http://codeplex.com/byldan), a .NET  
&gt;&gt; version of
&gt;&gt; Maven.  I'm looking to port over the new 3.0 project builder code,  
&gt;&gt; so we can
&gt;&gt; start bringing the Byldan project model inline with Maven's pom. We  
&gt;&gt; can
&gt;&gt; build the plugins once in .NET and then execute them using either  
&gt;&gt; Byldan or
&gt;&gt; NMaven. The unreleased version 0.14 has this .NET plugin support,  
&gt;&gt; but that
&gt;&gt; code needs to be rewritten and/or cleaned up. We will need  
&gt;&gt; developers with
&gt;&gt; experience in app loading and app domains.
&gt;&gt;
&gt;&gt; Another area I would like to focus on is the Visual Studio support.  
&gt;&gt; Eugene
&gt;&gt; has done a lot of work with the m2eclipse plugin, using Lucene  
&gt;&gt; indexing of
&gt;&gt; the the POMs for artifact searches, so I'm looking to create similar
&gt;&gt; functionality using Lucene.NET.
&gt;&gt;
&gt;&gt; The final areas of focus are ones that we have been trying to solve  
&gt;&gt; from day
&gt;&gt; one: properly handling versionless artifact file names and doing  
&gt;&gt; toolchain
&gt;&gt; support, at both the client and server level. These problems are  
&gt;&gt; enormously
&gt;&gt; difficult to do against the web based repositories, so I will be  
&gt;&gt; looking to
&gt;&gt; integrate NMaven/Byldan with the Nexus Repo Manager Rest APIs, just  
&gt;&gt; pegging
&gt;&gt; the technology so we can get things moving more quickly. This  
&gt;&gt; should also
&gt;&gt; make things like PDB attached artifacts easier to handle.
&gt;&gt;
&gt;&gt; I'll be posting more transition information over the coming week.  
&gt;&gt; Feel free
&gt;&gt; to shoot back with any questions or concerns.
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Shane
&gt;
&gt; --
&gt; Brett Porter
&gt; brett@apache.org
&gt; http://blogs.exist.com/bporter/
&gt;

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

What matters is not ideas, but the people who have them. Good people  
can fix bad ideas, but good ideas can't save bad people.

  -- Paul Graham



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Dissolving Apache NMaven From ASF Incubator</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cFFB799E2-33BE-4EB0-A0C5-762D58D09401@apache.org%3e"/>
<id>urn:uuid:%3cFFB799E2-33BE-4EB0-A0C5-762D58D09401@apache-org%3e</id>
<updated>2008-11-17T13:29:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have a number of perspectives on this, and have taken the time  
traveling over the last few days to reflect on this decision.

As a mentor, I can recognise the podling in its current form is not  
working. Contributions, patches, and questions have gone largely  
ignored this year, and development stalled after the migration to a  
new trunk. For a long time we have assumed that a kick in that  
direction was all that was needed to get it going again, but only  
small steps have been taken. Something clearly needs to change.

I don't believe the move you've suggested will make visibility,  
community involvement and a steady release schedule any more likely  
than it is now - they simply require a conscious decision and group  
effort to do so which could equally be achieved here.

My primary role in the project at the moment is as a user, distributor  
and occasional developer. There are two reasons your proposal won't  
satisfy our needs in that regard:
- we are committed to and required to maintain the code in an  
independent environment
- we require integration with Archiva for the search and management  
functionality

Do you have some alternative proposition here? I realise these may not  
be your personal "itches", but there are no technical reasons they  
can't be achieved by other community members that are interested in  
doing so while other work continues in the areas you've described.

I personally agree with the overarching technical direction you've  
described. In the long term, I see the .NET portions of this project  
doing much of the work independently, and this is also consistent with  
discussions I've had with others. However, Byldan hadn't seemed much  
more than an experiment to date - could you elaborate on where you  
think it stands to be able to provide a solution to Maven users today,  
or what kind of effort is required to bring it to that point?

I would still urge you to reconsider and give a renewed effort here to  
see what we can achieve by openly discussing the issues and roadmap  
for everyone that is interested in this project and seeing what comes  
of it.

However, if you don't believe that's feasible, I would be willing to  
champion an effort to try again afresh - either by restarting the  
podling (with Incubator and Maven PMC approval), or choosing a new  
location, and then migrating the current codebase to something more  
suitable with respect to any current users. Hopefully through regular  
communication we could converge over time while being free to  
experiment as needed.

Thanks,
Brett

On 14/11/2008, at 8:14 AM, Shane Isbell wrote:

&gt; I'd like to let the general NMaven community know that we are  
&gt; dissolving
&gt; NMaven from the Apache Incubator and will be moving the project to  
&gt; Sonatype
&gt; Forge (http://sonatype.org) over the next week. I can't speak for all
&gt; members of the NMaven PPMC but my personal reasons are that after 2  
&gt; years in
&gt; the incubator, we have failed to gain traction with the community. The
&gt; community involvement was quite active while NMaven was at  
&gt; sourceforge,
&gt; drying up very quickly after moving to ASF.
&gt;
&gt; Looking back, I think there were a number of reasons for this.  
&gt; First, I
&gt; don't think the Apache brand name has as much appeal to the .NET  
&gt; crowd, so
&gt; it was easy for us to get buried. Second, we tied NMaven to a Maven  
&gt; 2.1
&gt; snapshot to support Visual Studio, and thus were stuck at a point  
&gt; where we
&gt; couldn't do a release. Finally, I took a divergent path from Maven
&gt; implementation, in part to solve problems with lack of toolchain  
&gt; support and
&gt; versionless artifact file names, and this made it difficult for Maven
&gt; developers to understand and to make contributions. The 0.15 release  
&gt; earlier
&gt; in the year was designed to address these problems. Yet we still  
&gt; didn't gain
&gt; much traction with the user or developer community, pointing to  
&gt; something
&gt; more fundamental.
&gt;
&gt; Given these problems, I'd like to take NMaven to Sonatype Forge,  
&gt; giving it a
&gt; fresh start, getting back visibility, community involvement and a  
&gt; steady
&gt; release schedule. Now in regards to the future plans.
&gt;
&gt; A number of .NET developers I talked to said that they while they  
&gt; liked
&gt; Maven and the concept of the Project Model, they didn't want to have  
&gt; to
&gt; install Java and Maven on their systems to use it. And finding  
&gt; developers
&gt; who know Maven, Java and .NET is not the easiest thing, so I'll be  
&gt; putting
&gt; in some time into Byldan (http://codeplex.com/byldan), a .NET  
&gt; version of
&gt; Maven.  I'm looking to port over the new 3.0 project builder code,  
&gt; so we can
&gt; start bringing the Byldan project model inline with Maven's pom. We  
&gt; can
&gt; build the plugins once in .NET and then execute them using either  
&gt; Byldan or
&gt; NMaven. The unreleased version 0.14 has this .NET plugin support,  
&gt; but that
&gt; code needs to be rewritten and/or cleaned up. We will need  
&gt; developers with
&gt; experience in app loading and app domains.
&gt;
&gt; Another area I would like to focus on is the Visual Studio support.  
&gt; Eugene
&gt; has done a lot of work with the m2eclipse plugin, using Lucene  
&gt; indexing of
&gt; the the POMs for artifact searches, so I'm looking to create similar
&gt; functionality using Lucene.NET.
&gt;
&gt; The final areas of focus are ones that we have been trying to solve  
&gt; from day
&gt; one: properly handling versionless artifact file names and doing  
&gt; toolchain
&gt; support, at both the client and server level. These problems are  
&gt; enormously
&gt; difficult to do against the web based repositories, so I will be  
&gt; looking to
&gt; integrate NMaven/Byldan with the Nexus Repo Manager Rest APIs, just  
&gt; pegging
&gt; the technology so we can get things moving more quickly. This should  
&gt; also
&gt; make things like PDB attached artifacts easier to handle.
&gt;
&gt; I'll be posting more transition information over the coming week.  
&gt; Feel free
&gt; to shoot back with any questions or concerns.
&gt;
&gt; Thanks,
&gt; Shane

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Dissolving Apache NMaven From ASF Incubator</title>
<author><name>&quot;Shane Isbell&quot; &lt;sisbell@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cf7743e090811131314o6ec6740eu19006e001af42649@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf7743e090811131314o6ec6740eu19006e001af42649@mail-gmail-com%3e</id>
<updated>2008-11-13T21:14:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'd like to let the general NMaven community know that we are dissolving
NMaven from the Apache Incubator and will be moving the project to Sonatype
Forge (http://sonatype.org) over the next week. I can't speak for all
members of the NMaven PPMC but my personal reasons are that after 2 years in
the incubator, we have failed to gain traction with the community. The
community involvement was quite active while NMaven was at sourceforge,
drying up very quickly after moving to ASF.

Looking back, I think there were a number of reasons for this. First, I
don't think the Apache brand name has as much appeal to the .NET crowd, so
it was easy for us to get buried. Second, we tied NMaven to a Maven 2.1
snapshot to support Visual Studio, and thus were stuck at a point where we
couldn't do a release. Finally, I took a divergent path from Maven
implementation, in part to solve problems with lack of toolchain support and
versionless artifact file names, and this made it difficult for Maven
developers to understand and to make contributions. The 0.15 release earlier
in the year was designed to address these problems. Yet we still didn't gain
much traction with the user or developer community, pointing to something
more fundamental.

Given these problems, I'd like to take NMaven to Sonatype Forge, giving it a
fresh start, getting back visibility, community involvement and a steady
release schedule. Now in regards to the future plans.

A number of .NET developers I talked to said that they while they liked
Maven and the concept of the Project Model, they didn't want to have to
install Java and Maven on their systems to use it. And finding developers
who know Maven, Java and .NET is not the easiest thing, so I'll be putting
in some time into Byldan (http://codeplex.com/byldan), a .NET version of
Maven.  I'm looking to port over the new 3.0 project builder code, so we can
start bringing the Byldan project model inline with Maven's pom. We can
build the plugins once in .NET and then execute them using either Byldan or
NMaven. The unreleased version 0.14 has this .NET plugin support, but that
code needs to be rewritten and/or cleaned up. We will need developers with
experience in app loading and app domains.

Another area I would like to focus on is the Visual Studio support. Eugene
has done a lot of work with the m2eclipse plugin, using Lucene indexing of
the the POMs for artifact searches, so I'm looking to create similar
functionality using Lucene.NET.

The final areas of focus are ones that we have been trying to solve from day
one: properly handling versionless artifact file names and doing toolchain
support, at both the client and server level. These problems are enormously
difficult to do against the web based repositories, so I will be looking to
integrate NMaven/Byldan with the Nexus Repo Manager Rest APIs, just pegging
the technology so we can get things moving more quickly. This should also
make things like PDB attached artifacts easier to handle.

I'll be posting more transition information over the coming week. Feel free
to shoot back with any questions or concerns.

Thanks,
Shane


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: partial classes</title>
<author><name>&quot;=?UTF-8?Q?Nicol=C3=B2_Chieffo?=&quot; &lt;84yelo3@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c641322f90811130309k54fa3535l222a59b366c1ca13@mail.gmail.com%3e"/>
<id>urn:uuid:%3c641322f90811130309k54fa3535l222a59b366c1ca13@mail-gmail-com%3e</id>
<updated>2008-11-13T11:09:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Sorry, my fault again, I should have added another source directory
"gtk-gui" created by monodevelop.


</pre>
</div>
</content>
</entry>
<entry>
<title>partial classes</title>
<author><name>yelo_3 &lt;yelo_3@yahoo.it&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c641322f90811130302q69d24020n5020d4cc73a3485d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c641322f90811130302q69d24020n5020d4cc73a3485d@mail-gmail-com%3e</id>
<updated>2008-11-13T11:02:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
nmaven cannot deal with partial classes (the ones generated by
monodevelop GUI builder)

I don't know how partial classes must be compiled, but nmaven cannot
compile them. It complains of the missing element in the partial class
(which of course are defined in the another file)

Have you got any suggestions?


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: help with dependencies please</title>
<author><name>&quot;=?UTF-8?Q?Nicol=C3=B2_Chieffo?=&quot; &lt;84yelo3@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c641322f90811130249h460ce87oeac185091e1e5c66@mail.gmail.com%3e"/>
<id>urn:uuid:%3c641322f90811130249h460ce87oeac185091e1e5c66@mail-gmail-com%3e</id>
<updated>2008-11-13T10:49:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
My fault. I forgot do add
&lt;type&gt;dotnet:gac_msil&lt;/type&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>help with dependencies please</title>
<author><name>yelo_3 &lt;yelo_3@yahoo.it&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c641322f90811130240k88a157et2caea0e917c342fa@mail.gmail.com%3e"/>
<id>urn:uuid:%3c641322f90811130240k88a157et2caea0e917c342fa@mail-gmail-com%3e</id>
<updated>2008-11-13T10:40:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello, I'm building an assembly with maven which depends on
gtk-sharp.dll and System.Runtime.Remoting.dll. I tried to put a
dependency in pom.xml but without success: I don't know which is the
groupId and artifactId of both dll

   &lt;dependency&gt;
   &lt;groupId&gt;Gtk&lt;/groupId&gt;
   &lt;artifactId&gt;Gtk&lt;/artifactId&gt;
   &lt;version&gt;2.12.0.0&lt;/version&gt;
   &lt;scope&gt;system&lt;/scope&gt;
   &lt;systemPath&gt;
   /usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
   &lt;/systemPath&gt;
   &lt;/dependency&gt;

   &lt;dependency&gt;
   &lt;groupId&gt;System.Runtime.Remoting&lt;/groupId&gt;
   &lt;artifactId&gt;System.Runtime.Remoting&lt;/artifactId&gt;
   &lt;version&gt;2.0.0.0&lt;/version&gt;
   &lt;scope&gt;system&lt;/scope&gt;
   &lt;systemPath&gt;
   /usr/lib/mono/2.0/System.Runtime.Remoting.dll
   &lt;/systemPath&gt;
   &lt;/dependency&gt;

the output of mvn install is the following:

[...]
The type or namespace name `Http' does not exist in the namespace
`System.Runtime.Remoting.Channels'. Are you missing an assembly
reference?
[...]
The type or namespace name `Gtk' could not be found. Are you missing a
using directive or an assembly reference?
[...]
Command = /bin/sh -c "gmcs
/out:/home/yelo3/EsameIS/SimulationBelt/target/SimulationBelt-1.0.exe
/target:exe /recurse:/home/yelo3/EsameIS/SimulationBelt/target/build-sources/**
/reference:/home/yelo3/.m2/repository/it/unibo/deis/EsameIS/Belt/1.0/Belt-1.0.dll
/reference:/home/yelo3/.m2/repository/it/unibo/deis/EsameIS/NetworkServices/1.0/NetworkServices-1.0.dll
/reference:/home/yelo3/.m2/repository/it/unibo/deis/EsameIS/Container/1.0/Container-1.0.dll
/warnaserror- /reference:System.Drawing
/reference:System.Windows.Forms /reference:System.Web.Services
/doc:/home/yelo3/EsameIS/SimulationBelt/target/comments.xml"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>&quot;Mimil Mimil&quot; &lt;mimilowns@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3caf7433920811110754k78e4ab0ag48d86644db18357a@mail.gmail.com%3e"/>
<id>urn:uuid:%3caf7433920811110754k78e4ab0ag48d86644db18357a@mail-gmail-com%3e</id>
<updated>2008-11-11T15:54:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello everybody,

I think I will upload to maven central repository the log4net artifacts I
have created. They are only based on binaries and do not define any
dependencies because I haven't yet succeed to make work classifiers and
dependencies in the same time.

Concerning the sources classifier, do we have the jar file format or there
is a format for dotnet tools?
Concerning the pdb files, it sounds that there is no much support so I will
wait until I understand how to make them and how to use them in
nmaven/dotnet tools.

Concerning the help of log4net team to support this artifact, I think it is
better to wait for the full support of all previous questions.
I hope there will be no problem on the central repository team to let me
upload these artifacts. Brett, I think it is the same case for you and
nunit, so could I had you in copy if I have troubles?

The following files will be uploaded:

&gt; log4net-1.2.10.0-cli-1.0.dll
&gt; log4net-1.2.10.0-mono-1.0.dll
&gt; log4net-1.2.10.0-mono-2.0.dll
&gt; log4net-1.2.10.0-net-1.0.dll
&gt; log4net-1.2.10.0-net-1.1.dll
&gt; log4net-1.2.10.0-net-2.0.dll
&gt; log4net-1.2.10.0-netcf-1.0.dll
&gt; log4net-1.2.10.0.pom
&gt; log4net-1.2.10.0-sscli-1.0.dll
&gt;

They have been generated using this script:

&gt; #!/bin/sh
&gt;
&gt; LOG4NETVERSION=1.2.10.0
&gt; export LOG4NETVERSION
&gt;
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/2.0/release/log4net.dll
&gt; -Dclassifier=net-2.0
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.0/release/log4net.dll
&gt; -Dclassifier=net-1.0
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/net/1.1/release/log4net.dll
&gt; -Dclassifier=net-1.1
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/2.0/release/log4net.dll
&gt; -Dclassifier=mono-2.0
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/mono/1.0/release/log4net.dll
&gt; -Dclassifier=mono-1.0
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/netcf/1.0/release/log4net.dll
&gt; -Dclassifier=netcf-1.0
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/cli/1.0/release/log4net.dll
&gt; -Dclassifier=cli-1.0
&gt; mvn install:install-file  -DpomFile=pom.xml
&gt; -Dfile=lib/log4net-$LOG4NETVERSION/bin/sscli/1.0/release/log4net.dll
&gt; -Dclassifier=sscli-1.0
&gt;
&gt; cd ~/.m2/repository/log4net/log4net/$LOG4NETVERSION/
&gt; echo "Bundling local repository files"
&gt; jar -cf log4net-bundle.jar *.dll *.pom
&gt;

And my pom is:

&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;     &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;     &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;     &lt;!-- the last version number will be used for nmaven artifact packaging
&gt; --&gt;
&gt;     &lt;version&gt;1.2.10.0&lt;/version&gt;
&gt;     &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;     &lt;description&gt;log4net is a tool to help the programmer output log
&gt; statements to a variety of output targets.
&gt;     &lt;/description&gt;
&gt;     &lt;url&gt;http://logging.apache.org/log4net/&lt;/url&gt;
&gt;     &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;     &lt;developers&gt;
&gt;         &lt;developer&gt;
&gt;             &lt;id&gt;mimil&lt;/id&gt;
&gt;             &lt;email&gt;mimil@users.sourceforge.net&lt;/email&gt;
&gt;             &lt;roles&gt;
&gt;                 &lt;role&gt;artifact creator&lt;/role&gt;
&gt;             &lt;/roles&gt;
&gt;         &lt;/developer&gt;
&gt;     &lt;/developers&gt;
&gt;     &lt;licenses&gt;
&gt;         &lt;license&gt;
&gt;             &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;             &lt;url&gt;
&gt;                 http://logging.apache.org/log4net/license.html
&gt;             &lt;/url&gt;
&gt;         &lt;/license&gt;
&gt;     &lt;/licenses&gt;
&gt;     &lt;build&gt;
&gt;         &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;         &lt;plugins&gt;
&gt;             &lt;!-- dotnet compiler plugin is needed to be aware of
&gt; dot:library packaging --&gt;
&gt;             &lt;plugin&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.dotnet.plugins&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;maven-dotnet-compiler-plugin&lt;/artifactId&gt;
&gt;                 &lt;!--version&gt;0.16-incubating-SNAPSHOT&lt;/version--&gt;
&gt;                 &lt;extensions&gt;true&lt;/extensions&gt;
&gt;             &lt;/plugin&gt;
&gt;         &lt;/plugins&gt;
&gt;     &lt;/build&gt;
&gt; &lt;/project&gt;
&gt;

Any comments are welcome before I upload them.

Regards,
Cedric,

On Fri, Nov 7, 2008 at 5:03 AM, James Carpenter &lt;jcarpenter621@yahoo.com&gt;wrote:

&gt; You might want to consider adding the pdb and source archives with
&gt; appropriate classifiers along with the assemblies/dlls.  Even if you don't
&gt; index the pdb files (see below) it will be easy to go back and do so later.
&gt;
&gt;
&gt; =======================================
&gt; If you want to go way out of the way you can even add source server
&gt; information to the pdb files.
&gt;
&gt; Lets say you create a maven plugin with the following goal/arguments:
&gt;
&gt; prompt&gt;mvn source-server:resolve -DgroupId="com.acme.mortar"
&gt; -DartifactId="tools" -Dversion="1.3.2" -DrelativeFile="tooling/trowel.cs"
&gt; -DoutputPath="C:\mysrc\"
&gt;
&gt; The result of this goal would be to resolve the
&gt; com.acme.mortar:tools:sources:1.3.2:jar artifact and extract the
&gt; tooling/trowel.cs file and copy it to
&gt; C:\mysrc\com\acme\mortar\tools\1.3.2\tooling\trowel.cs
&gt;
&gt; You then process the pdb files to inject the magic srcsrv stream (see an
&gt; earlier post) which will tell the MS debugging tools for windows how to form
&gt; the above command for any of the files used to build the assembly/pdb.
&gt;
&gt; The result of this dance will be the ability for the Visual Studio debugger
&gt; to magically step down into the source code of any of the assemblies you
&gt; have placed into the maven repository.
&gt;
&gt; I wrote a post on this mailing list a few weeks ago which gives a lot more
&gt; of the details.
&gt;
&gt;
&gt; On Nov 6, 2008, at 3:52 PM, Mimil Mimil wrote:
&gt;
&gt;  Hi,
&gt;&gt;
&gt;&gt; As you advised I am making artifacts from binaries because I do not belong
&gt;&gt; to the projects I am doing artifacts - I just want to add more nmaven
&gt;&gt; artifacts for the community.
&gt;&gt;
&gt;&gt; Dependencies will be differents are they are I think related to the
&gt;&gt; environments so I think the only way to manage this is classifier.
&gt;&gt;
&gt;&gt; How the lib differs between environments? I don't have any knowledge of
&gt;&gt; .net
&gt;&gt; but the clearest exemple is for compact framework. As it targets mobiles,
&gt;&gt; pda, ... it is certainly a lot different from the conventional framework.
&gt;&gt; As yes did different DLLs for the different frameworks I think it is
&gt;&gt; because
&gt;&gt; they need it, that's all I can say =)
&gt;&gt;
&gt;&gt; An easy way would be for now to not set dependencies (if we have problem
&gt;&gt; on
&gt;&gt; this point) but is the classifier stuff supported out of the box to deploy
&gt;&gt; manual artifacts? I mean is the namming convention
&gt;&gt; &lt;artifactId&gt;-&lt;version&gt;-&lt;everything else after version is considered
as a
&gt;&gt; classifier&gt; ?
&gt;&gt;
&gt;&gt; Do we have to develop a little plugin in order to specify the classifier
&gt;&gt; of
&gt;&gt; artifacts? I say that because the only things I saw through the web as or
&gt;&gt; based on the maven-jar-plugin or on war plugin which I don't remember the
&gt;&gt; name.
&gt;&gt; Maybe http://mojo.codehaus.org/build-helper-maven-plugin/usage.html can
&gt;&gt; be
&gt;&gt; used with attach-artifact?
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt; Cedric,
&gt;&gt;
&gt;&gt; On Thu, Nov 6, 2008 at 7:19 PM, Brett Porter &lt;brett@apache.org&gt; wrote:
&gt;&gt;
&gt;&gt;  Yes, you should use classifiers, so the POM you have looks fine (and
&gt;&gt;&gt; there
&gt;&gt;&gt; need be just one). If you are building with NMaven yourself, we need to
&gt;&gt;&gt; make
&gt;&gt;&gt; sure the compiler plugin supports adding classifiers.
&gt;&gt;&gt;
&gt;&gt;&gt; Profiles shouldn't be needed. If the dependencies differ between them, it
&gt;&gt;&gt; might be a problem.
&gt;&gt;&gt;
&gt;&gt;&gt; Is it required to have different versions for each framework? How do they
&gt;&gt;&gt; differ exactly?
&gt;&gt;&gt;
&gt;&gt;&gt; Cheers,
&gt;&gt;&gt; Brett
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; On 05/11/2008, at 10:36 AM, Mimil Mimil wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; Hello,
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I am trying to make nmaven artifacts using dll binaries but I would like
&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt; define the dependencies of this dll.
&gt;&gt;&gt;&gt; In the case of log4net I am currently trying to make I want to make
&gt;&gt;&gt;&gt; artifacts for each dotnet environments (dotnet 2.0, dotnet 1.1, mono
&gt;&gt;&gt;&gt; ...)
&gt;&gt;&gt;&gt; and I think it should be handled using classifiers.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; As for now I think we have to use profiles to define each environemnt
&gt;&gt;&gt;&gt; artifacts, by the way I don't know how to use these profiles to make
&gt;&gt;&gt;&gt; classifiers.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Here is my current pom with net-1.2 profile and its dependencies:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;&gt;&gt;      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;description&gt;log4net is a tool to help the programmer output log
&gt;&gt;&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;&gt;&gt;  &lt;/description&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;licenses&gt;
&gt;&gt;&gt;&gt;&gt;     &lt;license&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;url&gt;
&gt;&gt;&gt;&gt;&gt;             http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;&gt;&gt;         &lt;/url&gt;
&gt;&gt;&gt;&gt;&gt;     &lt;/license&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;/licenses&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;build&gt;
&gt;&gt;&gt;&gt;&gt;     &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;&gt;&gt;     &lt;!-- To define the plugin version in your parent POM --&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;           &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;               &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;               &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;               &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;           &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;/pluginManagement&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;!-- To use the plugin goals in your POM or parent POM --&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;plugins&gt;
&gt;&gt;&gt;&gt;&gt;           &lt;plugin&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;           &lt;/plugin&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;/plugins&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;/build&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;profiles&gt;
&gt;&gt;&gt;&gt;&gt;     &lt;profile&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;id&gt;net-2.0&lt;/id&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;dependencies&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;dependency&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;&gt;             &lt;/dependency&gt;
&gt;&gt;&gt;&gt;&gt;         &lt;/dependencies&gt;
&gt;&gt;&gt;&gt;&gt;     &lt;/profile&gt;
&gt;&gt;&gt;&gt;&gt;  &lt;/profiles&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;  Another way to do it is to have a pom by environment and insert the
&gt;&gt;&gt;&gt; classifier name inside the versionId. I remember something about
&gt;&gt;&gt;&gt; versionId
&gt;&gt;&gt;&gt; that must be w.x.y.z, will it be a problem?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I thought to use repository:bundle-pack for the installation in
&gt;&gt;&gt;&gt; repositories
&gt;&gt;&gt;&gt; but I don't know if I have to use this or just a mvn deploy:deploy-file
&gt;&gt;&gt;&gt; or...
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Any help welcome. I think it will help a lot to have more nmaven
&gt;&gt;&gt;&gt; artifacts
&gt;&gt;&gt;&gt; to have such a thing clear (and documented somewhere).
&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt; Cédric,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; Brett Porter
&gt;&gt;&gt; brett@apache.org
&gt;&gt;&gt; http://blogs.exist.com/bporter/
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt; Sincerely,
&gt; James Carpenter
&gt; cell: 832-677-7247
&gt; email: jcarpenter621@yahoo.com
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Incubator report for November</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c86E3496A-A6A0-40BF-B358-3384E6400BAB@apache.org%3e"/>
<id>urn:uuid:%3c86E3496A-A6A0-40BF-B358-3384E6400BAB@apache-org%3e</id>
<updated>2008-11-10T15:33:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Here is what I have so far - any additions/changes wanted?

NMaven develops plugins and integration for Maven to make building and  
using .NET languages a first-class citizen in Maven.

Incubating since: 2006-11-17

* Slight increase in mailing list traffic
* Work has progressed on helping to migrate the previous version to  
the revised trunk
* Discussion of another release
* Expecting increased contributions in the coming months
* Started to set up a repository on the Maven central repository  
for .NET artifacts
* Presented a brief fast feather talk at ApacheCon, but didn't  
generate additional interest



--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Versioning artifacts with NMaven</title>
<author><name>&quot;Leopoldo Agdeppa&quot; &lt;lagdeppa@exist.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c578f8c380811091833p643f43e0me80768e3e79597b6@mail.gmail.com%3e"/>
<id>urn:uuid:%3c578f8c380811091833p643f43e0me80768e3e79597b6@mail-gmail-com%3e</id>
<updated>2008-11-10T02:33:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
for alpha versions it should be in a 0 series like 0.14 or 0.16.1.2

On Mon, Nov 10, 2008 at 10:32 AM, Leopoldo Agdeppa &lt;lagdeppa@exist.com&gt;wrote:

&gt; should be the one in assembly, and 1.3-alpha1 will be rendered as 1.3 only
&gt;
&gt;
&gt; On Sat, Nov 8, 2008 at 6:21 AM, Wendy Smoak &lt;wsmoak@gmail.com&gt; wrote:
&gt;
&gt;&gt; In a different thread, Shane wrote:
&gt;&gt;
&gt;&gt; &gt;You need to use w.x.y.z, but may append it with anything after a hyphen.
&gt;&gt; &gt; For example. 2.0.0.0-SNAPSHOT or 1.3-alpha1 are both okay to use.
&gt;&gt;
&gt;&gt; I found [1] which explains the w.x.y.z versioning, but how does nmaven
&gt;&gt; handle the version in the pom vs. the one in the assembly?  If w.x.y.z
&gt;&gt; is a requirement, then how does 1.3-alpha1 work?
&gt;&gt;
&gt;&gt; [1] http://msdn.microsoft.com/en-us/library/51ket42z.aspx
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; --
&gt;&gt; Wendy
&gt;&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Leopoldo L. Agdeppa III
&gt; Software Engineer | Exist Global | +6332 4121155 xtn 103. +639195686024 |
&gt; YM: exst_lagdeppa | www.exist.com | Innovation Delivered
&gt;



-- 
Leopoldo L. Agdeppa III
Software Engineer | Exist Global | +6332 4121155 xtn 103. +639195686024 |
YM: exst_lagdeppa | www.exist.com | Innovation Delivered


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Versioning artifacts with NMaven</title>
<author><name>&quot;Leopoldo Agdeppa&quot; &lt;lagdeppa@exist.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c578f8c380811091832n5e942d0bgf4a69776fa92935d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c578f8c380811091832n5e942d0bgf4a69776fa92935d@mail-gmail-com%3e</id>
<updated>2008-11-10T02:32:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
should be the one in assembly, and 1.3-alpha1 will be rendered as 1.3 only

On Sat, Nov 8, 2008 at 6:21 AM, Wendy Smoak &lt;wsmoak@gmail.com&gt; wrote:

&gt; In a different thread, Shane wrote:
&gt;
&gt; &gt;You need to use w.x.y.z, but may append it with anything after a hyphen.
&gt; &gt; For example. 2.0.0.0-SNAPSHOT or 1.3-alpha1 are both okay to use.
&gt;
&gt; I found [1] which explains the w.x.y.z versioning, but how does nmaven
&gt; handle the version in the pom vs. the one in the assembly?  If w.x.y.z
&gt; is a requirement, then how does 1.3-alpha1 work?
&gt;
&gt; [1] http://msdn.microsoft.com/en-us/library/51ket42z.aspx
&gt;
&gt; Thanks,
&gt; --
&gt; Wendy
&gt;



-- 
Leopoldo L. Agdeppa III
Software Engineer | Exist Global | +6332 4121155 xtn 103. +639195686024 |
YM: exst_lagdeppa | www.exist.com | Innovation Delivered


</pre>
</div>
</content>
</entry>
<entry>
<title>Versioning artifacts with NMaven</title>
<author><name>&quot;Wendy Smoak&quot; &lt;wsmoak@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cadba96190811071421s22d3540eq1726d4c3629b08a8@mail.gmail.com%3e"/>
<id>urn:uuid:%3cadba96190811071421s22d3540eq1726d4c3629b08a8@mail-gmail-com%3e</id>
<updated>2008-11-07T22:21:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
In a different thread, Shane wrote:

&gt;You need to use w.x.y.z, but may append it with anything after a hyphen.
&gt; For example. 2.0.0.0-SNAPSHOT or 1.3-alpha1 are both okay to use.

I found [1] which explains the w.x.y.z versioning, but how does nmaven
handle the version in the pom vs. the one in the assembly?  If w.x.y.z
is a requirement, then how does 1.3-alpha1 work?

[1] http://msdn.microsoft.com/en-us/library/51ket42z.aspx

Thanks,
-- 
Wendy


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>James Carpenter &lt;jcarpenter621@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cF7446E95-7C6F-490B-A721-25431D22E8A0@yahoo.com%3e"/>
<id>urn:uuid:%3cF7446E95-7C6F-490B-A721-25431D22E8A0@yahoo-com%3e</id>
<updated>2008-11-07T04:03:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
You might want to consider adding the pdb and source archives with  
appropriate classifiers along with the assemblies/dlls.  Even if you  
don't index the pdb files (see below) it will be easy to go back and  
do so later.


=======================================
If you want to go way out of the way you can even add source server  
information to the pdb files.

Lets say you create a maven plugin with the following goal/arguments:

prompt&gt;mvn source-server:resolve -DgroupId="com.acme.mortar" - 
DartifactId="tools" -Dversion="1.3.2" -DrelativeFile="tooling/ 
trowel.cs" -DoutputPath="C:\mysrc\"

The result of this goal would be to resolve the  
com.acme.mortar:tools:sources:1.3.2:jar artifact and extract the  
tooling/trowel.cs file and copy it to C:\mysrc\com\acme\mortar\tools 
\1.3.2\tooling\trowel.cs

You then process the pdb files to inject the magic srcsrv stream (see  
an earlier post) which will tell the MS debugging tools for windows  
how to form the above command for any of the files used to build the  
assembly/pdb.

The result of this dance will be the ability for the Visual Studio  
debugger to magically step down into the source code of any of the  
assemblies you have placed into the maven repository.

I wrote a post on this mailing list a few weeks ago which gives a lot  
more of the details.

On Nov 6, 2008, at 3:52 PM, Mimil Mimil wrote:

&gt; Hi,
&gt;
&gt; As you advised I am making artifacts from binaries because I do not  
&gt; belong
&gt; to the projects I am doing artifacts - I just want to add more nmaven
&gt; artifacts for the community.
&gt;
&gt; Dependencies will be differents are they are I think related to the
&gt; environments so I think the only way to manage this is classifier.
&gt;
&gt; How the lib differs between environments? I don't have any knowledge  
&gt; of .net
&gt; but the clearest exemple is for compact framework. As it targets  
&gt; mobiles,
&gt; pda, ... it is certainly a lot different from the conventional  
&gt; framework.
&gt; As yes did different DLLs for the different frameworks I think it is  
&gt; because
&gt; they need it, that's all I can say =)
&gt;
&gt; An easy way would be for now to not set dependencies (if we have  
&gt; problem on
&gt; this point) but is the classifier stuff supported out of the box to  
&gt; deploy
&gt; manual artifacts? I mean is the namming convention
&gt; &lt;artifactId&gt;-&lt;version&gt;-&lt;everything else after version is considered  
&gt; as a
&gt; classifier&gt; ?
&gt;
&gt; Do we have to develop a little plugin in order to specify the  
&gt; classifier of
&gt; artifacts? I say that because the only things I saw through the web  
&gt; as or
&gt; based on the maven-jar-plugin or on war plugin which I don't  
&gt; remember the
&gt; name.
&gt; Maybe http://mojo.codehaus.org/build-helper-maven-plugin/usage.html  
&gt; can be
&gt; used with attach-artifact?
&gt;
&gt; Regards,
&gt; Cedric,
&gt;
&gt; On Thu, Nov 6, 2008 at 7:19 PM, Brett Porter &lt;brett@apache.org&gt; wrote:
&gt;
&gt;&gt; Yes, you should use classifiers, so the POM you have looks fine  
&gt;&gt; (and there
&gt;&gt; need be just one). If you are building with NMaven yourself, we  
&gt;&gt; need to make
&gt;&gt; sure the compiler plugin supports adding classifiers.
&gt;&gt;
&gt;&gt; Profiles shouldn't be needed. If the dependencies differ between  
&gt;&gt; them, it
&gt;&gt; might be a problem.
&gt;&gt;
&gt;&gt; Is it required to have different versions for each framework? How  
&gt;&gt; do they
&gt;&gt; differ exactly?
&gt;&gt;
&gt;&gt; Cheers,
&gt;&gt; Brett
&gt;&gt;
&gt;&gt;
&gt;&gt; On 05/11/2008, at 10:36 AM, Mimil Mimil wrote:
&gt;&gt;
&gt;&gt; Hello,
&gt;&gt;&gt;
&gt;&gt;&gt; I am trying to make nmaven artifacts using dll binaries but I  
&gt;&gt;&gt; would like
&gt;&gt;&gt; to
&gt;&gt;&gt; define the dependencies of this dll.
&gt;&gt;&gt; In the case of log4net I am currently trying to make I want to make
&gt;&gt;&gt; artifacts for each dotnet environments (dotnet 2.0, dotnet 1.1,  
&gt;&gt;&gt; mono ...)
&gt;&gt;&gt; and I think it should be handled using classifiers.
&gt;&gt;&gt;
&gt;&gt;&gt; As for now I think we have to use profiles to define each  
&gt;&gt;&gt; environemnt
&gt;&gt;&gt; artifacts, by the way I don't know how to use these profiles to make
&gt;&gt;&gt; classifiers.
&gt;&gt;&gt;
&gt;&gt;&gt; Here is my current pom with net-1.2 profile and its dependencies:
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;&gt;       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;&gt;  &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;&gt;  &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;  &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;&gt;  &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;&gt;  &lt;description&gt;log4net is a tool to help the programmer output log
&gt;&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;&gt;  &lt;/description&gt;
&gt;&gt;&gt;&gt;  &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;&gt;&gt;&gt;  &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;  &lt;licenses&gt;
&gt;&gt;&gt;&gt;      &lt;license&gt;
&gt;&gt;&gt;&gt;          &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;&gt;          &lt;url&gt;
&gt;&gt;&gt;&gt;              http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;&gt;          &lt;/url&gt;
&gt;&gt;&gt;&gt;      &lt;/license&gt;
&gt;&gt;&gt;&gt;  &lt;/licenses&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;  &lt;build&gt;
&gt;&gt;&gt;&gt;      &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;&gt;      &lt;!-- To define the plugin version in your parent POM --&gt;
&gt;&gt;&gt;&gt;          &lt;pluginManagement&gt;
&gt;&gt;&gt;&gt;            &lt;plugins&gt;
&gt;&gt;&gt;&gt;              &lt;plugin&gt;
&gt;&gt;&gt;&gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;                &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;                &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;              &lt;/plugin&gt;
&gt;&gt;&gt;&gt;            &lt;/plugins&gt;
&gt;&gt;&gt;&gt;          &lt;/pluginManagement&gt;
&gt;&gt;&gt;&gt;          &lt;!-- To use the plugin goals in your POM or parent POM --&gt;
&gt;&gt;&gt;&gt;          &lt;plugins&gt;
&gt;&gt;&gt;&gt;            &lt;plugin&gt;
&gt;&gt;&gt;&gt;              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;&gt;              &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;              &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;&gt;            &lt;/plugin&gt;
&gt;&gt;&gt;&gt;          &lt;/plugins&gt;
&gt;&gt;&gt;&gt;  &lt;/build&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;  &lt;profiles&gt;
&gt;&gt;&gt;&gt;      &lt;profile&gt;
&gt;&gt;&gt;&gt;          &lt;id&gt;net-2.0&lt;/id&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;          &lt;dependencies&gt;
&gt;&gt;&gt;&gt;              &lt;dependency&gt;
&gt;&gt;&gt;&gt;                  &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;&gt;&gt;&gt;                  &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;                  &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;                  &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;                  &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;                  &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/2.0.0.0__b77a5c561934e089/

&gt;&gt;&gt;&gt; System.Data.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;              &lt;/dependency&gt;
&gt;&gt;&gt;&gt;              &lt;dependency&gt;
&gt;&gt;&gt;&gt;                  &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;&gt;&gt;&gt;                  &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;&gt;&gt;&gt;                  &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;&gt;                  &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;&gt;                  &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;&gt;                  &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/2.0.0.0__b03f5f7f11d50a3a/ 
&gt;&gt;&gt;&gt; System.Web.dll&lt;/systemPath&gt;
&gt;&gt;&gt;&gt;              &lt;/dependency&gt;
&gt;&gt;&gt;&gt;          &lt;/dependencies&gt;
&gt;&gt;&gt;&gt;      &lt;/profile&gt;
&gt;&gt;&gt;&gt;  &lt;/profiles&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt; Another way to do it is to have a pom by environment and insert the
&gt;&gt;&gt; classifier name inside the versionId. I remember something about  
&gt;&gt;&gt; versionId
&gt;&gt;&gt; that must be w.x.y.z, will it be a problem?
&gt;&gt;&gt;
&gt;&gt;&gt; I thought to use repository:bundle-pack for the installation in
&gt;&gt;&gt; repositories
&gt;&gt;&gt; but I don't know if I have to use this or just a mvn deploy:deploy- 
&gt;&gt;&gt; file
&gt;&gt;&gt; or...
&gt;&gt;&gt;
&gt;&gt;&gt; Any help welcome. I think it will help a lot to have more nmaven  
&gt;&gt;&gt; artifacts
&gt;&gt;&gt; to have such a thing clear (and documented somewhere).
&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;
&gt;&gt;&gt; Regards,
&gt;&gt;&gt; Cédric,
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Brett Porter
&gt;&gt; brett@apache.org
&gt;&gt; http://blogs.exist.com/bporter/
&gt;&gt;
&gt;&gt;

Sincerely,
James Carpenter
cell: 832-677-7247
email: jcarpenter621@yahoo.com





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>&quot;Mimil Mimil&quot; &lt;mimilowns@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3caf7433920811061352q5da97c15w4b648b00422c2664@mail.gmail.com%3e"/>
<id>urn:uuid:%3caf7433920811061352q5da97c15w4b648b00422c2664@mail-gmail-com%3e</id>
<updated>2008-11-06T21:52:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

As you advised I am making artifacts from binaries because I do not belong
to the projects I am doing artifacts - I just want to add more nmaven
artifacts for the community.

Dependencies will be differents are they are I think related to the
environments so I think the only way to manage this is classifier.

How the lib differs between environments? I don't have any knowledge of .net
but the clearest exemple is for compact framework. As it targets mobiles,
pda, ... it is certainly a lot different from the conventional framework.
As yes did different DLLs for the different frameworks I think it is because
they need it, that's all I can say =)

An easy way would be for now to not set dependencies (if we have problem on
this point) but is the classifier stuff supported out of the box to deploy
manual artifacts? I mean is the namming convention
&lt;artifactId&gt;-&lt;version&gt;-&lt;everything else after version is considered as a
classifier&gt; ?

Do we have to develop a little plugin in order to specify the classifier of
artifacts? I say that because the only things I saw through the web as or
based on the maven-jar-plugin or on war plugin which I don't remember the
name.
Maybe http://mojo.codehaus.org/build-helper-maven-plugin/usage.html can be
used with attach-artifact?

Regards,
Cedric,

On Thu, Nov 6, 2008 at 7:19 PM, Brett Porter &lt;brett@apache.org&gt; wrote:

&gt; Yes, you should use classifiers, so the POM you have looks fine (and there
&gt; need be just one). If you are building with NMaven yourself, we need to make
&gt; sure the compiler plugin supports adding classifiers.
&gt;
&gt; Profiles shouldn't be needed. If the dependencies differ between them, it
&gt; might be a problem.
&gt;
&gt; Is it required to have different versions for each framework? How do they
&gt; differ exactly?
&gt;
&gt; Cheers,
&gt; Brett
&gt;
&gt;
&gt; On 05/11/2008, at 10:36 AM, Mimil Mimil wrote:
&gt;
&gt;  Hello,
&gt;&gt;
&gt;&gt; I am trying to make nmaven artifacts using dll binaries but I would like
&gt;&gt; to
&gt;&gt; define the dependencies of this dll.
&gt;&gt; In the case of log4net I am currently trying to make I want to make
&gt;&gt; artifacts for each dotnet environments (dotnet 2.0, dotnet 1.1, mono ...)
&gt;&gt; and I think it should be handled using classifiers.
&gt;&gt;
&gt;&gt; As for now I think we have to use profiles to define each environemnt
&gt;&gt; artifacts, by the way I don't know how to use these profiles to make
&gt;&gt; classifiers.
&gt;&gt;
&gt;&gt; Here is my current pom with net-1.2 profile and its dependencies:
&gt;&gt;
&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;
&gt;&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;&gt;        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;&gt;   &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;&gt;   &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;&gt;   &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;&gt;   &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;&gt;   &lt;description&gt;log4net is a tool to help the programmer output log
&gt;&gt;&gt; statements to a variety of output targets.
&gt;&gt;&gt;   &lt;/description&gt;
&gt;&gt;&gt;   &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;&gt;&gt;   &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   &lt;licenses&gt;
&gt;&gt;&gt;       &lt;license&gt;
&gt;&gt;&gt;           &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;&gt;           &lt;url&gt;
&gt;&gt;&gt;               http://logging.apache.org/log4net/license.html
&gt;&gt;&gt;           &lt;/url&gt;
&gt;&gt;&gt;       &lt;/license&gt;
&gt;&gt;&gt;   &lt;/licenses&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   &lt;build&gt;
&gt;&gt;&gt;       &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;&gt;       &lt;!-- To define the plugin version in your parent POM --&gt;
&gt;&gt;&gt;           &lt;pluginManagement&gt;
&gt;&gt;&gt;             &lt;plugins&gt;
&gt;&gt;&gt;               &lt;plugin&gt;
&gt;&gt;&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;                 &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;                 &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;               &lt;/plugin&gt;
&gt;&gt;&gt;             &lt;/plugins&gt;
&gt;&gt;&gt;           &lt;/pluginManagement&gt;
&gt;&gt;&gt;           &lt;!-- To use the plugin goals in your POM or parent POM --&gt;
&gt;&gt;&gt;           &lt;plugins&gt;
&gt;&gt;&gt;             &lt;plugin&gt;
&gt;&gt;&gt;               &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;&gt;               &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;&gt;               &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;&gt;           &lt;/plugins&gt;
&gt;&gt;&gt;   &lt;/build&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   &lt;profiles&gt;
&gt;&gt;&gt;       &lt;profile&gt;
&gt;&gt;&gt;           &lt;id&gt;net-2.0&lt;/id&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;           &lt;dependencies&gt;
&gt;&gt;&gt;               &lt;dependency&gt;
&gt;&gt;&gt;                   &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;&gt;&gt;                   &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;&gt;&gt;                   &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;                   &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;                   &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;                   &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll&lt;/systemPath&gt;
&gt;&gt;&gt;               &lt;/dependency&gt;
&gt;&gt;&gt;               &lt;dependency&gt;
&gt;&gt;&gt;                   &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;&gt;&gt;                   &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;&gt;&gt;                   &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;&gt;                   &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;&gt;                   &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;&gt;                   &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;/systemPath&gt;
&gt;&gt;&gt;               &lt;/dependency&gt;
&gt;&gt;&gt;           &lt;/dependencies&gt;
&gt;&gt;&gt;       &lt;/profile&gt;
&gt;&gt;&gt;   &lt;/profiles&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;/project&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt; Another way to do it is to have a pom by environment and insert the
&gt;&gt; classifier name inside the versionId. I remember something about versionId
&gt;&gt; that must be w.x.y.z, will it be a problem?
&gt;&gt;
&gt;&gt; I thought to use repository:bundle-pack for the installation in
&gt;&gt; repositories
&gt;&gt; but I don't know if I have to use this or just a mvn deploy:deploy-file
&gt;&gt; or...
&gt;&gt;
&gt;&gt; Any help welcome. I think it will help a lot to have more nmaven artifacts
&gt;&gt; to have such a thing clear (and documented somewhere).
&gt;&gt; Thanks,
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt; Cédric,
&gt;&gt;
&gt;
&gt; --
&gt; Brett Porter
&gt; brett@apache.org
&gt; http://blogs.exist.com/bporter/
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: central repository for NMaven artifacts</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cD880A23B-D77A-4E1C-A8ED-A71373D7EFB6@apache.org%3e"/>
<id>urn:uuid:%3cD880A23B-D77A-4E1C-A8ED-A71373D7EFB6@apache-org%3e</id>
<updated>2008-11-06T20:51:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
This is a reasonable point - though perhaps something we can deal with  
at a later point since at the moment there is an overlap, and the  
benefit of not needing to configure an additional repository in every  
POM is a big one.

- Brett

On 28/10/2008, at 7:25 AM, Mimil wrote:

&gt;
&gt; Hi,
&gt;
&gt; Concerning the repository location I think that having a dedicated
&gt; repository by language (imagine that maven can be used for any  
&gt; programming
&gt; language) is a good idea because of the following points:
&gt;
&gt; - it allows to see what is really available for the language you are  
&gt; using
&gt; - maybe the maintainers of these repositories will be different ...
&gt;
&gt; Regards,
&gt; Cedric,
&gt;
&gt;
&gt; -----
&gt; May the Moo force be with you,
&gt; Said Mimil
&gt; -- 
&gt; View this message in context: http://www.nabble.com/central-repository-for-NMaven-artifacts-tp19987877p20206236.html
&gt; Sent from the nmaven-dev mailing list archive at Nabble.com.
&gt;

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: central repository for NMaven artifacts</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3c0207BBBF-2B07-4603-B5F0-FA08F69EFA54@apache.org%3e"/>
<id>urn:uuid:%3c0207BBBF-2B07-4603-B5F0-FA08F69EFA54@apache-org%3e</id>
<updated>2008-11-06T20:50:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Good point.

Any other opinions on this? Either way, nunit is going to be an anomaly.

- Brett

On 31/10/2008, at 10:27 PM, Wendy Smoak wrote:

&gt; On Thu, Oct 16, 2008 at 12:06 AM, Brett Porter &lt;brett@apache.org&gt;  
&gt; wrote:
&gt;&gt; What I'm led to believe is that CamelCase is the convention for  
&gt;&gt; artifacts,
&gt;&gt; and that NUnit might be an exception. For that reason, I have
&gt;&gt; &lt;finalName&gt;nunit.framework&lt;/finalName&gt; in the POM rather than break 

&gt;&gt; the
&gt;&gt; convention on the artifact ID.
&gt;&gt;
&gt;&gt; Is everyone ok with:
&gt;&gt; * CamelCase as the convention for artifact IDs
&gt;&gt; * using finalName for NUnit rather than changing the artifact ID
&gt;&gt; * selection of (b) below
&gt;
&gt; I think we should respect the name of the artifact as shipped by NUnit
&gt; (and installed into the GAC by the NUnit installer).  Otherwise when
&gt; NMaven tries to import a project and searches the repository based on
&gt; the reference in the project file, it isn't going to find a match.
&gt;
&gt; In Java most things are lowercase-with-dashes, but a few artifacts
&gt; like UMLGraph aren't.
&gt;
&gt; -- 
&gt; Wendy

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Doc generation plugin</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cE2197CB0-4696-49BD-8A59-B788C4D75185@apache.org%3e"/>
<id>urn:uuid:%3cE2197CB0-4696-49BD-8A59-B788C4D75185@apache-org%3e</id>
<updated>2008-11-06T20:47:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The usual pattern would be to create a plugin for both so that users  
can choose. We don't need to bless particular pieces of software.

If there is significant overlap between the plugins, factoring it into  
a common component, or having one plugin that can exec both, is a  
possibility too.

- Brett

On 31/10/2008, at 5:51 AM, Mimil Mimil wrote:

&gt; Hello,
&gt;
&gt; I wonder if the API documentation generation plugin should not be  
&gt; based on
&gt; monodoc (http://www.mono-project.com/Monodoc). In reference to the  
&gt; jira
&gt; issue http://jira.codehaus.org/browse/NMAVEN-68.
&gt;
&gt; monodoc is at least available on every OS which is maybe less the  
&gt; case for
&gt; Sandcastle Help File Builder (it also sounds to require a lot of other
&gt; tools).
&gt;
&gt; What do you think about this?
&gt;
&gt; PS: I personaly don't know anything on monodoc and neither sandcastle.
&gt;
&gt; Regards,
&gt; Cedric,

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cA4B6FEC8-AC5D-487D-8407-83EA478B1569@apache.org%3e"/>
<id>urn:uuid:%3cA4B6FEC8-AC5D-487D-8407-83EA478B1569@apache-org%3e</id>
<updated>2008-11-06T18:19:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes, you should use classifiers, so the POM you have looks fine (and  
there need be just one). If you are building with NMaven yourself, we  
need to make sure the compiler plugin supports adding classifiers.

Profiles shouldn't be needed. If the dependencies differ between them,  
it might be a problem.

Is it required to have different versions for each framework? How do  
they differ exactly?

Cheers,
Brett

On 05/11/2008, at 10:36 AM, Mimil Mimil wrote:

&gt; Hello,
&gt;
&gt; I am trying to make nmaven artifacts using dll binaries but I would  
&gt; like to
&gt; define the dependencies of this dll.
&gt; In the case of log4net I am currently trying to make I want to make
&gt; artifacts for each dotnet environments (dotnet 2.0, dotnet 1.1,  
&gt; mono ...)
&gt; and I think it should be handled using classifiers.
&gt;
&gt; As for now I think we have to use profiles to define each environemnt
&gt; artifacts, by the way I don't know how to use these profiles to make
&gt; classifiers.
&gt;
&gt; Here is my current pom with net-1.2 profile and its dependencies:
&gt;
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;
&gt;&gt;    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;    &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;&gt;    &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;&gt;    &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;    &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;&gt;    &lt;description&gt;log4net is a tool to help the programmer output log
&gt;&gt; statements to a variety of output targets.
&gt;&gt;    &lt;/description&gt;
&gt;&gt;    &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;&gt;    &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;    &lt;licenses&gt;
&gt;&gt;        &lt;license&gt;
&gt;&gt;            &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;&gt;            &lt;url&gt;
&gt;&gt;                http://logging.apache.org/log4net/license.html
&gt;&gt;            &lt;/url&gt;
&gt;&gt;        &lt;/license&gt;
&gt;&gt;    &lt;/licenses&gt;
&gt;&gt;
&gt;&gt;    &lt;build&gt;
&gt;&gt;        &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;&gt;        &lt;!-- To define the plugin version in your parent POM --&gt;
&gt;&gt;            &lt;pluginManagement&gt;
&gt;&gt;              &lt;plugins&gt;
&gt;&gt;                &lt;plugin&gt;
&gt;&gt;                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;                  &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;                  &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;                &lt;/plugin&gt;
&gt;&gt;              &lt;/plugins&gt;
&gt;&gt;            &lt;/pluginManagement&gt;
&gt;&gt;            &lt;!-- To use the plugin goals in your POM or parent POM --&gt;
&gt;&gt;            &lt;plugins&gt;
&gt;&gt;              &lt;plugin&gt;
&gt;&gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;                &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;&gt;                &lt;version&gt;2.1&lt;/version&gt;
&gt;&gt;              &lt;/plugin&gt;
&gt;&gt;            &lt;/plugins&gt;
&gt;&gt;    &lt;/build&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;    &lt;profiles&gt;
&gt;&gt;        &lt;profile&gt;
&gt;&gt;            &lt;id&gt;net-2.0&lt;/id&gt;
&gt;&gt;
&gt;&gt;            &lt;dependencies&gt;
&gt;&gt;                &lt;dependency&gt;
&gt;&gt;                    &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;&gt;                    &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;&gt;                    &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;                    &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;                    &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;                    &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;&gt;
&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/2.0.0.0__b77a5c561934e089/ 
&gt;&gt; System.Data.dll&lt;/systemPath&gt;
&gt;&gt;                &lt;/dependency&gt;
&gt;&gt;                &lt;dependency&gt;
&gt;&gt;                    &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;&gt;                    &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;&gt;                    &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;&gt;                    &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;&gt;                    &lt;scope&gt;system&lt;/scope&gt;
&gt;&gt;                    &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;&gt;
&gt;&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/2.0.0.0__b03f5f7f11d50a3a/ 
&gt;&gt; System.Web.dll&lt;/systemPath&gt;
&gt;&gt;                &lt;/dependency&gt;
&gt;&gt;            &lt;/dependencies&gt;
&gt;&gt;        &lt;/profile&gt;
&gt;&gt;    &lt;/profiles&gt;
&gt;&gt;
&gt;&gt; &lt;/project&gt;
&gt;&gt;
&gt;
&gt; Another way to do it is to have a pom by environment and insert the
&gt; classifier name inside the versionId. I remember something about  
&gt; versionId
&gt; that must be w.x.y.z, will it be a problem?
&gt;
&gt; I thought to use repository:bundle-pack for the installation in  
&gt; repositories
&gt; but I don't know if I have to use this or just a mvn deploy:deploy- 
&gt; file
&gt; or...
&gt;
&gt; Any help welcome. I think it will help a lot to have more nmaven  
&gt; artifacts
&gt; to have such a thing clear (and documented somewhere).
&gt; Thanks,
&gt;
&gt; Regards,
&gt; Cédric,

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to make manual artifacts using classifiers</title>
<author><name>&quot;Shane Isbell&quot; &lt;shane.isbell@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cf7743e090811051914v698f36c8va60c251dbe592530@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf7743e090811051914v698f36c8va60c251dbe592530@mail-gmail-com%3e</id>
<updated>2008-11-06T03:14:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Wed, Nov 5, 2008 at 8:36 AM, Mimil Mimil &lt;mimilowns@gmail.com&gt; wrote:

&gt;
&gt; Another way to do it is to have a pom by environment and insert the
&gt; classifier name inside the versionId. I remember something about versionId
&gt; that must be w.x.y.z, will it be a problem?

You need to use w.x.y.z, but may append it with anything after a hyphen. For
example. 2.0.0.0-SNAPSHOT or 1.3-alpha1 are both okay to use.

&gt;
&gt;
&gt; I thought to use repository:bundle-pack for the installation in
&gt; repositories
&gt; but I don't know if I have to use this or just a mvn deploy:deploy-file
&gt; or...

mvn deploy will work fine.

Thanks,
Shane


</pre>
</div>
</content>
</entry>
<entry>
<title>How to make manual artifacts using classifiers</title>
<author><name>&quot;Mimil Mimil&quot; &lt;mimilowns@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3caf7433920811050836r52d4d27bt9ccf3656c496fa1d@mail.gmail.com%3e"/>
<id>urn:uuid:%3caf7433920811050836r52d4d27bt9ccf3656c496fa1d@mail-gmail-com%3e</id>
<updated>2008-11-05T16:36:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I am trying to make nmaven artifacts using dll binaries but I would like to
define the dependencies of this dll.
In the case of log4net I am currently trying to make I want to make
artifacts for each dotnet environments (dotnet 2.0, dotnet 1.1, mono ...)
and I think it should be handled using classifiers.

As for now I think we have to use profiles to define each environemnt
artifacts, by the way I don't know how to use these profiles to make
classifiers.

Here is my current pom with net-1.2 profile and its dependencies:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;
&gt;     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;     &lt;groupId&gt;log4net&lt;/groupId&gt;
&gt;     &lt;artifactId&gt;log4net&lt;/artifactId&gt;
&gt;     &lt;version&gt;1.2.10.0-SNAPSHOT&lt;/version&gt;
&gt;     &lt;name&gt;Log for .Net&lt;/name&gt;
&gt;     &lt;description&gt;log4net is a tool to help the programmer output log
&gt; statements to a variety of output targets.
&gt;     &lt;/description&gt;
&gt;     &lt;url&gt;http://www.xml-rpc.net/&lt;/url&gt;
&gt;     &lt;packaging&gt;dotnet:library&lt;/packaging&gt;
&gt;
&gt;
&gt;     &lt;licenses&gt;
&gt;         &lt;license&gt;
&gt;             &lt;name&gt;The Apache2 License&lt;/name&gt;
&gt;             &lt;url&gt;
&gt;                 http://logging.apache.org/log4net/license.html
&gt;             &lt;/url&gt;
&gt;         &lt;/license&gt;
&gt;     &lt;/licenses&gt;
&gt;
&gt;     &lt;build&gt;
&gt;         &lt;finalName&gt;log4net&lt;/finalName&gt;
&gt;         &lt;!-- To define the plugin version in your parent POM --&gt;
&gt;             &lt;pluginManagement&gt;
&gt;               &lt;plugins&gt;
&gt;                 &lt;plugin&gt;
&gt;                   &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                   &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;                   &lt;version&gt;2.1&lt;/version&gt;
&gt;                 &lt;/plugin&gt;
&gt;               &lt;/plugins&gt;
&gt;             &lt;/pluginManagement&gt;
&gt;             &lt;!-- To use the plugin goals in your POM or parent POM --&gt;
&gt;             &lt;plugins&gt;
&gt;               &lt;plugin&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;maven-repository-plugin&lt;/artifactId&gt;
&gt;                 &lt;version&gt;2.1&lt;/version&gt;
&gt;               &lt;/plugin&gt;
&gt;             &lt;/plugins&gt;
&gt;     &lt;/build&gt;
&gt;
&gt;
&gt;     &lt;profiles&gt;
&gt;         &lt;profile&gt;
&gt;             &lt;id&gt;net-2.0&lt;/id&gt;
&gt;
&gt;             &lt;dependencies&gt;
&gt;                 &lt;dependency&gt;
&gt;                     &lt;groupId&gt;System.Data&lt;/groupId&gt;
&gt;                     &lt;artifactId&gt;System.Data&lt;/artifactId&gt;
&gt;                     &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;                     &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;                     &lt;scope&gt;system&lt;/scope&gt;
&gt;                     &lt;classifier&gt;b77a5c561934e089&lt;/classifier&gt;
&gt;
&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll&lt;/systemPath&gt;
&gt;                 &lt;/dependency&gt;
&gt;                 &lt;dependency&gt;
&gt;                     &lt;groupId&gt;System.Web&lt;/groupId&gt;
&gt;                     &lt;artifactId&gt;System.Web&lt;/artifactId&gt;
&gt;                     &lt;version&gt;2.0.0.0&lt;/version&gt;
&gt;                     &lt;type&gt;dotnet:gac&lt;/type&gt;
&gt;                     &lt;scope&gt;system&lt;/scope&gt;
&gt;                     &lt;classifier&gt;b03f5f7f11d50a3a&lt;/classifier&gt;
&gt;
&gt; &lt;systemPath&gt;${env.GAC_ROOT}/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;/systemPath&gt;
&gt;                 &lt;/dependency&gt;
&gt;             &lt;/dependencies&gt;
&gt;         &lt;/profile&gt;
&gt;     &lt;/profiles&gt;
&gt;
&gt; &lt;/project&gt;
&gt;

Another way to do it is to have a pom by environment and insert the
classifier name inside the versionId. I remember something about versionId
that must be w.x.y.z, will it be a problem?

I thought to use repository:bundle-pack for the installation in repositories
but I don't know if I have to use this or just a mvn deploy:deploy-file
or...

Any help welcome. I think it will help a lot to have more nmaven artifacts
to have such a thing clear (and documented somewhere).
Thanks,

Regards,
Cédric,


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: central repository for NMaven artifacts</title>
<author><name>&quot;Wendy Smoak&quot; &lt;wsmoak@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200811.mbox/%3cadba96190810312027o2f577950xeb1c43f244cd12db@mail.gmail.com%3e"/>
<id>urn:uuid:%3cadba96190810312027o2f577950xeb1c43f244cd12db@mail-gmail-com%3e</id>
<updated>2008-11-01T03:27:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Thu, Oct 16, 2008 at 12:06 AM, Brett Porter &lt;brett@apache.org&gt; wrote:
&gt; What I'm led to believe is that CamelCase is the convention for artifacts,
&gt; and that NUnit might be an exception. For that reason, I have
&gt; &lt;finalName&gt;nunit.framework&lt;/finalName&gt; in the POM rather than break the
&gt; convention on the artifact ID.
&gt;
&gt; Is everyone ok with:
&gt; * CamelCase as the convention for artifact IDs
&gt; * using finalName for NUnit rather than changing the artifact ID
&gt; * selection of (b) below

I think we should respect the name of the artifact as shipped by NUnit
(and installed into the GAC by the NUnit installer).  Otherwise when
NMaven tries to import a project and searches the repository based on
the reference in the project file, it isn't going to find a match.

In Java most things are lowercase-with-dashes, but a few artifacts
like UMLGraph aren't.

-- 
Wendy


</pre>
</div>
</content>
</entry>
<entry>
<title>Doc generation plugin</title>
<author><name>&quot;Mimil Mimil&quot; &lt;mimilowns@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200810.mbox/%3caf7433920810310351w44cb6399o2da7acb92bcb4e8d@mail.gmail.com%3e"/>
<id>urn:uuid:%3caf7433920810310351w44cb6399o2da7acb92bcb4e8d@mail-gmail-com%3e</id>
<updated>2008-10-31T10:51:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I wonder if the API documentation generation plugin should not be based on
monodoc (http://www.mono-project.com/Monodoc). In reference to the jira
issue http://jira.codehaus.org/browse/NMAVEN-68.

monodoc is at least available on every OS which is maybe less the case for
Sandcastle Help File Builder (it also sounds to require a lot of other
tools).

What do you think about this?

PS: I personaly don't know anything on monodoc and neither sandcastle.

Regards,
Cedric,


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: central repository for NMaven artifacts</title>
<author><name>Mimil &lt;mimil@users.sourceforge.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200810.mbox/%3c20206236.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c20206236-post@talk-nabble-com%3e</id>
<updated>2008-10-28T12:25:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

Concerning the repository location I think that having a dedicated
repository by language (imagine that maven can be used for any programming
language) is a good idea because of the following points:

- it allows to see what is really available for the language you are using
- maybe the maintainers of these repositories will be different ...

Regards,
Cedric,


-----
May the Moo force be with you,
Said Mimil
-- 
View this message in context: http://www.nabble.com/central-repository-for-NMaven-artifacts-tp19987877p20206236.html
Sent from the nmaven-dev mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: NMaven @ ApacheCon US</title>
<author><name>&quot;Carlos Sanchez&quot; &lt;carlos@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200810.mbox/%3c1a5b6c410810211748k514a32e6iad520c3feaf9f987@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1a5b6c410810211748k514a32e6iad520c3feaf9f987@mail-gmail-com%3e</id>
<updated>2008-10-22T00:48:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'll be there

On Tue, Oct 21, 2008 at 5:43 PM, Brett Porter &lt;brett@apache.org&gt; wrote:
&gt; Hi,
&gt;
&gt; I've given a "fast feather" talk at two previous ApacheCon's, and so I
&gt; applied for the same again this year. These are just 15 minute talks to try
&gt; and gather interest in projects. It got scheduled for Wed 5pm - I've asked
&gt; for it to be moved earlier, but no word yet.
&gt;
&gt; Here is the short description:
&gt;
&gt;&gt; "All About NMaven: .NET support for Apache Maven"
&gt;&gt;
&gt;&gt; * What it is
&gt;&gt; * How it works
&gt;&gt; * .NET challenges
&gt;&gt; * Latest News - What's next
&gt;&gt; * Where Help is Wanted
&gt;
&gt;
&gt; Any other thoughts? Who here will be at the conference?
&gt;
&gt; Cheers,
&gt; Brett
&gt;
&gt; --
&gt; Brett Porter
&gt; brett@apache.org
&gt; http://blogs.exist.com/bporter/
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>NMaven @ ApacheCon US</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200810.mbox/%3c6B69D4A3-EA38-4CFA-A45E-EC9C9673A144@apache.org%3e"/>
<id>urn:uuid:%3c6B69D4A3-EA38-4CFA-A45E-EC9C9673A144@apache-org%3e</id>
<updated>2008-10-22T00:43:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I've given a "fast feather" talk at two previous ApacheCon's, and so I  
applied for the same again this year. These are just 15 minute talks  
to try and gather interest in projects. It got scheduled for Wed 5pm -  
I've asked for it to be moved earlier, but no word yet.

Here is the short description:

&gt; "All About NMaven: .NET support for Apache Maven"
&gt;
&gt; * What it is
&gt; * How it works
&gt; * .NET challenges
&gt; * Latest News - What's next
&gt; * Where Help is Wanted


Any other thoughts? Who here will be at the conference?

Cheers,
Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: pdb files</title>
<author><name>James Carpenter &lt;jcarpenter621@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200810.mbox/%3cA2343CA9-C03E-4A2C-B55C-B99E57EBC2AB@yahoo.com%3e"/>
<id>urn:uuid:%3cA2343CA9-C03E-4A2C-B55C-B99E57EBC2AB@yahoo-com%3e</id>
<updated>2008-10-20T00:03:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The pdbcopy command (http://msdn.microsoft.com/en-us/library/cc501198.aspx 
) can apparently be used to strip a private PDB down to a public one.   
If both were needed you could always have csc generate a full version,  
and then have a simple pdbcopy plugin produce the public version.  Of  
course, you wouldn't even really need a pdbcopy plugin as the exec  
plugin could do the trick.  It simply might be a tad cleaner to have a  
pdbcopy plugin.

I expect most readers already knew this, I simply failed to mention it  
in the earlier post.

On Oct 19, 2008, at 9:00 AM, Brett Porter wrote:

&gt;
&gt; On 19/10/2008, at 2:38 PM, James Carpenter wrote:
&gt;
&gt;&gt; I think what really needs to happen is proper support for multiple  
&gt;&gt; compilation settings (Think release and debug builds.).  I believe  
&gt;&gt; there is already a JIRA issue for this.  I haven't really thought  
&gt;&gt; this out, but I think the compiler plugin should be configurable to  
&gt;&gt; create multiple compilation artifacts with different option values  
&gt;&gt; and an associated classifier for each.   Secondary artifacts like  
&gt;&gt; PDB files would of course just be attached artifacts with an  
&gt;&gt; appropriate classifier.
&gt;&gt;
&gt;&gt; It is worth nothing, that PDB files can apparently be configured to  
&gt;&gt; have more or less information.  So called "private" PDB files have  
&gt;&gt; a lot more details than "public" PDB files.  Public PDB files  
&gt;&gt; contain a subset of the information in a private PDB.  The  
&gt;&gt; information in a private PDB is apparently sufficiently detailed to  
&gt;&gt; make reverse engineering/decompiling code much easier.  When a  
&gt;&gt; company releases a closed source library they will often release  
&gt;&gt; public PDB files along with the library, but will keep private PDB  
&gt;&gt; files for internal use.  To further complicate things, I believe I  
&gt;&gt; read one can configure private PDB files to have less information  
&gt;&gt; than a typical PDB file but more than a public PDB file.  Each of  
&gt;&gt; these would likely need to correlate with their own classifier.
&gt;&gt;
&gt;&gt; None of the above is really all that tricky.
&gt;
&gt; Yep, it sounds about right to me.
&gt;
&gt;&gt; The really tricky part will be how to deal with dependencies when  
&gt;&gt; compiling, running unit tests, running the assembly plugin, etc.   
&gt;&gt; It seems dependencies should have an implicit classifier based on  
&gt;&gt; context.  When a release assembly/dll is being built, maven should  
&gt;&gt; probably use release versions of the dependencies (implicit release  
&gt;&gt; classifier).  When a debug assembly is being built, maven should  
&gt;&gt; probably use debug versions of the project's dependencies.  This is  
&gt;&gt; to say, the implicit classifier of the dependencies should  
&gt;&gt; correspond to the classifier associated with the compiler plugin  
&gt;&gt; configuration being built.  By using the appropriate command line  
&gt;&gt; options it should be possible to concurrently build as many of  
&gt;&gt; these different assembly types as desired.  (Would this just be  
&gt;&gt; different compiler plugin execution configurations?)
&gt;
&gt; Yes, I think it would be dangerous for nmaven to start to inventing  
&gt; solutions to things that belong in maven proper - having been down  
&gt; that road before and seen the problems it leads to.
&gt;
&gt; Generally, Maven just builds one thing at a time (so there is a  
&gt; normal build, then a release profile, and maybe some other profile  
&gt; for other scenarios). In this case, it seems you might default to  
&gt; everything off, but then some may enable a full debug PDB in the  
&gt; normal builds, and in release turn that off and publish a public PDB  
&gt; instead.
&gt;
&gt; If for any reason this requires multiple compilations you could add  
&gt; extra executions, but that sounds odd - you should be able to get  
&gt; the right set of options for your scenario and then package as  
&gt; appropriate, and configure differently in different profiles for  
&gt; different scenarios.
&gt;
&gt; I believe this works out better for unit tests as well. Assembly  
&gt; plugin generally takes what you tell it so should work in most  
&gt; situations.
&gt;
&gt; What you might want is to start flipping classifiers - debug info  
&gt; builds add debug info for dependencies, and so on. This is a missing  
&gt; capability in Maven right now (the corresponding Java use case is  
&gt; the jdk14/15 builds that have jdk14/15 dependenceis). It's a  
&gt; limitation in the classifier in that it does actually affect the  
&gt; metadata, though at present it is considered not to.
&gt;
&gt;&gt; I think nmaven is already using its own dependency resolver, so  
&gt;&gt; everything should be quite tractable, but it may be a bit tricky to  
&gt;&gt; sort out.  If I was to attack it I would probably just have to  
&gt;&gt; evolve the code until it smelled right.  I don't think I would be  
&gt;&gt; able to see all the way to the end solution when I started.
&gt;
&gt; In trunk, nmaven uses the standard dependency resolver.
&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; When building Java code maven doesn't really have to deal with any  
&gt;&gt; of this sticky mess.  It might be instructive to see how other non- 
&gt;&gt; Java (C++?) related plugins are handling this.
&gt;
&gt; There's a few different ways, but you're right - some of the  
&gt; problems are similar.
&gt;
&gt; Thanks!
&gt;
&gt; Cheers,
&gt; Brett
&gt;
&gt; --
&gt; Brett Porter
&gt; brett@apache.org
&gt; http://blogs.exist.com/bporter/
&gt;

Sincerely,
James Carpenter
cell: 832-677-7247
email: jcarpenter621@yahoo.com





</pre>
</div>
</content>
</entry>
<entry>
<title>Re: pdb files</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/incubator-nmaven-dev/200810.mbox/%3cE229CDA0-1A5F-4269-9A79-D66B555AB0AD@apache.org%3e"/>
<id>urn:uuid:%3cE229CDA0-1A5F-4269-9A79-D66B555AB0AD@apache-org%3e</id>
<updated>2008-10-19T14:00:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On 19/10/2008, at 2:38 PM, James Carpenter wrote:

&gt; I think what really needs to happen is proper support for multiple  
&gt; compilation settings (Think release and debug builds.).  I believe  
&gt; there is already a JIRA issue for this.  I haven't really thought  
&gt; this out, but I think the compiler plugin should be configurable to  
&gt; create multiple compilation artifacts with different option values  
&gt; and an associated classifier for each.   Secondary artifacts like  
&gt; PDB files would of course just be attached artifacts with an  
&gt; appropriate classifier.
&gt;
&gt; It is worth nothing, that PDB files can apparently be configured to  
&gt; have more or less information.  So called "private" PDB files have a  
&gt; lot more details than "public" PDB files.  Public PDB files contain  
&gt; a subset of the information in a private PDB.  The information in a  
&gt; private PDB is apparently sufficiently detailed to make reverse  
&gt; engineering/decompiling code much easier.  When a company releases a  
&gt; closed source library they will often release public PDB files along  
&gt; with the library, but will keep private PDB files for internal use.   
&gt; To further complicate things, I believe I read one can configure  
&gt; private PDB files to have less information than a typical PDB file  
&gt; but more than a public PDB file.  Each of these would likely need to  
&gt; correlate with their own classifier.
&gt;
&gt; None of the above is really all that tricky.

Yep, it sounds about right to me.

&gt; The really tricky part will be how to deal with dependencies when  
&gt; compiling, running unit tests, running the assembly plugin, etc.  It  
&gt; seems dependencies should have an implicit classifier based on  
&gt; context.  When a release assembly/dll is being built, maven should  
&gt; probably use release versions of the dependencies (implicit release  
&gt; classifier).  When a debug assembly is being built, maven should  
&gt; probably use debug versions of the project's dependencies.  This is  
&gt; to say, the implicit classifier of the dependencies should  
&gt; correspond to the classifier associated with the compiler plugin  
&gt; configuration being built.  By using the appropriate command line  
&gt; options it should be possible to concurrently build as many of these  
&gt; different assembly types as desired.  (Would this just be different  
&gt; compiler plugin execution configurations?)

Yes, I think it would be dangerous for nmaven to start to inventing  
solutions to things that belong in maven proper - having been down  
that road before and seen the problems it leads to.

Generally, Maven just builds one thing at a time (so there is a normal  
build, then a release profile, and maybe some other profile for other  
scenarios). In this case, it seems you might default to everything  
off, but then some may enable a full debug PDB in the normal builds,  
and in release turn that off and publish a public PDB instead.

If for any reason this requires multiple compilations you could add  
extra executions, but that sounds odd - you should be able to get the  
right set of options for your scenario and then package as  
appropriate, and configure differently in different profiles for  
different scenarios.

I believe this works out better for unit tests as well. Assembly  
plugin generally takes what you tell it so should work in most  
situations.

What you might want is to start flipping classifiers - debug info  
builds add debug info for dependencies, and so on. This is a missing  
capability in Maven right now (the corresponding Java use case is the  
jdk14/15 builds that have jdk14/15 dependenceis). It's a limitation in  
the classifier in that it does actually affect the metadata, though at  
present it is considered not to.

&gt; I think nmaven is already using its own dependency resolver, so  
&gt; everything should be quite tractable, but it may be a bit tricky to  
&gt; sort out.  If I was to attack it I would probably just have to  
&gt; evolve the code until it smelled right.  I don't think I would be  
&gt; able to see all the way to the end solution when I started.

In trunk, nmaven uses the standard dependency resolver.

&gt;
&gt;
&gt; When building Java code maven doesn't really have to deal with any  
&gt; of this sticky mess.  It might be instructive to see how other non- 
&gt; Java (C++?) related plugins are handling this.

There's a few different ways, but you're right - some of the problems  
are similar.

Thanks!

Cheers,
Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
</feed>
