red5 Build hls-plugin and the example failure - java

I have tried to excute mvn -Dmaven.test.skip=true in hls-plugin and the example. But it failed to connect and I can't download red5-server-1.0.2.SNAPSHOT.jar.
Here is what I get when I run the mvn command :
D:\DataAsia\LivingData\red5-hls-plugin-master\example>mvn eclipse:eclipse
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.red5:hlsapp:war:1.1
[WARNING] 'dependencies.dependency.systemPath' for org.red5:hls-plugin:jar should not point at files within the project directory, ${basedir}/lib/hls-plugin-1.1.jar will be unresolvable by dependent projects # line 436, column 25
[WARNING] 'dependencies.dependency.systemPath' for org.red5:hls-plugin:jar refers to a non-existing file D:\DataAsia\LivingData\red5-hls-plugin-master\example\lib\hls-plugin-1.1.jar # line 436, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hlsapp 1.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.7:eclipse (default-cli) # hlsapp >>>
[INFO]
[INFO] <<< maven-eclipse-plugin:2.7:eclipse (default-cli) # hlsapp <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.7:eclipse (default-cli) # hlsapp ---
Downloading: http://xuggle.googlecode.com/svn/trunk/repo/share/java/org/red5/red5-server/1.0.2-SNAPSHOT/maven-metadata.xml
Downloading: http://red5.googlecode.com/svn/repository/org/red5/red5-server/1.0.2-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from/to Red5 (http://red5.googlecode.com/svn/repository): Connection to http://red5.googlecode.com refused
[WARNING] Could not transfer metadata org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from/to Xuggle (http://xuggle.googlecode.com/svn/trunk/repo/share/java/): Connection to http://xuggle.googlecode.com refused
Downloading: http://red5.googlecode.com/svn/repository/org/red5/red5-server/1.0.2-SNAPSHOT/red5-server-1.0.2-SNAPSHOT.pom
Downloading: http://xuggle.googlecode.com/svn/trunk/repo/share/java/org/red5/red5-server/1.0.2-SNAPSHOT/red5-server-1.0.2-SNAPSHOT.pom
[INFO] Using Eclipse Workspace: null
[WARNING] An error occurred during dependency resolution.
Failed to retrieve org.red5:hls-plugin-1.1
Caused by: System artifact: org.red5:hls-plugin:jar:1.1:system not found in path: D:\DataAsia\LivingData\red5-hls-plugin-master\example\lib\hls-plugin-1.1.jar
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.red5 -DartifactId=hls-plugin -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.red5 -DartifactId=hls-plugin -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.red5:hlsapp:war:1.1
2) org.red5:hls-plugin:jar:1.1
org.red5:hls-plugin:jar:1.1
[INFO] Unable to read jar manifest from D:\DataAsia\LivingData\red5-hls-plugin-master\example\lib\hls-plugin-1.1.jar
[INFO] Resource directory's path matches an existing source directory. Resources will be merged with the source directory src/main/java
[INFO] File D:\DataAsia\LivingData\red5-hls-plugin-master\example.project already exists.
Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed.
[INFO] Wrote Eclipse project for "hlsapp" to D:\DataAsia\LivingData\red5-hls-plugin-master\example.
[INFO]
Javadoc for some artifacts is not available.
Please run the same goal with the -DdownloadJavadocs=true parameter in order to check remote repositories for javadoc.
List of artifacts without a javadoc archive:
o ch.qos.logback:logback-classic:1.0.13
o ch.qos.logback:logback-core:1.0.13
o org.slf4j:slf4j-api:1.7.5
o javax.servlet:servlet-api:2.5
o junit:junit:4.10
o org.hamcrest:hamcrest-core:1.1
o net.sourceforge.groboutils:groboutils-core:5
o org.apache.mina:mina-core:2.0.7
o org.apache.mina:mina-integration-beans:2.0.7
o org.apache.mina:mina-integration-jmx:2.0.7
o ognl:ognl:3.0.5
o javassist:javassist:3.11.0.GA
o org.slf4j:jcl-over-slf4j:1.7.5
o org.slf4j:jul-to-slf4j:1.7.5
o org.slf4j:log4j-over-slf4j:1.7.5
o org.springframework:spring-aop:3.1.4.RELEASE
o aopalliance:aopalliance:1.0
o org.springframework:spring-asm:3.1.4.RELEASE
o org.springframework:spring-beans:3.1.4.RELEASE
o org.springframework:spring-core:3.1.4.RELEASE
o org.springframework:spring-context:3.1.4.RELEASE
o org.springframework:spring-expression:3.1.4.RELEASE
o org.springframework:spring-context-support:3.1.4.RELEASE
o org.springframework:spring-test:3.1.4.RELEASE
o org.springframework:spring-web:3.1.4.RELEASE
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:08.655s
[INFO] Finished at: Tue Jun 28 16:24:37 CST 2016
[INFO] Final Memory: 9M/122M
[INFO] ------------------------------------------------------------------------
D:\DataAsia\LivingData\red5-hls-plugin-master\example>mvn -Dmaven.test.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.red5:hlsapp:war:1.1
[WARNING] 'dependencies.dependency.systemPath' for org.red5:hls-plugin:jar should not point at files within the project directory, ${basedir}/lib/hls-plugin-1.1.jar will be unresolvable by dependent projects # line 436, column 25
[WARNING] 'dependencies.dependency.systemPath' for org.red5:hls-plugin:jar refers to a non-existing file D:\DataAsia\LivingData\red5-hls-plugin-master\example\lib\hls-plugin-1.1.jar # line 436, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hlsapp 1.1
[INFO] ------------------------------------------------------------------------
Downloading: http://xuggle.googlecode.com/svn/trunk/repo/share/java/org/red5/red5-server/1.0.2-SNAPSHOT/maven-metadata.xml
Downloading: http://red5.googlecode.com/svn/repository/org/red5/red5-server/1.0.2-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from/to Red5 (http://red5.googlecode.com/svn/repository): Connection to http://red5.googlecode.com refused
[WARNING] Could not transfer metadata org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from/to Xuggle (http://xuggle.googlecode.com/svn/trunk/repo/share/java/): Connection to http://xuggle.googlecode.com refused
[WARNING] Failure to transfer org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from http://red5.googlecode.com/svn/repository was cached in the local repository, resolution will not be reattempted until the update interval of Red5 has elapsed or updates are forced. Original error: Could not transfer metadata org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from/to Red5 (http://red5.googlecode.com/svn/repository): Connection to http://red5.googlecode.com refused
[WARNING] Failure to transfer org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from http://xuggle.googlecode.com/svn/trunk/repo/share/java/ was cached in the local repository, resolution will not be reattempted until the update interval of Xuggle has elapsed or updates are forced. Original error: Could not transfer metadata org.red5:red5-server:1.0.2-SNAPSHOT/maven-metadata.xml from/to Xuggle (http://xuggle.googlecode.com/svn/trunk/repo/share/java/): Connection to http://xuggle.googlecode.com refused
Downloading: http://red5.googlecode.com/svn/repository/org/red5/red5-server/1.0.2-SNAPSHOT/red5-server-1.0.2-SNAPSHOT.pom
Downloading: http://xuggle.googlecode.com/svn/trunk/repo/share/java/org/red5/red5-server/1.0.2-SNAPSHOT/red5-server-1.0.2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:04.798s
[INFO] Finished at: Tue Jun 28 16:26:08 CST 2016
[INFO] Final Memory: 10M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hlsapp: Could not resolve dependencies for project org.red5:hlsapp:war:1.1: Failed to collect dependencies at org.red5:red5-server:jar:1.0.2-SNAPSHOT: Failed to read artifact descriptor for org.red5:red5-server:jar:1.0.2-SNAPSHOT: Could not transfer artifact org.red5:red5-server:pom:1.0.2-SNAPSHOT from/to Red5 (http://red5.googlecode.com/svn/repository): Connection to http://red5.googlecode.com refused: Connection timed out: connect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
D:\DataAsia\LivingData\red5-hls-plugin-master\example>

Related

error with :maven-clean-plugin:2.5 or one of its dependencies could not be resolved

Trying to run a program with maven and keep getting this error any ideas on how to fix? ps- I'm a complete newbie with maven/tomcat/springframework etc
ebitnami#ubuntu:~$ cd OpenESPI-Common-java/
bitnami#ubuntu:~/OpenESPI-Common-java$ mvn -Dmaven.test.skip=true clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Common 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-
plugin/2.5/maven-clean-plugin-2.5.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.809s
[INFO] Finished at: Wed Jun 17 16:21:44 EDT 2020
[INFO] Final Memory: 6M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not
be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-
plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5
from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file:
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-
plugin-2.5.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Unable to download jersey-quickstart-webapp from maven

I am trying download a jersey-quickstart-webapp using maven. I am unable to figure out what is wrong with my command below.
mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeVersion=2.2
The errors I get are below: what am I doing wrong here?
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] >>> maven-archetype-plugin:3.0.0:generate (default-cli) > generate-sources # standalone-pom
[INFO] Generating project in Interactive mode
[WARNING] No archetype found in remote catalog. Defaulting to internal catalog
[WARNING] Archetype not found in any catalog. Falling back to central repository
(http://repo.maven.apache.org/maven2).
[WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.
Downloading: http://repo.maven.apache.org/maven2/org/glassfish/jersey/archetypes/jersey-quickstart-webapp/2.2/jersey-quickstart-webapp-2.2.pom
Downloading: https://repo.maven.apache.org/maven2/org/glassfish/jersey/archetypes/jersey-quickstart-webapp/2.2/jersey-quickstart-webapp-2.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.330 s
[INFO] Finished at: 2017-03-29T20:46:00+05:30
[INFO] Final Memory: 14M/139M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.0:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.glassfish.jersey.archetypes:jersey-quickstart-webapp:2.2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
The version you have specified is wrong(NOT 2.2 its 2.25.1). Try to run this:
mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeVersion=2.25.1
The issue was not with the command but the settings.xml.
I had to add my local artifactory setton

Weblogic Maven Deploy with Luna eclipse

I am using weblogic 12.1.1.0 . I want to deploy my project to weblogic server with maven plugin.
But when I build my project, I get this error
[INFO] Scanning for projects...
[WARNING] The POM for com.oracle.weblogic:wls-maven-plugin:jar:12.1.1.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for com.oracle.weblogic:wls-maven-plugin:12.1.1.0: Plugin com.oracle.weblogic:wls-maven-plugin:12.1.1.0 or one of its dependencies could not be resolved: Failure to find com.oracle.weblogic:wls-maven-plugin:jar:12.1.1.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test1 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.oracle.weblogic:wls-maven-plugin:jar:12.1.1.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for com.oracle.weblogic:wls-maven-plugin:12.1.1.0: Plugin com.oracle.weblogic:wls-maven-plugin:12.1.1.0 or one of its dependencies could not be resolved: Failure to find com.oracle.weblogic:wls-maven-plugin:jar:12.1.1.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
[INFO]
[INFO] --- weblogic-maven-plugin:2.9.5:deploy (default-cli) # test1 ---
[WARNING] The POM for weblogic:weblogic:jar:10.3.6 is missing, no dependency information available
[WARNING] The POM for weblogic:webservices:jar:10.3.6 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.533 s
[INFO] Finished at: 2015-01-27T08:38:04+03:30
[INFO] Final Memory: 7M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:weblogic-maven-plugin:2.9.5:deploy (default-cli) on project test1: Execution default-cli of goal org.codehaus.mojo:weblogic-maven-plugin:2.9.5:deploy failed: Plugin org.codehaus.mojo:weblogic-maven-plugin:2.9.5 or one of its dependencies could not be resolved: The following artifacts could not be resolved: weblogic:weblogic:jar:10.3.6, weblogic:webservices:jar:10.3.6: Failure to find weblogic:weblogic:jar:10.3.6 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
and this is my pom.xml
<properties>
<weblogic.adminurl>t3://localhost:7001</weblogic.adminurl>
<weblogic.user>weblogic</weblogic.user>
<weblogic.password>12345678</weblogic.password>
<weblogic.remote>false</weblogic.remote>
</properties>
<build>
<plugins>
<!-- WebLogic Server 12c Maven Plugin -->
<plugin>
<groupId>com.oracle.weblogic</groupId>
<artifactId>wls-maven-plugin</artifactId>
<version>12.1.1.0</version>
<configuration>
<adminurl>${weblogic.adminurl}</adminurl>
<user>${weblogic.user}</user>
<password>${weblogic.password}</password>
<source>../test1/target/test1-0.0.1-SNAPSHOT.war</source>
<name>test1</name>
</configuration>
</plugin>
</plugins>
</build>
i added two jar file in project wlfullclient.jar and webservices.jar
Have you run the setup procedures for Oracle's weblogic plugin? The plugin has dependencies that are not in public repositories, they are part of the wls12 installation and must be installed into Maven
http://docs.oracle.com/middleware/1212/wls/WLPRG/maven.htm#CHEIHIEH

creating new project in java with maven

I wanna create a java project with maven, when I type this command in cmd instead of creating a project it gives some error, I guess it is because of some internet problems but I don't know how to solve it. I don't use any proxy and I've tried this command even when my pc's firewall was turned off.
the command I write in cmd is:
mvn archetype:generate -DgroupId=com.companyname.bank -DartifactId=consumerBanking -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
the rezult is:
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4
.
.
.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.167 s
[INFO] Finished at: 2012-05-18T21:09:38-07:00
[INFO] Final Memory: 3M/254M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\a\.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
You're posting this in 2014, but the log says:
[INFO] Finished at: 2012-05-18T21:09:38-07:00
If your local clock is wrong, SSL won't work because the certificate will appear to be invalid, and your connection to https://repo.maven.apache.org/ will fail.
Fix your clock.

Missing artifact in attempted build using Maven

I'm trying to build a project in Eclipse with Maven. However I get the error
Missing artifact net.sf.doodleproject:numerics4j:jar:1.3
Running
mvn install
I got
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - tahrirproject:tahrir:jar:0.0.1-SNAPSHOT
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
Downloading: http://repo2.maven.org/maven2/net/sf/doodleproject/numerics4j/1.3/numerics4j-1.3.pom
[INFO] Unable to find resource 'net.sf.doodleproject:numerics4j:pom:1.3' in repository repo2_maven_org (http://repo2.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/net/sf/doodleproject/numerics4j/1.3/numerics4j-1.3.pom
[INFO] Unable to find resource 'net.sf.doodleproject:numerics4j:pom:1.3' in repository central (http://repo1.maven.org/maven2)
[WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom
[WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom
[WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom
Downloading: http://repo2.maven.org/maven2/net/sf/doodleproject/numerics4j/1.3/numerics4j-1.3.jar
[INFO] Unable to find resource 'net.sf.doodleproject:numerics4j:jar:1.3' in repository repo2_maven_org (http://repo2.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/net/sf/doodleproject/numerics4j/1.3/numerics4j-1.3.jar
[INFO] Unable to find resource 'net.sf.doodleproject:numerics4j:jar:1.3' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) net.sf.doodleproject:numerics4j:jar:1.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.sf.doodleproject -DartifactId=numerics4j -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.sf.doodleproject -DartifactId=numerics4j -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) tahrirproject:tahrir:jar:0.0.1-SNAPSHOT
2) net.sf.doodleproject:numerics4j:jar:1.3
----------
1 required artifact is missing.
for artifact:
tahrirproject:tahrir:jar:0.0.1-SNAPSHOT
from the specified remote repositories:
repo2_maven_org (http://repo2.maven.org/maven2),
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Mar 26 21:17:33 IST 2012
[INFO] Final Memory: 12M/105M
[INFO] ------------------------------------------------------------------------
So it seems like it's trying to download from a central repository even though it's specified in the pom.xml file.
pom.xml is here
Change pom section to:
<repositories>
<repository>
<id>doodleproject-repo</id>
<name>DoodleProject Maven 2 Repository</name>
<url>http://doodleproject.sourceforge.net/maven2/release</url>
</repository>
<repository>
<id>repo2_maven_org</id>
<url>http://repo2.maven.org/maven2</url>
</repository>
</repositories>

Categories

Resources