Tree isn't another repo. This is the only one available.

The argoprint pom should be similar to the argouml-actionscript3 pom that I
have created to test this also for projects that are not part of the core
argouml project.

I guess you have encountered a peculiarity of how the repository is
maintained and developed. The java web start script actually compares the
jars against a previous version and if it is exactly the same, it does not
add it to the repository. This means that for the argouml-model jar that was
not changed between the 0.32 and the 0.32.1 version there doesn't exist any
0.32.1 version.

The list of what jars that are used in each version of java web start can be
found by examining the jnlp file. For 0.32.1 have a look at
http://argouml-downloads.tigris.org/source/browse/*checkout*/argouml-downloads/trunk/www/jws/argouml-0.32.1.jnlp?revision=347&content-type=text/plain
.

I assumed that maven does not require all versions of all jars because that
seemed reasonable and because it was the simplest thing to do since it was
implemented that way in the script for java web start to save disk space and
bandwidth. But, as I mentioned earlier, I have not understood how versions
are to be handled in maven so it might be wrong. Please let me know if I
need to update the way the jars are stored.

You can examine the pom of the argouml-actionscript3 project at
http://argouml-actionscript3.tigris.org/source/browse/*checkout*/argouml-actionscript3/trunk/pom.xml?revision=32&content-type=text/plain.
Looking at it I notice that I have probably not published the parentpom
properly. This is another consequence of my poor knowledge of maven.

        /Linus



2011/3/7 Mark Fortner <[email protected]>

> Hi Linus,
> I created a pom for ArgoPrint, and added the dependencies for the external
> libraries and used: http://argouml-downloads.tigris.org/maven2
> as the Maven repo. It's able to resolve the 3rd party libraries; however,
> it doesn't resolve any of the ArgoUML modules like core.  Here's a snippet
> from the pom showing the dependency:
>
> <dependency>
> <groupId>org.argouml</groupId>
> <artifactId>argouml-model</artifactId>
>  <version>0.32.1</version>
> </dependency>
>
> Is there another repo I should be using?
>
> Mark
>
>
> On Tue, Mar 1, 2011 at 9:22 AM, Mark Fortner <[email protected]> wrote:
>
>> I was wondering if I could use Maven to build ArgoPrint.  It would help
>> insure that ArgoPrint has a standardized build, and would make dependency
>> management easier.  It would also make it easier to develop ArgoPrint
>> without having to download and maintain an ArgoUML project.
>>
>> I also noticed that the ArgoUML Installers project is using izpack.  If
>> you're using Maven to build your releases, then I'm sure you know about the
>> izpack mojo for Maven.  There's also a feature in izpack called web
>> installers
>> http://izpack.org/documentation/advanced-features.html#web-installers which
>> would make it easier for users to install ArgoUML modules.  I was wondering
>> if anyone was using this feature with regard to installing ArgoUML, and what
>> would need to be done to add ArgoPrint to the izpack installation?
>>
>> Mark
>>
>>
>> On Mon, Feb 28, 2011 at 9:52 PM, Linus Tolke Tigris <[email protected]>wrote:
>>
>>> Hello Mark!
>>>
>>> I have been experimenting with maven for the continuous build so parts of
>>> argouml is built automatically using maven. The central poms for this are in
>>> argouml/tools/maven.
>>> I still have the ambition to pursue this but there are other priorities
>>> also. I am stuck (or paused) at solve some strange errors in some test
>>> cases.
>>>
>>> The reason I attempt maven is that maven is well integrated with Hudson
>>> and this simplifies the tools maintenance problem for the nightly build. I
>>> still have a lot to learn about maven. For one thing, I haven't understood
>>> how you are supposed to update the version numbers.
>>>
>>> You can find the result of my attempts here
>>> http://closettop.homelinux.org:8080/job/maven-build/.
>>>
>>> The repository you are referring to was set up long before these
>>> attempts. The history of it was that when I made new scripts to prepare the
>>> java web start release we needed a repository layout. Because the maven2
>>> repository layout had just been published then and there were some talks
>>> about maven, we chose the maven2 repository layout and named the repository
>>> as such. Later on, we added the minimal poms in the tree and the script to
>>> create minimal poms for every new file published. I assume that the people
>>> wanting the minimal poms were in fact building or distributing argouml using
>>> maven but I am not sure. Anyway, this came in handy when I started the
>>> attempts with the continuous integration using maven.
>>>
>>>         /Linus
>>>
>>>
>>>
>>> 2011/3/1 Mark Fortner <[email protected]>
>>>
>>> I'm curious if anyone is using Maven to build ArgoUML?  I know there was
>>>> some discussion about it a while back on the list, but I haven't seen
>>>> anything more about it until I came across this:
>>>> http://argouml-downloads.tigris.org/maven2/
>>>>
>>>> Regards,
>>>>
>>>> Mark
>>>>
>>>
>>>
>>
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2710135

To unsubscribe from this discussion, e-mail: 
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: 
[[email protected]]

Reply via email to