I successfully updated to 0.0.10 but now am having different issues.
Hopefully it is something easy to fix like a configuration setting.
I configured my local repository MAVEN_REPO environment variable to be:
C:\Documents and Settings\company_name\user_name\.m2\repository
I then added the log4j 1.2.8 jar to that dir
I then selected "add dependency" to define that as a required jar, and
got the following messages:
__________________________________________________
22/01/07 11:13:04: [INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in
your local
repository will be inaccessible.
22/01/07 11:13:04: [DEBUG] common_java:common_java:jar:0.0.1 (selected
for null)
22/01/07 11:13:04: [DEBUG] log4j:log4j:jar:1.2.8:compile (selected
for compile)
22/01/07 11:13:04: [DEBUG] System is offline.
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
log4j:log4j:jar:1.2.8
22/01/07 11:13:04: Missing:
1) log4j:log4j:jar:1.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
1 required artifact is missing.
for artifact:
common_java:common_java:jar:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
__________________________________________________
I also tried doing a "update source folders" cmd and got the following
messages:
(interestingly, the file plugin-registry.xml does not exist in that
directory)
__________________________________________________
22/01/07 11:18:49: [DEBUG] Building Maven user-level plugin registry
from: 'C:\Documents and
Settings\company_name\user_name\.m2\plugin-registry.xml'
22/01/07 11:18:49: [DEBUG] Building Maven user-level plugin registry
from: 'C:\Documents and
Settings\company_name\user_name\.m2\plugin-registry.xml'
22/01/07 11:18:49: Reading /common_java/pom.xml
22/01/07 11:18:49: Generating sources /common_java/pom.xml
22/01/07 11:18:49: [INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in
your local
repository will be inaccessible.
22/01/07 11:18:49: [INFO] Scanning for projects...
22/01/07 11:18:49: [INFO]
----------------------------------------------------------------------------
22/01/07 11:18:49: [INFO] Building Unnamed -
common_java:common_java:jar:0.0.1
22/01/07 11:18:49: [INFO] task-segment: [process-test-resources]
22/01/07 11:18:49: [INFO]
----------------------------------------------------------------------------
22/01/07 11:18:49: [DEBUG] maven-resources-plugin: resolved to version
2.2 from repository central
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-resources-plugin:maven-plugin:2.2 from the repository.
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven-parent::1 for project:
org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM: org.apache:apache::1
for project: org.apache.maven:maven-parent:pom:1 from the repository.
22/01/07 11:18:49: [DEBUG] maven-compiler-plugin: resolved to version
2.0.1 from repository central
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-compiler-plugin:maven-plugin:2.0.1 from the repository.
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven-parent::1 for project:
org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM: org.apache:apache::1
for project: org.apache.maven:maven-parent:pom:1 from the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
(selected for runtime)
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-model:jar:2.0 from the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
22/01/07 11:18:49: [DEBUG]
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for
runtime)
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven::2.0 for project: null:maven-project:jar:2.0 from
the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven::2.0 for project: null:maven-profile:jar:2.0 from
the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
22/01/07 11:18:49: [DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
22/01/07 11:18:49: [DEBUG] junit:junit:jar:3.8.1:runtime
(selected for runtime)
22/01/07 11:18:49: [DEBUG]
classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for
runtime)
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for
runtime)
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-artifact:jar:2.0 from the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
22/01/07 11:18:49: [DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
22/01/07 11:18:49: [DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
22/01/07 11:18:49: [DEBUG] junit:junit:jar:3.8.1:runtime
(selected for runtime)
22/01/07 11:18:49: [DEBUG]
classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
22/01/07 11:18:49: [DEBUG] Retrieving parent-POM:
org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
22/01/07 11:18:49: [DEBUG]
org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for
runtime)
22/01/07 11:18:49: [DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
22/01/07 11:18:49: [DEBUG] (f) filters = []
22/01/07 11:18:49: [DEBUG] (f) outputDirectory =
C:\projects\common_java\target\classes
22/01/07 11:18:49: [DEBUG] (f) project =
[EMAIL PROTECTED]
22/01/07 11:18:49: [DEBUG] (f) resources =
[EMAIL PROTECTED]
22/01/07 11:18:49: [DEBUG] -- end configuration --
22/01/07 11:18:49: resources:resources
22/01/07 11:18:49: [INFO] Using default encoding to copy filtered
resources.
22/01/07 11:18:49: [DEBUG] common_java:common_java:jar:0.0.1 (selected
for null)
22/01/07 11:18:49: [DEBUG] Artifact not found - using stub model:
System is offline.
log4j:log4j:pom:1.2.8
22/01/07 11:18:49: [DEBUG] Using defaults for missing POM
log4j:log4j:pom:1.2.8:compile
22/01/07 11:18:49: [DEBUG] log4j:log4j:jar:1.2.8:compile (selected
for compile)
22/01/07 11:18:49: [DEBUG] System is offline.
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
log4j:log4j:jar:1.2.8
22/01/07 11:18:49: ERROR project-execute :
common_java:common_java:jar:0.0.1 ( task-segment:
[process-test-resources] ) : Missing:
----------
1) log4j:log4j:jar:1.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
----------
1 required artifact is missing.
for artifact:
common_java:common_java:jar:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
22/01/07 11:18:49: ERROR reactor-execute : C:\projects\common_java :
Missing:
----------
1) log4j:log4j:jar:1.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
----------
1 required artifact is missing.
for artifact:
common_java:common_java:jar:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
22/01/07 11:18:49: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:49: [ERROR] BUILD ERROR
22/01/07 11:18:49: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:49: [INFO] Failed to resolve artifact.
Missing:
----------
1) log4j:log4j:jar:1.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
----------
1 required artifact is missing.
for artifact:
common_java:common_java:jar:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
NOTE: Maven is executing in offline mode. Any artifacts not already in
your local
repository will be inaccessible.
22/01/07 11:18:49: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:49: [DEBUG] Trace Missing:
----------
1) log4j:log4j:jar:1.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
----------
1 required artifact is missing.
for artifact:
common_java:common_java:jar:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
22/01/07 11:18:49: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:49: [INFO] Total time: < 1 second
22/01/07 11:18:49: [INFO] Finished at: Mon Jan 22 11:18:49 NZDT 2007
22/01/07 11:18:50: [INFO] Final Memory: 72M/144M
22/01/07 11:18:50: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:50: [INFO] Error for project: Unnamed -
common_java:common_java:jar:0.0.1 (during process-test-resources)
22/01/07 11:18:50: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:50: [INFO] Failed to resolve artifact.
Missing:
----------
1) log4j:log4j:jar:1.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
----------
1 required artifact is missing.
for artifact:
common_java:common_java:jar:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
NOTE: Maven is executing in offline mode. Any artifacts not already in
your local
repository will be inaccessible.
22/01/07 11:18:50: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:50: [DEBUG] Trace Missing:
----------
1) log4j:log4j:jar:1.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=log4j -DartifactId=log4j \
-Dversion=1.2.8 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) common_java:common_java:jar:0.0.1
2) log4j:log4j:jar:1.2.8
----------
1 required artifact is missing.
for artifact:
common_java:common_java:jar:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
22/01/07 11:18:50: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:50: ERROR reactor-execute : C:\projects\common_java
22/01/07 11:18:50: [INFO] BUILD ERRORS
22/01/07 11:18:50: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:50: [INFO] Total time: 1 second
22/01/07 11:18:50: [INFO] Finished at: Mon Jan 22 11:18:50 NZDT 2007
22/01/07 11:18:51: [INFO] Final Memory: 73M/144M
22/01/07 11:18:51: [INFO]
------------------------------------------------------------------------
22/01/07 11:18:51: Build error for /common_java/pom.xml;
org.apache.maven.reactor.MavenExecutionException: Some builds failed
22/01/07 11:18:52: Updated source folders for project common_java 3sec