Re: another eclipse multi module vs. flat question

2012-04-20 Thread Bracewell, Robert
Whatever strategy you opt for should be one that the team is comfortable
with and is willing to support. I'm a fan of the flat approach. I try to
keep modules as simple as possible this way builds fail fast with
immediate feedback to the team.

I use Maven in our environment to build out server, android (SDK and NDK)
and iOS related builds. A quick browse of our svn/git repo's shows 50+
flat modules all sharing the same parent. If it works for a developer in
eclipse/xcode but doesn't build from Maven the build is considered broken.

The downside to a flat approach is developers do have to import quite a
few modules as eclipse projects to get a working development environment
but they only need to bring in what they need for the areas they are
working on. However, for me the biggest gain is build reporting I can
select the modules that actually make up our products and focus on those
and not have to worry about all the non shipping related aspects that
would be present in a multi-module project.

--
Robert

On 4/20/12 12:36 PM, "Tim Dugan"  wrote:

>I'm new to maven and very much used to the "application per eclipse
>project, and common library per eclipse project".
>
>I know "multi module vs. flat"  has been discussed multiple times on this
>list, but I've not seen general "pros/cons, rules of thumb, etc."  of
>when an application should be part of a multi-module vs. split out to
>another eclipse project.
>
>I'm going under the assumption in the "maven way" it's OK to have
>multiple applications living as part of a multi-module, for example
>foo_webapp and cmd_line_client both dependant on lib_a
>
>MyMultiModuleProject
>->lib_a
>->foo_webapp
>->cmd_line_client
>
>But what decides that foo_webapp and cmd_line belong here, just their
>dependency on lib_a and the desire to share pom config & version them
>together?  For example, should a few new applications, also dependent on
>lib_a should live here?  When does it end?   Or perhaps if "lib_a" is
>expected to be widely reusable it should live outside the
>multi-module...or
>
>Any links to references greatly appreciated...
>
>Thanks for your input!
>Tim
>
>
>
>
>-
>To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Must the next parent SNAP exist for a downstream artifact release:perform to work ?

2012-04-20 Thread James Levinson
A little difficult to explain, but here goes:

We branch from trunk and then release our parent and core together
from SNAPs on our branches. For example,

    
        com.blifnok
        main-parent
        3.23.0-SNAPSHOT
    
    com.blifnok
    core
    jar
    3.23.0-SNAPSHOT

I cut the 3.23.0 release of main-parent, but the subsequent perform on
core fails with

Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
find parent: com.blifnok:main-parent for project:
com.blifnok:core:jar:3.23.1-SNAPSHOT for project
com.blifnok:core:jar:3.23.1-SNAPSHOT

The perform appears to be looking for the next development version,
instead of just building the 3.23.0 version of the artifact. Here are
the release.properties created by the prepare:

#release configuration
#Fri Apr 20 14:10:11 PDT 2012
dependency.com.blifnok\:main-parent.release=3.23.0
scm.tagNameFormat=@{project.artifactId}-@{project.version}
scm.tag=3.23.0
dependency.com.blifnok\:main-parent.development=3.23.1-SNAPSHOT
pushChanges=true
scm.url=scm\:svn\:file\:///opt/svnroot/main/core/branches/3.23.x
preparationGoals=clean verify
project.dev.com.blifnok\:core=3.23.1-SNAPSHOT
remoteTagging=true
scm.commentPrefix=[maven-release-plugin]
project.scm.com.blifnok\:core.tag=HEAD
project.rel.com.blifnok\:core=3.23.0
exec.additionalArguments=-DskipTests\=true -P nexus
exec.snapshotReleasePluginAllowed=false
project.scm.com.blifnok\:core.developerConnection=scm\:svn\:file\:///opt/svnroot/main/core/branches/3.23.x
completedPhase=end-release

Obviously, I can just build this SNAPSHOT, but why is the perform
trying to resolve the next parent development version? Is the phase
using "dependency.com.blifnok\:main-parent.development=3.23.1-SNAPSHOT"
instead of "dependency.com.blifnok\:main-parent.release=3.23.0" ? Or,
is it reading this from the pom that was changed by the prepare?
Perhaps, there is a convention or best practice I am unaware of OR
maybe a bug ?

Thanks

--

James Levinson

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: another eclipse multi module vs. flat question

2012-04-20 Thread Ron Wheeler

We build an LMS application with over 70 modules.

We make each project a separate Eclipse project with its own version,

Maven builds a number of artifacts for us.
- Libraries of common code that are used as dependencies in other projects
- War files that are run under Tomcat - WebServices and Webapps
- Standalone executable batch jobs
- Composite jar files that include third party jars grouped together for 
convenience. For example, our projects have a single dependency that 
includes Spring, MySQL, Hibernate and the Tomcat libraries that we use. 
We have about 8 of these.



All projects refer to the same parent pom.

This works well for us but there are  other schemes that work as well.

It makes it easy for multiple developers to work on an application since 
each module is independent.


We use a Nexus repository. Very important to have your own repo when 
working with Maven.


We use Subversion as our SCM.

We use the Springframework Eclipse/STS which comes with everything that 
you need to build Java apps with Maven.
We started with ordinary Eclipse but got too overwhelmed by the amount 
of time wasted everytime we upgraded.
STS comes with all the right versions of plug-ins that you need already 
included.



We do not use CI.

I hope that this helps.
If you want to browse through some random thoughts on things that we 
think that we know, visit http://blog.artifact-software.com/tech


Ron

On 20/04/2012 4:45 PM, Wayne Fay wrote:

But what decides that foo_webapp and cmd_line belong here, just their
dependency on lib_a and the desire to share pom config&  version them
together?  For example, should a few new applications, also dependent on
lib_a should live here?  When does it end?   Or perhaps if "lib_a" is
expected to be widely reusable it should live outside the
multi-module...or

This isn't really a Maven question. Instead you're asking about
general Software Engineering and Architecture, and you happen to be
using Maven as your build tool. If you were using Ant or make, would
your questions be any different?

I'm not aware of any guidelines published by Maven that will help you
decide when to make something a submodule of a project vs its own
top-level project. It is an interesting topic so maybe this thread
will prove useful to you and some practical conventions will shake out
if this turns into a real discussion topic.

I'd just keep things as modules and keep versions all locked together
until it no longer makes sense to do so, then split specific modules
off into their own top level project.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Re: another eclipse multi module vs. flat question

2012-04-20 Thread Wayne Fay
> But what decides that foo_webapp and cmd_line belong here, just their
> dependency on lib_a and the desire to share pom config & version them
> together?  For example, should a few new applications, also dependent on
> lib_a should live here?  When does it end?   Or perhaps if "lib_a" is
> expected to be widely reusable it should live outside the
> multi-module...or

This isn't really a Maven question. Instead you're asking about
general Software Engineering and Architecture, and you happen to be
using Maven as your build tool. If you were using Ant or make, would
your questions be any different?

I'm not aware of any guidelines published by Maven that will help you
decide when to make something a submodule of a project vs its own
top-level project. It is an interesting topic so maybe this thread
will prove useful to you and some practical conventions will shake out
if this turns into a real discussion topic.

I'd just keep things as modules and keep versions all locked together
until it no longer makes sense to do so, then split specific modules
off into their own top level project.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



another eclipse multi module vs. flat question

2012-04-20 Thread Tim Dugan
I'm new to maven and very much used to the "application per eclipse project, 
and common library per eclipse project".  

I know "multi module vs. flat"  has been discussed multiple times on this list, 
but I've not seen general "pros/cons, rules of thumb, etc."  of when an 
application should be part of a multi-module vs. split out to another eclipse 
project.  

I'm going under the assumption in the "maven way" it's OK to have multiple 
applications living as part of a multi-module, for example foo_webapp and 
cmd_line_client both dependant on lib_a

MyMultiModuleProject
->lib_a
->foo_webapp
->cmd_line_client

But what decides that foo_webapp and cmd_line belong here, just their 
dependency on lib_a and the desire to share pom config & version them together? 
 For example, should a few new applications, also dependent on lib_a should 
live here?  When does it end?   Or perhaps if "lib_a" is expected to be widely 
reusable it should live outside the multi-module...or

Any links to references greatly appreciated...

Thanks for your input!
Tim




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Compilation failure: interface com.ibm.websphere.sibx.smobo.ServiceMessageObject

2012-04-20 Thread John Patrick
Create a new eclipse/netbeans project, add all jar's under the
websphere installation.

Search for that interface and/or look at the inheritance tree to see
which object contains that methord.

Blunt approach but usually works for classes/jar that are not in a
maven repository.

Once you find the jar, add it using mvn install:install-file. Then
you'll probably need to repeat a few times whilst other compile issues
are fixed. Remember to add as scope provided as I'll expect they will
be on the classpath by default when deployed to WebSphere.

I usually create a 3rd-party-libraries pom so it's easier to install,
cross os and not a manual process.
[..]
   
  
 
org.apache.maven.plugins
maven-install-plugin
2.3.1
false

   
  install:groupId:artifactId:version
  validate
  
 install-file
  
  
 ${project.basedir}/artifact
 xxx
 xxx
 xxx
 jar
 true
 true|false
 ${project.basedir}/pom
  
   
[...]

John

On 20 April 2012 16:51, hujirong  wrote:
> I am having a hard time to locate the class implement this .getRootObject()
> method. It's not in this interface
> com.ibm.websphere.sibx.smobo.ServiceMessageObject.
>
> Anyone has any idea?
>
> Jirong
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Compilation-failure-interface-com-ibm-websphere-sibx-smobo-ServiceMessageObject-tp5652928p5654598.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release:prepare maven-scm-provider-javasvn fails with SVN 1.7.3 Subversion Server

2012-04-20 Thread Olivier Lamy
Hi,


2012/4/20 Karl Heinz Marbaise :
> Hi,
>>
>>
>> svnkit 1.7.4 is available here:
>> http://maven.tmatesoft.com/content/repositories/releases
>
> Yeah i know that svnkit is available from tmatesoft...
>
> But the problem is that only by an update of an SVN Server from 1.6.17 to
> 1.7.3 the tagging during the release does not work anymore which i can't
> understand, cause the protocol which is used to speak to the server is the
> same...
> The important part is the following:

Did you try last SNAPSHOT of svnjava provider ? I made some changes for svn 1.7.
See http://code.google.com/a/apache-extras.org/p/maven-scm-provider-svnjava/

>
>>> scm:svn:http://server:port/svn/repo/Project/path/trunk
>>>
>>> The url which is shown during the failure of the tagging looks like the
>>> following:
>>>
>>> /Project/path/trunk/Project/path/trunk
>>>
>
> Kind regards
> Karl Heinz Marbaise
> --
> SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
> Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
> Hauptstrasse 177                         USt.IdNr: DE191347579
> 52146 Würselen                           http://www.soebes.de



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Compilation failure: interface com.ibm.websphere.sibx.smobo.ServiceMessageObject

2012-04-20 Thread hujirong
I am having a hard time to locate the class implement this .getRootObject()
method. It's not in this interface
com.ibm.websphere.sibx.smobo.ServiceMessageObject.

Anyone has any idea?

Jirong

--
View this message in context: 
http://maven.40175.n5.nabble.com/Compilation-failure-interface-com-ibm-websphere-sibx-smobo-ServiceMessageObject-tp5652928p5654598.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: unavailable repos - what to do?

2012-04-20 Thread Agata Chrobak
hi!

i already resolved my problem.. i just changed maven3 to maven2 and
now everything is working

W dniu 20 kwietnia 2012 15:25 użytkownik Ron Wheeler
 napisał:
> What are you trying to do?
>
> What repo software are you running?
>
> Ron
>
>
> On 20/04/2012 3:08 AM, Agata Chrobak wrote:
>>
>> hi!
>>
>> i started work with maven like month ago, but still don't get it
>> sometimes..:/
>>
>> i have the following problem: i need to download repos form:
>>
>>
>> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>>
>> but it seems to unavailable - what to do in such a case? please help!
>> i really need it today morning..
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: rwhee...@artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: unavailable repos - what to do?

2012-04-20 Thread Ron Wheeler

What are you trying to do?

What repo software are you running?

Ron

On 20/04/2012 3:08 AM, Agata Chrobak wrote:

hi!

i started work with maven like month ago, but still don't get it sometimes..:/

i have the following problem: i need to download repos form:

http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml

but it seems to unavailable - what to do in such a case? please help!
i really need it today morning..

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Re: unavailable repos - what to do?

2012-04-20 Thread Agata Chrobak
no it isn't:/

W dniu 20 kwietnia 2012 11:49 użytkownik martin.eisengardt
 napisał:
> Is the repository part of your pom.xml or your settings? Then try to
> comment it as long as it does not work.
>
> 2012/4/20 Agata Chrobak 
>
>> i changed it, butstill does not work
>>
>> W dniu 20 kwietnia 2012 10:49 użytkownik martin.eisengardt
>>  napisał:
>> > Check the group id in the install-file command.
>> > It should be the standard commons-httpclient so the group should be
>> called
>> > "commons-httpclient" too.
>> >
>> > 2012/4/20 Agata Chrobak 
>> >
>> >> W dniu 20 kwietnia 2012 09:26 użytkownik martin.eisengardt
>> >>  napisał:
>> >> > This one should be available in official maven repository (maven
>> >> central):
>> >> >
>> http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient
>> >>
>> >> thanks for quick replay
>> >> ok, so i downloaded it from this location and put
>> >>
>> >> mvn install:install-file -Dfile=commons-httpclient-3.1.jar
>> >> -Dversion=3.1 -Dpackaging=jar -DgroupId=com.cedarsoft.maven
>> >> -DartifactId=commons-httpclient
>> >>
>> >> and i got the success, but when i want to do mvn install maven still
>> >> looking for this site
>> >>
>> >>
>> >>
>> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>> >>
>> >> what wrong i did?
>> >>
>> >> >
>> >> > Generally spoken: If a maven repository is not available you cannot do
>> >> > anything.
>> >> > As long as you do not host a mirror or have downloaded it on any
>> computer
>> >> > the dependency will not be available.
>> >> i get it..
>> >> >
>> >> > For workarounds you should look if the dependency is available from
>> >> another
>> >> > location. If the project is available as download from elsewhere you
>> can
>> >> > choose to manually install it (see mvn install:install-file goal).
>> >> >
>> >> >
>> >> > On Fri, Apr 20, 2012 at 9:08 AM, Agata Chrobak 
>> >> wrote:
>> >> >
>> >> >> hi!
>> >> >>
>> >> >> i started work with maven like month ago, but still don't get it
>> >> >> sometimes..:/
>> >> >>
>> >> >> i have the following problem: i need to download repos form:
>> >> >>
>> >> >>
>> >> >>
>> >>
>> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>> >> >>
>> >> >> but it seems to unavailable - what to do in such a case? please help!
>> >> >> i really need it today morning..
>> >> >>
>> >> >> -
>> >> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> >> >> For additional commands, e-mail: users-h...@maven.apache.org
>> >> >>
>> >> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> >> For additional commands, e-mail: users-h...@maven.apache.org
>> >>
>> >>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: unavailable repos - what to do?

2012-04-20 Thread martin.eisengardt
Is the repository part of your pom.xml or your settings? Then try to
comment it as long as it does not work.

2012/4/20 Agata Chrobak 

> i changed it, butstill does not work
>
> W dniu 20 kwietnia 2012 10:49 użytkownik martin.eisengardt
>  napisał:
> > Check the group id in the install-file command.
> > It should be the standard commons-httpclient so the group should be
> called
> > "commons-httpclient" too.
> >
> > 2012/4/20 Agata Chrobak 
> >
> >> W dniu 20 kwietnia 2012 09:26 użytkownik martin.eisengardt
> >>  napisał:
> >> > This one should be available in official maven repository (maven
> >> central):
> >> >
> http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient
> >>
> >> thanks for quick replay
> >> ok, so i downloaded it from this location and put
> >>
> >> mvn install:install-file -Dfile=commons-httpclient-3.1.jar
> >> -Dversion=3.1 -Dpackaging=jar -DgroupId=com.cedarsoft.maven
> >> -DartifactId=commons-httpclient
> >>
> >> and i got the success, but when i want to do mvn install maven still
> >> looking for this site
> >>
> >>
> >>
> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
> >>
> >> what wrong i did?
> >>
> >> >
> >> > Generally spoken: If a maven repository is not available you cannot do
> >> > anything.
> >> > As long as you do not host a mirror or have downloaded it on any
> computer
> >> > the dependency will not be available.
> >> i get it..
> >> >
> >> > For workarounds you should look if the dependency is available from
> >> another
> >> > location. If the project is available as download from elsewhere you
> can
> >> > choose to manually install it (see mvn install:install-file goal).
> >> >
> >> >
> >> > On Fri, Apr 20, 2012 at 9:08 AM, Agata Chrobak 
> >> wrote:
> >> >
> >> >> hi!
> >> >>
> >> >> i started work with maven like month ago, but still don't get it
> >> >> sometimes..:/
> >> >>
> >> >> i have the following problem: i need to download repos form:
> >> >>
> >> >>
> >> >>
> >>
> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
> >> >>
> >> >> but it seems to unavailable - what to do in such a case? please help!
> >> >> i really need it today morning..
> >> >>
> >> >> -
> >> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> >> For additional commands, e-mail: users-h...@maven.apache.org
> >> >>
> >> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: unavailable repos - what to do?

2012-04-20 Thread Agata Chrobak
i changed it, butstill does not work

W dniu 20 kwietnia 2012 10:49 użytkownik martin.eisengardt
 napisał:
> Check the group id in the install-file command.
> It should be the standard commons-httpclient so the group should be called
> "commons-httpclient" too.
>
> 2012/4/20 Agata Chrobak 
>
>> W dniu 20 kwietnia 2012 09:26 użytkownik martin.eisengardt
>>  napisał:
>> > This one should be available in official maven repository (maven
>> central):
>> > http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient
>>
>> thanks for quick replay
>> ok, so i downloaded it from this location and put
>>
>> mvn install:install-file -Dfile=commons-httpclient-3.1.jar
>> -Dversion=3.1 -Dpackaging=jar -DgroupId=com.cedarsoft.maven
>> -DartifactId=commons-httpclient
>>
>> and i got the success, but when i want to do mvn install maven still
>> looking for this site
>>
>>
>> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>>
>> what wrong i did?
>>
>> >
>> > Generally spoken: If a maven repository is not available you cannot do
>> > anything.
>> > As long as you do not host a mirror or have downloaded it on any computer
>> > the dependency will not be available.
>> i get it..
>> >
>> > For workarounds you should look if the dependency is available from
>> another
>> > location. If the project is available as download from elsewhere you can
>> > choose to manually install it (see mvn install:install-file goal).
>> >
>> >
>> > On Fri, Apr 20, 2012 at 9:08 AM, Agata Chrobak 
>> wrote:
>> >
>> >> hi!
>> >>
>> >> i started work with maven like month ago, but still don't get it
>> >> sometimes..:/
>> >>
>> >> i have the following problem: i need to download repos form:
>> >>
>> >>
>> >>
>> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>> >>
>> >> but it seems to unavailable - what to do in such a case? please help!
>> >> i really need it today morning..
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> >> For additional commands, e-mail: users-h...@maven.apache.org
>> >>
>> >>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: unavailable repos - what to do?

2012-04-20 Thread martin.eisengardt
Check the group id in the install-file command.
It should be the standard commons-httpclient so the group should be called
"commons-httpclient" too.

2012/4/20 Agata Chrobak 

> W dniu 20 kwietnia 2012 09:26 użytkownik martin.eisengardt
>  napisał:
> > This one should be available in official maven repository (maven
> central):
> > http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient
>
> thanks for quick replay
> ok, so i downloaded it from this location and put
>
> mvn install:install-file -Dfile=commons-httpclient-3.1.jar
> -Dversion=3.1 -Dpackaging=jar -DgroupId=com.cedarsoft.maven
> -DartifactId=commons-httpclient
>
> and i got the success, but when i want to do mvn install maven still
> looking for this site
>
>
> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>
> what wrong i did?
>
> >
> > Generally spoken: If a maven repository is not available you cannot do
> > anything.
> > As long as you do not host a mirror or have downloaded it on any computer
> > the dependency will not be available.
> i get it..
> >
> > For workarounds you should look if the dependency is available from
> another
> > location. If the project is available as download from elsewhere you can
> > choose to manually install it (see mvn install:install-file goal).
> >
> >
> > On Fri, Apr 20, 2012 at 9:08 AM, Agata Chrobak 
> wrote:
> >
> >> hi!
> >>
> >> i started work with maven like month ago, but still don't get it
> >> sometimes..:/
> >>
> >> i have the following problem: i need to download repos form:
> >>
> >>
> >>
> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
> >>
> >> but it seems to unavailable - what to do in such a case? please help!
> >> i really need it today morning..
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: unavailable repos - what to do?

2012-04-20 Thread Agata Chrobak
W dniu 20 kwietnia 2012 09:26 użytkownik martin.eisengardt
 napisał:
> This one should be available in official maven repository (maven central):
> http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient

thanks for quick replay
ok, so i downloaded it from this location and put

mvn install:install-file -Dfile=commons-httpclient-3.1.jar
-Dversion=3.1 -Dpackaging=jar -DgroupId=com.cedarsoft.maven
-DartifactId=commons-httpclient

and i got the success, but when i want to do mvn install maven still
looking for this site

 
http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml

what wrong i did?

>
> Generally spoken: If a maven repository is not available you cannot do
> anything.
> As long as you do not host a mirror or have downloaded it on any computer
> the dependency will not be available.
i get it..
>
> For workarounds you should look if the dependency is available from another
> location. If the project is available as download from elsewhere you can
> choose to manually install it (see mvn install:install-file goal).
>
>
> On Fri, Apr 20, 2012 at 9:08 AM, Agata Chrobak  wrote:
>
>> hi!
>>
>> i started work with maven like month ago, but still don't get it
>> sometimes..:/
>>
>> i have the following problem: i need to download repos form:
>>
>>
>> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>>
>> but it seems to unavailable - what to do in such a case? please help!
>> i really need it today morning..
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: unavailable repos - what to do?

2012-04-20 Thread martin.eisengardt
This one should be available in official maven repository (maven central):
http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient

Generally spoken: If a maven repository is not available you cannot do
anything.
As long as you do not host a mirror or have downloaded it on any computer
the dependency will not be available.

For workarounds you should look if the dependency is available from another
location. If the project is available as download from elsewhere you can
choose to manually install it (see mvn install:install-file goal).


On Fri, Apr 20, 2012 at 9:08 AM, Agata Chrobak  wrote:

> hi!
>
> i started work with maven like month ago, but still don't get it
> sometimes..:/
>
> i have the following problem: i need to download repos form:
>
>
> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml
>
> but it seems to unavailable - what to do in such a case? please help!
> i really need it today morning..
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


unavailable repos - what to do?

2012-04-20 Thread Agata Chrobak
hi!

i started work with maven like month ago, but still don't get it sometimes..:/

i have the following problem: i need to download repos form:

http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml

but it seems to unavailable - what to do in such a case? please help!
i really need it today morning..

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org