You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2005/06/24 14:31:52 UTC
[jira] Created: (MNG-518) InvalidArtifactRTException exception should be more precise
InvalidArtifactRTException exception should be more precise
-----------------------------------------------------------
Key: MNG-518
URL: http://jira.codehaus.org/browse/MNG-518
Project: Maven 2
Type: Improvement
Components: maven-core
Versions: 2.0-alpha-3
Reporter: Vincent Massol
Here's what I get:
org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}: The artifactI
d cannot be empty.
at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:97)
at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:85)
There are 2 problems with this:
1/ If the artifactId is not specified there's no point in writing null in {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}. I'd rather that the full location of the pom.xml file be specified
2/ It seems that the problem does not come from my plugin but rather from one of its dependency. It would be nice to know which one...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-518) InvalidArtifactRTException exception should be more precise
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-518?page=all ]
Brett Porter closed MNG-518:
----------------------------
Resolution: Fixed
can't do more with the exception as we don't know the context. However, validation was generally fixed so that it shouldn't be possible to encounter this exception any more.
> InvalidArtifactRTException exception should be more precise
> -----------------------------------------------------------
>
> Key: MNG-518
> URL: http://jira.codehaus.org/browse/MNG-518
> Project: Maven 2
> Type: Improvement
> Components: maven-core
> Versions: 2.0-alpha-3
> Reporter: Vincent Massol
> Assignee: Brett Porter
> Fix For: 2.0-beta-1
>
>
> Here's what I get:
> org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}: The artifactI
> d cannot be empty.
> at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:97)
> at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:85)
> There are 2 problems with this:
> 1/ If the artifactId is not specified there's no point in writing null in {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}. I'd rather that the full location of the pom.xml file be specified
> 2/ It seems that the problem does not come from my plugin but rather from one of its dependency. It would be nice to know which one...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-518) InvalidArtifactRTException exception should be more precise
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-518?page=comments#action_43253 ]
Brett Porter commented on MNG-518:
----------------------------------
to elaborate, I have cross checked all calls to artifact construction and within the core the code paths all go through the project builder and its validation routines.
> InvalidArtifactRTException exception should be more precise
> -----------------------------------------------------------
>
> Key: MNG-518
> URL: http://jira.codehaus.org/browse/MNG-518
> Project: Maven 2
> Type: Improvement
> Components: maven-core
> Versions: 2.0-alpha-3
> Reporter: Vincent Massol
> Assignee: Brett Porter
> Fix For: 2.0-beta-1
>
>
> Here's what I get:
> org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}: The artifactI
> d cannot be empty.
> at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:97)
> at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:85)
> There are 2 problems with this:
> 1/ If the artifactId is not specified there's no point in writing null in {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}. I'd rather that the full location of the pom.xml file be specified
> 2/ It seems that the problem does not come from my plugin but rather from one of its dependency. It would be nice to know which one...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-518) InvalidArtifactRTException exception should be more precise
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-518?page=all ]
Brett Porter updated MNG-518:
-----------------------------
Fix Version: 2.0-beta-1
> InvalidArtifactRTException exception should be more precise
> -----------------------------------------------------------
>
> Key: MNG-518
> URL: http://jira.codehaus.org/browse/MNG-518
> Project: Maven 2
> Type: Improvement
> Components: maven-core
> Versions: 2.0-alpha-3
> Reporter: Vincent Massol
> Fix For: 2.0-beta-1
>
>
> Here's what I get:
> org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}: The artifactI
> d cannot be empty.
> at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:97)
> at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:85)
> There are 2 problems with this:
> 1/ If the artifactId is not specified there's no point in writing null in {org.apache.maven.plugins:null:1.0-SNAPSHOT:jar}. I'd rather that the full location of the pom.xml file be specified
> 2/ It seems that the problem does not come from my plugin but rather from one of its dependency. It would be nice to know which one...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org