[ 
http://jira.codehaus.org/browse/MANTTASKS-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114175
 ] 

Werner Guttmann commented on MANTTASKS-86:
------------------------------------------

There you are:

{noformat}
Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: C:\workspace\MavenJiraIssue\build.xml
parsing buildfile C:\workspace\MavenJiraIssue\build.xml with URI = 
file:///C:/workspace/MavenJiraIssue/build.xml
Project base dir set to: C:\workspace\MavenJiraIssue
parsing buildfile 
jar:file:/D:/bin/maven-2.0.8/maven-ant-tasks-2.0.8-SNAPSHOT.jar!/org/apache/maven/artifact/ant/antlib.xml
 with URI = 
jar:file:/D:/bin/maven-2.0.8/maven-ant-tasks-2.0.8-SNAPSHOT.jar!/org/apache/maven/artifact/ant/antlib.xml
[artifact:dependencies] Maven Ant Tasks version: 2.0.8-SNAPSHOT
[artifact:dependencies] Loading Maven settings file: C:\Dokumente und 
Einstellungen\me\.m2\settings.xml
[artifact:dependencies] Using local repository: D:\dev\maven\repository
[artifact:dependencies] Resolving dependencies...
[artifact:dependencies] Using remote repositories:
- id=java.net.maven2.repository, 
url=https://maven2-repository.dev.java.net/nonav/repository, releases=enabled, 
snapshots=enabled
- id=maven2-repository.dev.java.net, url=http://download.java.net/maven/2, 
releases=enabled, snapshots=enabled
- id=central, url=http://repo1.maven.org/maven2, releases=enabled, 
snapshots=disabled
org.codehaus.castor:castor:jar:1.1.3-SNAPSHOT (selected)
javax.transaction:jta:jar:1.0.1B:compile (selected)
log4j:log4j:jar:1.2.13:compile (selected)
xerces:xerces:jar:1.4.0:compile (selected)
Build sequence for target(s) `test-pom-deps' is [test-pom-deps]
Complete build sequence is [test-pom-deps, ]
test-pom-deps:
     [copy] log4j\log4j\1.2.13\log4j-1.2.13.jar added as log4j-1.2.13.jar 
doesn't exist.
     [copy] xerces\xerces\1.4.0\xerces-1.4.0.jar added as xerces-1.4.0.jar 
doesn't exist.
     [copy] Copying 2 files to C:\workspace\MavenJiraIssue\newlib
     [copy] Copying 
D:\dev\maven\repository\xerces\xerces\1.4.0\xerces-1.4.0.jar to 
C:\workspace\MavenJiraIssue\newlib\xerces-1.4.0.jar
     [copy] Copying D:\dev\maven\repository\log4j\log4j\1.2.13\log4j-1.2.13.jar 
to C:\workspace\MavenJiraIssue\newlib\log4j-1.2.13.jar
BUILD SUCCESSFUL
Total time: 2 seconds
{noformat}

> Resolution of java.net dependencies
> -----------------------------------
>
>                 Key: MANTTASKS-86
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-86
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>            Reporter: Werner Guttmann
>         Attachments: build.bat, build.xml, pom.xml
>
>
> I am trying to use the Ant task for Maven with the root Maven POM for
> the Castor project for download the dependencies and place them into a
> lib directory.
> What I have observed is that there's a few dependencies missing when I
> run the corresponding Ant target. But if I use Maven for the build
> process, the missing JARs are downloaded as well and placed into my
> local repository.
> I have tried to define remoteRepository entries for the java.net and the
> Maven 2 java.net repositories (where e.g. java.transaction:jta:1.1.1B
> resides), but this does not make a difference.
> Any idea what I could try in addition ? Having said that, all other
> dependencies are resolved and copied without any problems. It looks like
> it's just the dependencies that are not synced globally that create a
> problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to